Changelog
- Re-license from LGPL to MIT (#16)
- Support libcanard defined types for receiving/transmitting (#17)
typedef std::function<void(CanardFrame const & frame)> OnReceiveBufferFullFunc;
/* ... */
bool ArduinoMCP2515::transmit(CanardFrame const & frame) { /* ... */
- Add receive timestamp also for ordinary CAN frames (#18). This requires extension of the Constructor by passing
micros
.
ArduinoMCP2515::ArduinoMCP2515(SpiSelectFunc select,
SpiDeselectFunc deselect,
SpiTransferFunc transfer,
MicroSecondFunc micros,
OnReceiveBufferFullFunc on_rx_buf_full,
OnTransmitBufferEmptyFunc on_tx_buf_empty) { /* ... */