![]() |
JQI Arduino Libraries
Arduino for the modern scientist.
|
Data struct
containing a map between serial commands and SetList callback functions.
More...
Public Attributes | |
char | command [SERIALCOMMAND_MAXCOMMANDLENGTH+1] |
"Short command" to listen for on serial stream. More... | |
int | channel |
Integer specifying which device channel should be associated with the given command. More... | |
GenericSetListCallback | function |
GenericSetListCallback function. More... | |
Data struct
containing a map between serial commands and SetList callback functions.
Note, there is a maximum length to the serial "short command" set by SERIALCOMMAND_MAXCOMMANDLENGTH. See SetListArduino::readSerial() for details, or the README.
int SetListArduino::SerialCommandCallback::channel |
Integer specifying which device channel should be associated with the given command.
char SetListArduino::SerialCommandCallback::command[SERIALCOMMAND_MAXCOMMANDLENGTH+1] |
"Short command" to listen for on serial stream.
GenericSetListCallback SetListArduino::SerialCommandCallback::function |
GenericSetListCallback function.
This is a type-agnostic recast of the SetList callback passed in from SetListArduino::registerCommand().