Manual

Table Of Contents
Arduino Kit Demo Description 3 AlarmLED Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
7
Set the pins to HIGH or LOW to control the three LED indicators.
Program 3.3 Set High/Low level
void loop() {
SmartKit_LedTurn(RED, ON);
delay(300);
SmartKit_LedTurn(RED, OFF);
SmartKit_LedTurn(GREEN, ON);
delay(300);
SmartKit_LedTurn(GREEN, OFF);
SmartKit_LedTurn(BLUE, ON);
delay(300);
SmartKit_LedTurn(BLUE, OFF);
}