Demonstrates using a periodic event to toggle LEDs.
- SDK directory:
API Features Demonstrated
This app works on:
Requirements and Prerequisites
Requires a Gecko OS evaluation board, such as a WGM160P_eval.
When the App is compiled and run, the two platform user LEDs blink alternately.
The app initializes the two platform GPIOs.
blink_event_handler to run every 500ms.
Uses gos_gpio_set to toggle one LED on and the other off.