6 Commits
Author SHA1 Message Date
alias pillar1989 cb607da7da bump version to 2.3.4 2026-05-26 11:32:12 +08:00
fc19066027 fix: use pSPI->begin() and add skipSpiBegin option for ESP32 compatibility (#159)
ESP32 users need to call SPI.begin() with custom pin assignments before
using the library (GPIO matrix). The hardcoded SPI.begin() in
mcp2518fd::begin() overwrites this configuration.

Changes:
- Replace SPI.begin() with pSPI->begin() (consistent with MCP2515)
- Add optional _initSPI parameter (default true) to begin() across
  MCP_CAN, mcp2515, and mcp2518fd so ESP32 users can skip SPI init

Existing code is unaffected — default behavior unchanged.

Closes #158

Co-authored-by: pillar1989 <zuobaozhu@gmail.com>
2026-05-26 11:23:15 +08:00
alias pillar1989andGitHub ca8fcc7fe3 Add MCP2515 8MHz 83.3kbps bitrate support
Add the missing MCP_8MHz_83k3BPS timing macros and wire CAN_83K3BPS into the MCP_8MHz bitrate switch. Fixes #79.
2026-04-28 11:09:23 +08:00
Baozhu ZuoandBaozhu Zuo edaba2d87e Merge branch 'mbaum0193-master' 2020-05-12 17:21:50 +08:00
Baozhu Zuo 055c0024ea Merge branch 'master' of https://github.com/mbaum0193/CAN_BUS_Shield into mbaum0193-master 2020-03-30 10:20:33 +08:00
Baozhu Zuo dc03e48b66 Avr dedicated header file, should be specified. 2020-03-30 10:14:04 +08:00