STM notebook
    
        Page last updated  
29 Nov 2019, by 
  YASUNORI OKUTSU
  YASUNORI OKUTSU.
    
    
        
            
                
                    1 reply
                
            
        
    
    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:
Please log in to post comments.
    
 
    
check this for black pill https://os.mbed.com/users/hudakz/code/STM32F103C8T6_Hello/