Skip to content

1.2.0

Compare
Choose a tag to compare
@aentinger aentinger released this 01 Oct 13:02

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) { /* ... */