75 int16_t result = swq.
begin(queueAddress,queueSizeBytes);
76 if (result < 0)
return (result);
82 queueFrameIndex?(uint8_t)1:(uint8_t)0,
83 queueOnChange?(uint8_t)1:(uint8_t)0,
85 return(_sw.sendPacket(tx));
93 enable?(uint8_t)1:(uint8_t)0,
95 return (_sw.sendPacket(tx));
98 int16_t
configurePin(uint8_t pin,
bool queueLowByte,
bool queueHighByte)
103 queueLowByte?(uint8_t)1:(uint8_t)0,
104 queueHighByte?(uint8_t)1:(uint8_t)0,
106 return (_sw.sendPacket(tx));
#define SW_LE16(_a)
Convert a uint16_t to two bytes in little endian format for array initialization.
@ COMMAND_BINARY_CONFIG_DATALOGGER
(0x96)
Class for a Serial Wombat chip. Each Serial Wombat chip on a project should have its own instance.
SerialWombat18ABDataLogger(SerialWombatChip &serialWombat)
Constructor for SerialWombat18ABDataLogger class /.
int16_t begin(uint16_t queueAddress, uint16_t queueSizeBytes, bool queueFrameIndex, bool queueOnChange=false, DataLoggerPeriod period=DataLoggerPeriod::PERIOD_1mS)
Initialize the Serial Wombat Data logger. It will create a queue with the given parameters / /.
int16_t enable(bool enable=true)
int16_t configurePin(uint8_t pin, bool queueLowByte, bool queueHighByte)
A Class representing a Queue in the User Ram area on the Serial Wombat Chip.
int16_t begin(uint16_t index, uint16_t length, SerialWombatQueueType qtype=SerialWombatQueueType::QUEUE_TYPE_RAM_BYTE)
Initialize a Serial Wombat Queue (RAM Bytes) in User Memory Area on Serial Wombat Chip / /.