Official Sheffield ARMBand micro:bit program

Committer:
MrBedfordVan
Date:
Mon Oct 17 12:41:20 2016 +0000
Revision:
0:b9164b348919
Official Sheffield ARMBand Micro:bit program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrBedfordVan 0:b9164b348919 1 /*
MrBedfordVan 0:b9164b348919 2 The Spooky ARM Band Micro:bit display program
MrBedfordVan 0:b9164b348919 3 */
MrBedfordVan 0:b9164b348919 4
MrBedfordVan 0:b9164b348919 5 #include "MicroBit.h"
MrBedfordVan 0:b9164b348919 6
MrBedfordVan 0:b9164b348919 7 MicroBit uBit;
MrBedfordVan 0:b9164b348919 8
MrBedfordVan 0:b9164b348919 9 int main()
MrBedfordVan 0:b9164b348919 10 {
MrBedfordVan 0:b9164b348919 11 // Initialise the micro:bit runtime.
MrBedfordVan 0:b9164b348919 12 uBit.init();
MrBedfordVan 0:b9164b348919 13
MrBedfordVan 0:b9164b348919 14 while(1) {
MrBedfordVan 0:b9164b348919 15 uBit.display.scroll("ARMBand");
MrBedfordVan 0:b9164b348919 16 }
MrBedfordVan 0:b9164b348919 17
MrBedfordVan 0:b9164b348919 18 }
MrBedfordVan 0:b9164b348919 19