8000 Add new function to flash the RGB LED light for X milliseconds · ameltech/sme-arduino-core@89e69d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89e69d9

Browse files
committed
Add new function to flash the RGB LED light for X milliseconds
1 parent 30f979e commit 89e69d9

File tree

1 file changed

+5
-0
lines changed
  • hardware/AMEL/samd/variants/AMEL_SmartEverything

1 file changed

+5
-0
lines changed

hardware/AMEL/samd/variants/AMEL_SmartEverything/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ void ledGreenLight(uint32_t value);
204204
void ledRedLight(uint32_t value);
205205
void ledBlueLight(uint32_t value);
206206

207+
/*
208+
Wrapper to flash the RGB Led light red or blue or green for X milliseconds
209+
*/
210+
void flashLed(uint32_t color, uint32_t time_in_ms);
211+
207212
/*
208213
Yellow Led wrapper function
209214
These functions has been created for a more comfortable use

0 commit comments

Comments
 (0)
0