Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MicroBitDALImageRewrite by
Diff: inc/MicroBitDisplay.h
- Revision:
- 5:8bf639bbedb5
- Parent:
- 4:f998ee705a20
--- a/inc/MicroBitDisplay.h Fri May 15 22:23:17 2015 +0000 +++ b/inc/MicroBitDisplay.h Sat May 16 22:28:56 2015 +0000 @@ -9,7 +9,7 @@ #define MICROBIT_DISPLAY_REFRESH_PERIOD 0.002 -#define MICROBIT_SB1 +#define MICROBIT_SB2 #define NO_CONN 0 @@ -55,7 +55,6 @@ MatrixPoint(int x, int y); }; - class MicroBitDisplay { int id; @@ -97,6 +96,12 @@ void strobeUpdate(); /** + * Registers the strobeUpdate method with the IRQ handler. + * Display begins refreshing after this call. + */ + void startDisplay(); + + /** * Prints the given character to the display. * * @param c The character to display.