px-lib  0.9.3
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers
Basic GPIO example

This is a basic GPIO example for the Hero Board. It is the embedded equivalent of a "hello world" program on a PC to kick the tires and know that your development setup works.

The LED flashes at a slow 2 Hz while the 6/NO button is released and at a fast 8 Hz while the button is being pressed.

File(s):

The following modules are used: