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.
pseudo_rtos/event_loop.cpp@14:900adc64ed43, 2018-09-28 (annotated)
- Committer:
- faydrus
- Date:
- Fri Sep 28 13:28:09 2018 +0000
- Revision:
- 14:900adc64ed43
- Parent:
- 13:5921e108936c
Added in custom SX1276 driver
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
faydrus | 13:5921e108936c | 1 | #include "mbed.h" |
faydrus | 13:5921e108936c | 2 | |
faydrus | 13:5921e108936c | 3 | // Our main event loop. Used in lieu of a real RTOS. |
faydrus | 13:5921e108936c | 4 | extern void eventLEDs(void); |
faydrus | 13:5921e108936c | 5 | void eventLoop(void) { |
faydrus | 13:5921e108936c | 6 | while(true) { |
faydrus | 13:5921e108936c | 7 | eventLEDs(); |
faydrus | 13:5921e108936c | 8 | } |
faydrus | 13:5921e108936c | 9 | } |