microbit: Hello Yotta!

This is a version of the SB2 repo, entirely comprised
of yotta modules.

This repo also includes a microbit-compatible microbit
target (see yotta_targets).
master
James Devine 8 years ago
parent c5c2cfb221
commit 57c3ccc8ab

@ -16,21 +16,11 @@
#include "MicroBit.h"
DigitalOut led1(LED1);
void periodicCallback(void)
{
/* Do blinky on LED1 while we're waiting for BLE events */
}
void app_main()
{
led1 = 1;
// infinite loop
while (1)
{
uBit.display.scrollString("ABC123");
uBit.sleep(1000);
}
while (1)
{
uBit.display.scrollString("HELLO! :)");
uBit.sleep(1000);
}
}

Loading…
Cancel
Save