[EXAMPLE:F0] Add simple ADC example
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
4ae45b913d
commit
c5d6480201
11
examples/stm32/f0/stm32f0-discovery/adc/README
Normal file
11
examples/stm32/f0/stm32f0-discovery/adc/README
Normal file
@@ -0,0 +1,11 @@
|
||||
------------------------------------------------------------------------------
|
||||
README
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
This is the smallest-possible example program using libopencm3.
|
||||
|
||||
It's intended for the ST STM32F0DISCOVERY eval board. It should read from the
|
||||
ADC_IN1 (PA1) pin its voltage and print it to the serial port on pin PA9 with
|
||||
parameters (38400,8,N,1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user