Skip to main content

Working with Arduino

This chapter contains the following sections. Please read as needed:

Setting Up the Development Environment

Please refer to the Install and Configure Arduino IDE Tutorial to download and install the Arduino IDE.

Example

The Arduino examples are located in the examples\Arduino directory of the example package.

ExampleBasic Program DescriptionDependency Library
01_WS2812Onboard RGB LED example-

01_WS2812

Example Description

  • Uses GPIO16 to drive a WS2812B RGB LED via PIO, cycling through colors.

Hardware Connection

  • Connect the board to the computer using a USB cable.

Operation Result

  • After flashing, the WS2812B RGB LED continuously fades through red, green, and blue.