This section presents some simple examples that show how to use μPanel with an Danyboard Mo.

1. LED Blink

In this example Danyboard M0 will create a simple panel with a LED and it will blink it at 1 Hz.

Hardware

  • Danyboard M0

µPanel definition 

Using the Online Panel Simulator you can easily design and check the panel layout before loading it on Arduino IDE.
The panel definition is minimal, it contains only one LED with its label.

*15/L1G:0:Blinking;

Arduino Code