Johnny Bravo
/
dac_controller2
can version
Fork of dac_controller2 by
log/log.h@3:29aa7212dda4, 2014-04-29 (annotated)
- Committer:
- dzl5187
- Date:
- Tue Apr 29 03:13:12 2014 +0000
- Revision:
- 3:29aa7212dda4
- Parent:
- 1:4bd950ab8756
final_version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dzl5187 | 1:4bd950ab8756 | 1 | |
dzl5187 | 1:4bd950ab8756 | 2 | #ifndef LOG_H |
dzl5187 | 1:4bd950ab8756 | 3 | #define LOG_H |
dzl5187 | 1:4bd950ab8756 | 4 | #include "mbed.h" |
dzl5187 | 1:4bd950ab8756 | 5 | |
dzl5187 | 1:4bd950ab8756 | 6 | |
dzl5187 | 1:4bd950ab8756 | 7 | extern Timer programTimer; |
dzl5187 | 1:4bd950ab8756 | 8 | |
dzl5187 | 1:4bd950ab8756 | 9 | /** |
dzl5187 | 1:4bd950ab8756 | 10 | Function: logMessage |
dzl5187 | 1:4bd950ab8756 | 11 | Description: output the message(can be formatted string) to PC |
dzl5187 | 1:4bd950ab8756 | 12 | */ |
dzl5187 | 1:4bd950ab8756 | 13 | void logMessage(const char *fmt,...); |
dzl5187 | 1:4bd950ab8756 | 14 | #endif |