#include "CommandConst.h"
Functions | |
| boolean | GetMsg (int *instruction, int *data) |
| void | ReturnMsg (int type, int value) |
| Returns a confirmation message and value if the message is RET_VAL. | |
| int | ParseMsg (char *str) |
| Parse a given string into an ArduinoInstr. | |
| boolean GetMsg | ( | int * | instruction, | |
| int * | data | |||
| ) |
Recieves and builds a message from the serial port, posting the instruction and value in the given pointers. True is returned on sucess, false otherwise.
| int ParseMsg | ( | char * | str | ) |
Parse a given string into an ArduinoInstr.
| void ReturnMsg | ( | int | type, | |
| int | value | |||
| ) |
Returns a confirmation message and value if the message is RET_VAL.
I NEED TO CHECK THIS CODE GOD DAMNED IT
1.5.5