From 81f7eb594592dc1af0c568569d9c6ab11fbdd068 Mon Sep 17 00:00:00 2001 From: AlessioSavelli <91372363+AlessioSavelli@users.noreply.github.com> Date: Fri, 12 May 2023 21:51:33 +0200 Subject: [PATCH] Update mcp2515.h --- mcp2515.h | 2 ++ 1 file changed, 2 insertions(+) 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();