BLE switch interface using micro:bit with 3 tact switches or 3 Makey Makey sensors
main.cpp@0:e0105c17ebb3, 2019-06-06 (annotated)
- Committer:
- masakjm
- Date:
- Thu Jun 06 19:03:22 2019 +0000
- Revision:
- 0:e0105c17ebb3
- Child:
- 1:9d0e2e5b5d25
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
masakjm | 0:e0105c17ebb3 | 1 | /* See |
masakjm | 0:e0105c17ebb3 | 2 | * http://lancaster-university.github.io/microbit-docs/advanced/ |
masakjm | 0:e0105c17ebb3 | 3 | * for docs about using the micro:bit library |
masakjm | 0:e0105c17ebb3 | 4 | */ |
masakjm | 0:e0105c17ebb3 | 5 | #include "MicroBit.h" |
masakjm | 0:e0105c17ebb3 | 6 | |
masakjm | 0:e0105c17ebb3 | 7 | MicroBitDisplay display; |
masakjm | 0:e0105c17ebb3 | 8 | |
masakjm | 0:e0105c17ebb3 | 9 | int main() |
masakjm | 0:e0105c17ebb3 | 10 | { |
masakjm | 0:e0105c17ebb3 | 11 | while(1) |
masakjm | 0:e0105c17ebb3 | 12 | display.scroll(":)"); |
masakjm | 0:e0105c17ebb3 | 13 | } |