首先是 #include 的部分。 mcp2515.cpp 中有引入 Arduino.h ,而 mcp2515.h 中有引入 SPI.h ... 在實際修改前,我們先到 .h 檔,並在Class MCP2515 中增加一些member:
確定! 回上一頁