[EXAMPLE:F0] Add simple ADC example

This commit is contained in:
Frantisek Burian
2013-12-14 19:18:22 +01:00
committed by Piotr Esden-Tempski
parent 4ae45b913d
commit c5d6480201
3 changed files with 166 additions and 0 deletions

View 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)