diff --git a/group__led.html b/group__led.html
index cbe25fa3..b4d70885 100644
--- a/group__led.html
+++ b/group__led.html
@@ -90,6 +90,9 @@ Functions
void | watch_set_led_color (uint8_t red, uint8_t green) |
| Sets the LED to a custom color by modulating each output's duty cycle.
|
|
+void | watch_set_led_color_rgb (uint8_t red, uint8_t green, uint8_t blue) |
+ | On boards with an RGB LED, sets the LED to a custom color by modulating each output's duty cycle.
|
+ |
void | watch_set_led_red (void) |
| Sets the red LED to full brightness, and turns the green LED off.
|
|
@@ -186,6 +189,51 @@ void watch_set_led_off
- Note
- If you are displaying a custom color, you will need to prevent your app from going to sleep while the LED is on; otherwise, the color will not display correctly. You can do this by returning false in your app_loop method.
+
+
+
+◆ watch_set_led_color_rgb()
+
+
+
+
+
+ void watch_set_led_color_rgb |
+ ( |
+ uint8_t |
+ red, |
+
+
+ |
+ |
+ uint8_t |
+ green, |
+
+
+ |
+ |
+ uint8_t |
+ blue |
+
+
+ |
+ ) |
+ | |
+
+
+
+
+ On boards with an RGB LED, sets the LED to a custom color by modulating each output's duty cycle.
+ - Parameters
-
+
+ red | The red value from 0-255. |
+ green | The green value from 0-255. |
+ blue | The blue value from 0-255. |
+
+
+
+ - Note
- If you are displaying a custom color, you will need to prevent your app from going to sleep while the LED is on; otherwise, the color will not display correctly. You can do this by returning false in your app_loop method.
+
diff --git a/search/all_f.js b/search/all_f.js
index fe2dd153..93bf4d21 100644
--- a/search/all_f.js
+++ b/search/all_f.js
@@ -83,38 +83,39 @@ var searchData=
['watch_5fset_5fcolon_80',['watch_set_colon',['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_private_display.c'],['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_private_display.c']]],
['watch_5fset_5findicator_81',['watch_set_indicator',['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_private_display.c'],['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_private_display.c']]],
['watch_5fset_5fled_5fcolor_82',['watch_set_led_color',['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fgreen_83',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_led.h']]],
- ['watch_5fset_5fled_5foff_84',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fred_85',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fyellow_86',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_led.h']]],
- ['watch_5fset_5fpin_5flevel_87',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_gpio.h']]],
- ['watch_5fset_5fpixel_88',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_slcd.h']]],
- ['watch_5fspi_5fread_89',['watch_spi_read',['../group__spi.html#ga20b320293d43a867233b5bedeeab07b3',1,'watch_spi.h']]],
- ['watch_5fspi_5ftransfer_90',['watch_spi_transfer',['../group__spi.html#ga350791f4a5eb66d0725cd418d1cd1087',1,'watch_spi.h']]],
- ['watch_5fspi_5fwrite_91',['watch_spi_write',['../group__spi.html#ga9e1b869726dc01834ac9a365b32ec492',1,'watch_spi.h']]],
- ['watch_5fstart_5fcharacter_5fblink_92',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_slcd.h']]],
- ['watch_5fstart_5ftick_5fanimation_93',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_slcd.h']]],
- ['watch_5fstop_5fblink_94',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_slcd.h']]],
- ['watch_5fstop_5ftick_5fanimation_95',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_slcd.h']]],
- ['watch_5fstorage_5ferase_96',['watch_storage_erase',['../group__storage.html#ga5e27f4d34bd3b602988af59c6068bd0c',1,'watch_storage.h']]],
- ['watch_5fstorage_5fread_97',['watch_storage_read',['../group__storage.html#gae11f49f5d9adee2ee89ec92c8026ca49',1,'watch_storage.h']]],
- ['watch_5fstorage_5fsync_98',['watch_storage_sync',['../group__storage.html#ga6531bfebac4e4f81fd37168fdaa98904',1,'watch_storage.h']]],
- ['watch_5fstorage_5fwrite_99',['watch_storage_write',['../group__storage.html#gad0fd4b333d95a0e50ac8e9a23620b861',1,'watch_storage.h']]],
- ['watch_5fstore_5fbackup_5fdata_100',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_deepsleep.h']]],
- ['watch_5ftick_5fanimation_5fis_5frunning_101',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_slcd.h']]],
- ['watch_5fuart_5fgetc_102',['watch_uart_getc',['../group__uart.html#ga0c400bfcd52bb71e8de62c5ab2373db6',1,'watch_uart.h']]],
- ['watch_5fuart_5fputs_103',['watch_uart_puts',['../group__uart.html#ga5d62683298c511f24adaab4bf6615c50',1,'watch_uart.h']]],
- ['watch_5futility_5fconvert_5fto_5f12_5fhour_104',['watch_utility_convert_to_12_hour',['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c'],['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c']]],
- ['watch_5futility_5fconvert_5fto_5funix_5ftime_105',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5fconvert_5fzone_106',['watch_utility_date_time_convert_zone',['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c'],['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_107',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_108',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdays_5fsince_5fnew_5fyear_109',['watch_utility_days_since_new_year',['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5fget_5fiso8601_5fweekday_5fnumber_110',['watch_utility_get_iso8601_weekday_number',['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5fget_5fweekday_111',['watch_utility_get_weekday',['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]],
- ['watch_5futility_5fget_5fweeknumber_112',['watch_utility_get_weeknumber',['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5foffset_5ftimestamp_113',['watch_utility_offset_timestamp',['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c'],['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c']]],
- ['watch_5futility_5fseconds_5fto_5fduration_114',['watch_utility_seconds_to_duration',['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c'],['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c']]],
- ['watch_5futility_5fthermistor_5ftemperature_115',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]],
- ['watchindicatorsegment_116',['watchindicatorsegment',['../group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2',1,'WatchIndicatorSegment: watch_slcd.h'],['../group__slcd.html#ga12f90dd93f63366e5a08f161e5f6c9f5',1,'WatchIndicatorSegment: watch_slcd.h']]]
+ ['watch_5fset_5fled_5fcolor_5frgb_83',['watch_set_led_color_rgb',['../group__led.html#gae6a2e663eea452cc84565b1baccb42d0',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fgreen_84',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5foff_85',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fred_86',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fyellow_87',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_led.h']]],
+ ['watch_5fset_5fpin_5flevel_88',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_gpio.h']]],
+ ['watch_5fset_5fpixel_89',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_slcd.h']]],
+ ['watch_5fspi_5fread_90',['watch_spi_read',['../group__spi.html#ga20b320293d43a867233b5bedeeab07b3',1,'watch_spi.h']]],
+ ['watch_5fspi_5ftransfer_91',['watch_spi_transfer',['../group__spi.html#ga350791f4a5eb66d0725cd418d1cd1087',1,'watch_spi.h']]],
+ ['watch_5fspi_5fwrite_92',['watch_spi_write',['../group__spi.html#ga9e1b869726dc01834ac9a365b32ec492',1,'watch_spi.h']]],
+ ['watch_5fstart_5fcharacter_5fblink_93',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_slcd.h']]],
+ ['watch_5fstart_5ftick_5fanimation_94',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_slcd.h']]],
+ ['watch_5fstop_5fblink_95',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_slcd.h']]],
+ ['watch_5fstop_5ftick_5fanimation_96',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_slcd.h']]],
+ ['watch_5fstorage_5ferase_97',['watch_storage_erase',['../group__storage.html#ga5e27f4d34bd3b602988af59c6068bd0c',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fread_98',['watch_storage_read',['../group__storage.html#gae11f49f5d9adee2ee89ec92c8026ca49',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fsync_99',['watch_storage_sync',['../group__storage.html#ga6531bfebac4e4f81fd37168fdaa98904',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fwrite_100',['watch_storage_write',['../group__storage.html#gad0fd4b333d95a0e50ac8e9a23620b861',1,'watch_storage.h']]],
+ ['watch_5fstore_5fbackup_5fdata_101',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_deepsleep.h']]],
+ ['watch_5ftick_5fanimation_5fis_5frunning_102',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_slcd.h']]],
+ ['watch_5fuart_5fgetc_103',['watch_uart_getc',['../group__uart.html#ga0c400bfcd52bb71e8de62c5ab2373db6',1,'watch_uart.h']]],
+ ['watch_5fuart_5fputs_104',['watch_uart_puts',['../group__uart.html#ga5d62683298c511f24adaab4bf6615c50',1,'watch_uart.h']]],
+ ['watch_5futility_5fconvert_5fto_5f12_5fhour_105',['watch_utility_convert_to_12_hour',['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c'],['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c']]],
+ ['watch_5futility_5fconvert_5fto_5funix_5ftime_106',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5fconvert_5fzone_107',['watch_utility_date_time_convert_zone',['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c'],['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_108',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_109',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdays_5fsince_5fnew_5fyear_110',['watch_utility_days_since_new_year',['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5fget_5fiso8601_5fweekday_5fnumber_111',['watch_utility_get_iso8601_weekday_number',['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5fget_5fweekday_112',['watch_utility_get_weekday',['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]],
+ ['watch_5futility_5fget_5fweeknumber_113',['watch_utility_get_weeknumber',['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5foffset_5ftimestamp_114',['watch_utility_offset_timestamp',['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c'],['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c']]],
+ ['watch_5futility_5fseconds_5fto_5fduration_115',['watch_utility_seconds_to_duration',['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c'],['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c']]],
+ ['watch_5futility_5fthermistor_5ftemperature_116',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]],
+ ['watchindicatorsegment_117',['watchindicatorsegment',['../group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2',1,'WatchIndicatorSegment: watch_slcd.h'],['../group__slcd.html#ga12f90dd93f63366e5a08f161e5f6c9f5',1,'WatchIndicatorSegment: watch_slcd.h']]]
];
diff --git a/search/functions_5.js b/search/functions_5.js
index 33b6d8a5..19d2b10c 100644
--- a/search/functions_5.js
+++ b/search/functions_5.js
@@ -73,37 +73,38 @@ var searchData=
['watch_5fset_5fcolon_70',['watch_set_colon',['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_private_display.c'],['../group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee',1,'watch_set_colon(void): watch_private_display.c']]],
['watch_5fset_5findicator_71',['watch_set_indicator',['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_private_display.c'],['../group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd',1,'watch_set_indicator(WatchIndicatorSegment indicator): watch_private_display.c']]],
['watch_5fset_5fled_5fcolor_72',['watch_set_led_color',['../group__led.html#ga042bcc9220ab05d1de8389cf0067511b',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fgreen_73',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_led.h']]],
- ['watch_5fset_5fled_5foff_74',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fred_75',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_led.h']]],
- ['watch_5fset_5fled_5fyellow_76',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_led.h']]],
- ['watch_5fset_5fpin_5flevel_77',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_gpio.h']]],
- ['watch_5fset_5fpixel_78',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_slcd.h']]],
- ['watch_5fspi_5fread_79',['watch_spi_read',['../group__spi.html#ga20b320293d43a867233b5bedeeab07b3',1,'watch_spi.h']]],
- ['watch_5fspi_5ftransfer_80',['watch_spi_transfer',['../group__spi.html#ga350791f4a5eb66d0725cd418d1cd1087',1,'watch_spi.h']]],
- ['watch_5fspi_5fwrite_81',['watch_spi_write',['../group__spi.html#ga9e1b869726dc01834ac9a365b32ec492',1,'watch_spi.h']]],
- ['watch_5fstart_5fcharacter_5fblink_82',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_slcd.h']]],
- ['watch_5fstart_5ftick_5fanimation_83',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_slcd.h']]],
- ['watch_5fstop_5fblink_84',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_slcd.h']]],
- ['watch_5fstop_5ftick_5fanimation_85',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_slcd.h']]],
- ['watch_5fstorage_5ferase_86',['watch_storage_erase',['../group__storage.html#ga5e27f4d34bd3b602988af59c6068bd0c',1,'watch_storage.h']]],
- ['watch_5fstorage_5fread_87',['watch_storage_read',['../group__storage.html#gae11f49f5d9adee2ee89ec92c8026ca49',1,'watch_storage.h']]],
- ['watch_5fstorage_5fsync_88',['watch_storage_sync',['../group__storage.html#ga6531bfebac4e4f81fd37168fdaa98904',1,'watch_storage.h']]],
- ['watch_5fstorage_5fwrite_89',['watch_storage_write',['../group__storage.html#gad0fd4b333d95a0e50ac8e9a23620b861',1,'watch_storage.h']]],
- ['watch_5fstore_5fbackup_5fdata_90',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_deepsleep.h']]],
- ['watch_5ftick_5fanimation_5fis_5frunning_91',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_slcd.h']]],
- ['watch_5fuart_5fgetc_92',['watch_uart_getc',['../group__uart.html#ga0c400bfcd52bb71e8de62c5ab2373db6',1,'watch_uart.h']]],
- ['watch_5fuart_5fputs_93',['watch_uart_puts',['../group__uart.html#ga5d62683298c511f24adaab4bf6615c50',1,'watch_uart.h']]],
- ['watch_5futility_5fconvert_5fto_5f12_5fhour_94',['watch_utility_convert_to_12_hour',['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c'],['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c']]],
- ['watch_5futility_5fconvert_5fto_5funix_5ftime_95',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5fconvert_5fzone_96',['watch_utility_date_time_convert_zone',['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c'],['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_97',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_98',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]],
- ['watch_5futility_5fdays_5fsince_5fnew_5fyear_99',['watch_utility_days_since_new_year',['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5fget_5fiso8601_5fweekday_5fnumber_100',['watch_utility_get_iso8601_weekday_number',['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5fget_5fweekday_101',['watch_utility_get_weekday',['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]],
- ['watch_5futility_5fget_5fweeknumber_102',['watch_utility_get_weeknumber',['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
- ['watch_5futility_5foffset_5ftimestamp_103',['watch_utility_offset_timestamp',['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c'],['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c']]],
- ['watch_5futility_5fseconds_5fto_5fduration_104',['watch_utility_seconds_to_duration',['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c'],['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c']]],
- ['watch_5futility_5fthermistor_5ftemperature_105',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]]
+ ['watch_5fset_5fled_5fcolor_5frgb_73',['watch_set_led_color_rgb',['../group__led.html#gae6a2e663eea452cc84565b1baccb42d0',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fgreen_74',['watch_set_led_green',['../group__led.html#gab01a29900ddc5315c0e752e63d748f41',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5foff_75',['watch_set_led_off',['../group__led.html#ga8619f040ff7364285398412a4c420cae',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fred_76',['watch_set_led_red',['../group__led.html#ga36d89031d8e8813dfab5f6cff9c6ee40',1,'watch_led.h']]],
+ ['watch_5fset_5fled_5fyellow_77',['watch_set_led_yellow',['../group__led.html#ga51ba53c3281ad8724d98af27eacc3de0',1,'watch_led.h']]],
+ ['watch_5fset_5fpin_5flevel_78',['watch_set_pin_level',['../group__gpio.html#ga2e781c7e15045d2270f0cb3f87d619d6',1,'watch_gpio.h']]],
+ ['watch_5fset_5fpixel_79',['watch_set_pixel',['../group__slcd.html#ga47948dc2c7490b698810ef9914507e08',1,'watch_slcd.h']]],
+ ['watch_5fspi_5fread_80',['watch_spi_read',['../group__spi.html#ga20b320293d43a867233b5bedeeab07b3',1,'watch_spi.h']]],
+ ['watch_5fspi_5ftransfer_81',['watch_spi_transfer',['../group__spi.html#ga350791f4a5eb66d0725cd418d1cd1087',1,'watch_spi.h']]],
+ ['watch_5fspi_5fwrite_82',['watch_spi_write',['../group__spi.html#ga9e1b869726dc01834ac9a365b32ec492',1,'watch_spi.h']]],
+ ['watch_5fstart_5fcharacter_5fblink_83',['watch_start_character_blink',['../group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5',1,'watch_slcd.h']]],
+ ['watch_5fstart_5ftick_5fanimation_84',['watch_start_tick_animation',['../group__slcd.html#ga70918c1acc2ed21512b69b83397303a4',1,'watch_slcd.h']]],
+ ['watch_5fstop_5fblink_85',['watch_stop_blink',['../group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5',1,'watch_slcd.h']]],
+ ['watch_5fstop_5ftick_5fanimation_86',['watch_stop_tick_animation',['../group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a',1,'watch_slcd.h']]],
+ ['watch_5fstorage_5ferase_87',['watch_storage_erase',['../group__storage.html#ga5e27f4d34bd3b602988af59c6068bd0c',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fread_88',['watch_storage_read',['../group__storage.html#gae11f49f5d9adee2ee89ec92c8026ca49',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fsync_89',['watch_storage_sync',['../group__storage.html#ga6531bfebac4e4f81fd37168fdaa98904',1,'watch_storage.h']]],
+ ['watch_5fstorage_5fwrite_90',['watch_storage_write',['../group__storage.html#gad0fd4b333d95a0e50ac8e9a23620b861',1,'watch_storage.h']]],
+ ['watch_5fstore_5fbackup_5fdata_91',['watch_store_backup_data',['../group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846',1,'watch_deepsleep.h']]],
+ ['watch_5ftick_5fanimation_5fis_5frunning_92',['watch_tick_animation_is_running',['../group__slcd.html#ga3764fb499e056f9a45588268f11be8a0',1,'watch_slcd.h']]],
+ ['watch_5fuart_5fgetc_93',['watch_uart_getc',['../group__uart.html#ga0c400bfcd52bb71e8de62c5ab2373db6',1,'watch_uart.h']]],
+ ['watch_5fuart_5fputs_94',['watch_uart_puts',['../group__uart.html#ga5d62683298c511f24adaab4bf6615c50',1,'watch_uart.h']]],
+ ['watch_5futility_5fconvert_5fto_5f12_5fhour_95',['watch_utility_convert_to_12_hour',['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c'],['../group__utility.html#ga470a4c7199afac6319c259fc459881f4',1,'watch_utility_convert_to_12_hour(watch_date_time *date_time): watch_utility.c']]],
+ ['watch_5futility_5fconvert_5fto_5funix_5ftime_96',['watch_utility_convert_to_unix_time',['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga94f5cc404949bf4c0ac4bc4770ec8eda',1,'watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5fconvert_5fzone_97',['watch_utility_date_time_convert_zone',['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c'],['../group__utility.html#ga94f038ec0e1b8f3c48c4364b56566327',1,'watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5ffrom_5funix_5ftime_98',['watch_utility_date_time_from_unix_time',['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#ga396e56109234aaa00993c3dd84f3f43c',1,'watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdate_5ftime_5fto_5funix_5ftime_99',['watch_utility_date_time_to_unix_time',['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c'],['../group__utility.html#gaffafef58755ff2704cf93fe1a0849a27',1,'watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset): watch_utility.c']]],
+ ['watch_5futility_5fdays_5fsince_5fnew_5fyear_100',['watch_utility_days_since_new_year',['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga2d997050973c483e0e099f42b0126312',1,'watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5fget_5fiso8601_5fweekday_5fnumber_101',['watch_utility_get_iso8601_weekday_number',['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga284588c477ab00cdc71b7146359d39bf',1,'watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5fget_5fweekday_102',['watch_utility_get_weekday',['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c'],['../group__utility.html#gaad14860c068aeed7a60e57874cad92b4',1,'watch_utility_get_weekday(watch_date_time date_time): watch_utility.c']]],
+ ['watch_5futility_5fget_5fweeknumber_103',['watch_utility_get_weeknumber',['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c'],['../group__utility.html#ga1f78ba1a1d4bd130e638869da417446e',1,'watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day): watch_utility.c']]],
+ ['watch_5futility_5foffset_5ftimestamp_104',['watch_utility_offset_timestamp',['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c'],['../group__utility.html#ga176fd2c04778c2049f6ae8b9d374725c',1,'watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds): watch_utility.c']]],
+ ['watch_5futility_5fseconds_5fto_5fduration_105',['watch_utility_seconds_to_duration',['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c'],['../group__utility.html#ga5d6af930688b240d0f075806b5730d21',1,'watch_utility_seconds_to_duration(uint32_t seconds): watch_utility.c']]],
+ ['watch_5futility_5fthermistor_5ftemperature_106',['watch_utility_thermistor_temperature',['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c'],['../group__utility.html#ga2753ff031c28202d23b0f3e80de2c920',1,'watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance): watch_utility.c']]]
];
diff --git a/watch_8h.html b/watch_8h.html
index 1b29aa39..d1b7fbd9 100644
--- a/watch_8h.html
+++ b/watch_8h.html
@@ -75,6 +75,7 @@ $(function() {
@@ -100,6 +101,15 @@ $(function() {
Go to the source code of this file.
+ |
+
+#define | SWCLK GPIO(GPIO_PORTA, 30) |
+ |
+
+#define | SWDIO GPIO(GPIO_PORTA, 31) |
+ |
+
|
bool | watch_is_buzzer_or_led_enabled (void) |
diff --git a/watch_8h_source.html b/watch_8h_source.html
index 6f297016..e3f1642b 100644
--- a/watch_8h_source.html
+++ b/watch_8h_source.html
@@ -113,39 +113,42 @@ $(document).ready(function() { init_codefold(0); });
30#include "driver_init.h"
-
- 34#include "watch_main_loop.h"
-
-
-
-
- 62#include "watch_slcd.h"
- 63#include "watch_extint.h"
-
- 65#include "watch_buzzer.h"
-
- 67#include "watch_gpio.h"
-
-
- 70#include "watch_uart.h"
- 71#include "watch_storage.h"
- 72#include "watch_deepsleep.h"
-
- 74#include "watch_private.h"
-
-
-
-
-
-
-
-
-
- 101int read( int file, char *ptr, int len);
-
-
-
-
+ 33#define SWCLK GPIO(GPIO_PORTA, 30)
+ 34#define SWDIO GPIO(GPIO_PORTA, 31)
+
+
+ 37#include "watch_main_loop.h"
+
+
+
+
+ 65#include "watch_slcd.h"
+ 66#include "watch_extint.h"
+
+ 68#include "watch_buzzer.h"
+
+ 70#include "watch_gpio.h"
+
+
+ 73#include "watch_uart.h"
+ 74#include "watch_storage.h"
+ 75#include "watch_deepsleep.h"
+
+ 77#include "watch_private.h"
+
+
+
+
+
+
+
+
+
+ 104int read( int file, char *ptr, int len);
+
+
+
+
void watch_disable_TRNG() Disables the TRNG twice in order to work around silicon erratum 1.16.1.
bool watch_is_usb_enabled(void) Returns true if USB is enabled.
void cdc_task(void) Call periodically from app main loop to service CDC RX/TX.
diff --git a/watch__led_8h_source.html b/watch__led_8h_source.html
index ff62c0e9..9421247a 100644
--- a/watch__led_8h_source.html
+++ b/watch__led_8h_source.html
@@ -117,15 +117,17 @@ $(document).ready(function() { init_codefold(0); });
-
-
-
-
-
-
-
+
+
+
+
+
-
+
+
+
+
+
void watch_set_led_color(uint8_t red, uint8_t green) Sets the LED to a custom color by modulating each output's duty cycle.
void watch_set_led_red(void) Sets the red LED to full brightness, and turns the green LED off.
void watch_set_led_yellow(void) Sets both red and green LEDs to full brightness.
@@ -133,6 +135,7 @@ $(document).ready(function() { init_codefold(0); });
void watch_enable_leds(void) Enables the bi-color LED.
void watch_disable_leds(void) Disables the LEDs.
void watch_set_led_green(void) Sets the green LED to full brightness, and turns the red LED off.
+void watch_set_led_color_rgb(uint8_t red, uint8_t green, uint8_t blue) On boards with an RGB LED, sets the LED to a custom color by modulating each output's duty cycle.
|