Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 508 Bytes

analog_write.rst

File metadata and controls

27 lines (18 loc) · 508 Bytes

Analog Write

About

Write analog values to an analog output pin to form a sawtooth wave. Connect a LED to the analog output pin and watch the brightness of the LED change.

Source code

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

Build and run

Build and upload the application.

$ cd examples/analog_write
$ make -s BOARD=<board> upload