Converts commands, powerunit ids, errors, etc (integers) to text. More...
#include "commands.h"
Go to the source code of this file.
Functions | |
const char * | ConvertPUID (char id) |
Returns the name of a PowerUnit given its ID. More... | |
const char * | ConvertMCError (char error) |
Returns a description of an error from the microcontroller. More... | |
const char * | ConvertCommandID (char cmd) |
Returns the text of a command given its ID. More... | |
const char * | ConvertPUState (char state) |
Returns the text of a PowerUnit state. More... | |
Converts commands, powerunit ids, errors, etc (integers) to text.
Definition in file commands-text.h.
|
inline |
Returns the text of a command given its ID.
Definition at line 53 of file commands-text.h.
|
inline |
Returns a description of an error from the microcontroller.
Definition at line 30 of file commands-text.h.
|
inline |
Returns the name of a PowerUnit given its ID.
Definition at line 14 of file commands-text.h.
|
inline |
Returns the text of a PowerUnit state.
Definition at line 72 of file commands-text.h.