ambiot / ambd_arduino

AmebaD Arduino third-party package SDK
MIT License
81 stars 51 forks source link

Create example for the RGB LED on the BW16 #217

Closed designer2k2 closed 4 months ago

designer2k2 commented 4 months ago

Description of Change

Example on how to Blink and Fade the RGB LED on the BW16.

It is a simple sketch showing what can be done with the RGB LED.

Tests and Environments

Tested on a BW16-TypeC with Arduino IDE 2.3.0 in Windows 10.

designer2k2 commented 4 months ago

Hello @M-ichae-l , i added the check and it will give a error during compilation now.

But one thing, BOARD_AITHINKER_BW16 does not work for me, i have to use BOARD_RTL8720DN_BW16?

M-ichae-l commented 4 months ago

@designer2k2 For BW16 this the related marco https://github.com/ambiot/ambd_arduino/blob/e8df7125f9f0701eea4e57cb6fa07526cd1ced72/Arduino_package/hardware/boards.txt#L111

Refer to early release V3.1.7