displaying on SSD1306, 128x64 pixels OLED
example_clock.cpp@6:c69f08f464b5, 2020-02-23 (annotated)
- Committer:
- bvirk
- Date:
- Sun Feb 23 01:57:35 2020 +0000
- Revision:
- 6:c69f08f464b5
All examples in own files - demo of command pattern using functionpointer array to chose example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bvirk | 6:c69f08f464b5 | 1 | #include "MicroBit.h" |
bvirk | 6:c69f08f464b5 | 2 | #include "Display.h" |
bvirk | 6:c69f08f464b5 | 3 | #include "common.h" |
bvirk | 6:c69f08f464b5 | 4 | |
bvirk | 6:c69f08f464b5 | 5 | void example_clock() { |
bvirk | 6:c69f08f464b5 | 6 | // change to see - example 17:31 becomes |
bvirk | 6:c69f08f464b5 | 7 | display.vertClock(17*60 + 31); |
bvirk | 6:c69f08f464b5 | 8 | release_fiber(); |
bvirk | 6:c69f08f464b5 | 9 | } |