Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX30208 mbed-dev max32630fthr USBDevice
Diff: main.cpp
- Revision:
- 3:4af4942a59f2
- Parent:
- 2:e4fcc385e824
- Child:
- 4:7320d2a40b92
--- a/main.cpp Fri Sep 04 16:57:37 2020 +0000 +++ b/main.cpp Fri Sep 04 17:40:23 2020 +0000 @@ -168,6 +168,7 @@ //Only configure RTC the first time around RTC_Setup(); } + gLED = LED_ON; rLED = LED_ON; bLED = LED_ON; @@ -273,7 +274,7 @@ rLED = LED_OFF; bLED = LED_OFF; - //set RTC to generate an interrupt 5 seconds from current value + //set RTC to generate an interrupt 5 miliseconds from current value RTC_SetCompare(0,500); //clear comparison flag in the RTC registers