blackmagic/examples/stm32/other/adc_temperature_sensor
Uwe Hermann ca53311bfc Use __asm__("nop") in the loop-based delays.
Since we recently switched from -O0 to -Os, an increase in the loop count
as well as the addition of __asm__("nop") is required (so that the loop
doesn't get optimized/removed).
The real fix is to add a proper timer-based delay function, of course.

Also, fix a bunch of cosmetic issues and typos.
2011-01-03 01:12:07 +01:00
..
2010-12-31 18:18:39 +01:00

------------------------------------------------------------------------------
README
------------------------------------------------------------------------------

This example program sends some characters on USART1.
Afterwards it read out the internal temperature sensor of the STM32 and 
sends the value read out from the ADC to the USART1.

The terminal settings for the receiving device/PC are 115200 8n1.