Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 658 Bytes

analog_read.rst

File metadata and controls

35 lines (24 loc) · 658 Bytes

Analog Read

About

Read the value of an analog pin periodically once every second and print the read value to standard output.



Source code

The source code can also be found on Github in the examples/analog_read folder.

Build and run

Build and run the application.

$ cd examples/analog_read
$ make -s BOARD=<board> run
value = 234
value = 249
value = 230