An example of testing the micro:bit battery without any external components
Dependencies: microbit
Fork of microbit-component-display by
Diff: main.cpp
- Revision:
- 0:0c37474c8541
- Child:
- 1:6c9081f485dd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Apr 20 14:01:36 2016 +0000 @@ -0,0 +1,13 @@ +/* See + * http://lancaster-university.github.io/microbit-docs/advanced/ + * for docs about using the micro:bit library +*/ +#include "MicroBit.h" + +MicroBitDisplay display; + +int main() +{ + while(1) + display.scroll(":)"); +} \ No newline at end of file