|
Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
#include <stdio.h>#include <stdarg.h>

Go to the source code of this file.
Enumerations | |
| enum | MessageType { MSG_SENSOR_VALUE , MSG_OUTPUT_VALUE , MSG_SYSTEM_STATUS , MSG_WARNING , MSG_ERROR , MSG_DEBUG , MSG_CAN_TX , MSG_CAN_RX , MSG_TIMER_STATS , MSG_CONFIG } |
Functions | |
| void | sendMessage (const char *sender, MessageType type, const char *format,...) |
| enum MessageType |
| Enumerator | |
|---|---|
| MSG_SENSOR_VALUE | |
| MSG_OUTPUT_VALUE | |
| MSG_SYSTEM_STATUS | |
| MSG_WARNING | |
| MSG_ERROR | |
| MSG_DEBUG | |
| MSG_CAN_TX | |
| MSG_CAN_RX | |
| MSG_TIMER_STATS | |
| MSG_CONFIG | |
Definition at line 8 of file MessageFormat.h.
| void sendMessage | ( | const char * | sender, |
| MessageType | type, | ||
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 5 of file MessageFormat.c.
