aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/NRF51/RT-WVSHARE_BLE400/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/NRF51/RT-WVSHARE_BLE400/main.c b/demos/NRF51/RT-WVSHARE_BLE400/main.c
index a9523aa..00a7115 100644
--- a/demos/NRF51/RT-WVSHARE_BLE400/main.c
+++ b/demos/NRF51/RT-WVSHARE_BLE400/main.c
@@ -33,5 +33,9 @@ int main(void) {
chSysInit();
while (1) {
+ NRF_GPIO->OUTCLR = (uint32_t) 1 << 18;
+ chThdSleepMilliseconds(500);
+ NRF_GPIO->OUTSET = (uint32_t) 1 << 18;
+ chThdSleepMilliseconds(500);
}
}