diff --git a/mcp2515.h b/mcp2515.h index 48e5d57..961a5c1 100644 --- a/mcp2515.h +++ b/mcp2515.h @@ -467,6 +467,8 @@ class MCP2515 public: MCP2515(const uint8_t _CS, const uint32_t _SPI_CLOCK = DEFAULT_SPI_CLOCK, SPIClass * _SPI = nullptr); + bool begin(SPIClass *_SPI = nullptr); + ERROR reset(void); ERROR setConfigMode(); ERROR setListenOnlyMode();