STM notebook

keyword: Serial, UART, debug

Serial pc(SERIAL_TX, SERIAL_RX);
pc.printf("AD %d\n",4096L*820/1023);
printf("AD %d\n",4096*((uint32_t)820)/1023);

 wait(1); // 1 second


1 comment on STM notebook:

30 Nov 2019

Please log in to post comments.