To read a light sensor
Dependencies: DHT GPS MTS-Serial PulseCounter libmDot mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
debug.h@5:951cfd165a58, 2016-06-10 (annotated)
- Committer:
- Mehrad
- Date:
- Fri Jun 10 00:04:08 2016 +0000
- Revision:
- 5:951cfd165a58
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mehrad | 5:951cfd165a58 | 1 | #include "mbed.h" |
Mehrad | 5:951cfd165a58 | 2 | #include <stdio.h> |
Mehrad | 5:951cfd165a58 | 3 | |
Mehrad | 5:951cfd165a58 | 4 | #if 1 |
Mehrad | 5:951cfd165a58 | 5 | #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) |
Mehrad | 5:951cfd165a58 | 6 | #else |
Mehrad | 5:951cfd165a58 | 7 | #define DEBUG_PRINTF(fmt, args...) |
Mehrad | 5:951cfd165a58 | 8 | #endif |