From 72f7b52cb0086c4c927818c86986ab35bae36452 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 6 Dec 2022 05:18:47 +0000 Subject: deploy: 80ce98bc650b949af4257b555dd50bad3f108826 --- group__led.html | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'group__led.html') diff --git a/group__led.html b/group__led.html index f6e560e3..2441cc2b 100644 --- a/group__led.html +++ b/group__led.html @@ -1,9 +1,9 @@ - + - + Sensor Watch: LED Control @@ -30,10 +30,10 @@ - + @@ -57,9 +57,16 @@ $(function() {
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
@@ -102,7 +109,7 @@ void watch_set_led_off

The SAM L22 is an exceedingly power efficient chip, whereas the LED's are relatively power- hungry. The green LED, at full power, consumes more power than the whole chip in active mode, and the red LED consumes about twelve times as much power! The LED's should thus be used only sparingly in order to preserve battery life.

Note
Some watches use a red/blue LED instead of a red/green LED. You will be able to determine this easily when you double tap the reset button: if the pulsing bootloader LED is red, you have a red/green edition; if it is blue, you have a red/blue edition. For red/blue watches, build your project with the command make LED=BLUE, and the watch library will automatically swap the pins so that watch_set_led_red sets the red LED, and watch_set_led_green sets the blue one.

Function Documentation

-

◆ watch_disable_leds()

+

◆ watch_disable_leds()

@@ -123,7 +130,7 @@ void watch_set_led_off
-

◆ watch_enable_leds()

+

◆ watch_enable_leds()

@@ -144,7 +151,7 @@ void watch_set_led_off
-

◆ watch_set_led_color()

+

◆ watch_set_led_color()

@@ -182,7 +189,7 @@ void watch_set_led_off
-

◆ watch_set_led_green()

+

◆ watch_set_led_green()

@@ -203,7 +210,7 @@ void watch_set_led_off
-

◆ watch_set_led_red()

+

◆ watch_set_led_red()

@@ -224,7 +231,7 @@ void watch_set_led_off
-

◆ watch_set_led_yellow()

+

◆ watch_set_led_yellow()

@@ -247,7 +254,7 @@ void watch_set_led_off
-- cgit v1.2.3