Commit Graph
84 Commits
Author SHA1 Message Date
Baozhu Zuo 7d30ccccc8 Pretty printed the Arduino code with astyle 2020-02-03 15:00:22 +08:00
Daniel SurizonandBaozhu Zuo 7d41ceb28a More recomended way to use attachInterrupt 2019-10-08 09:43:26 +08:00
nickandBaozhu Zuo 1935258e58 required change for compatibility with Leonardo and probably other boards 2019-08-13 09:16:27 +08:00
nickandBaozhu Zuo 34de82b7ec required change for compatibility with Leonardo and probably other boards 2019-08-13 09:16:27 +08:00
zhengxing LuandBaozhu Zuo 81a975210b add samd compatibility 2019-08-08 13:48:23 +08:00
kaixxx 19203a365d Add sleep and gpio support + examples
Added sleep support for MCP2515 + MCP2551. This way, you can reduce the power consumption of a complete node down to around 240uA!
Changes:
- Reintroduced gpio support from commits 43521de/bac66d1 (adlerweb, 15/01/2018) and corrected the errors
- Introduced advanced sleep support based on https://github.com/coryjfowler/MCP_CAN_lib/pull/10/files
- added example code (receive_sleep and send_sleep)
- tested everything
2019-01-07 15:37:30 +01:00
Neil Bajorin d7ce9e6779 Always store CAN IDs as unsigned long.
Explicitly show that the CAN ID is printed in HEX.
2018-05-17 13:08:27 -04:00
Neil Bajorin cefe36904e Update comments. 2018-05-17 12:57:25 -04:00
Florian Knodt 15c6bfb80a Allow to use status pins as regular GPIO 2018-01-14 00:41:57 +01:00
loovee 8ff75c35ea add OBDII PIDs example 2017-06-27 17:16:25 +08:00
loovee 84329c2601 support LinkIt ONE 2017-06-09 11:19:29 +08:00
LowaichungandGitHub 190d33bd90 Update receive_check.ino 2016-08-03 09:45:43 +08:00
JaredandGitHub 4050a95ba5 Update send_Blink.ino
Corrected some comments while reading through this
2016-07-05 17:05:01 -04:00
Jan Kirchner 6ca267c14a Sloučení Seed změn do mých
Conflicts:
	examples/receive_Blink/receive_Blink.ino
	examples/receive_check/receive_check.ino
2016-01-31 11:38:58 +01:00
Jan Kirchner 1465f5d619 Goto + label removing. Standard loop is a cleaner solution. 2016-01-30 23:48:52 +01:00
loovee eecab748af format 2016-01-20 10:15:13 +08:00
loovee e960b8a5d8 roll back 2016-01-20 10:07:52 +08:00
TheRo0T 880343e7f1 fix example 2016-01-13 21:56:03 +04:00
Dmitry cde4227bdf mcp2551 -> mcp2515 2016-01-13 15:24:46 +03:00
Dmitry 5c09068de6 Whitespaces 2016-01-13 15:18:58 +03:00
TheRo0T cb0b7c5f70 Add Example CAN Read 2016-01-13 16:13:38 +04:00
Dmitry 56961fce3b Drop obsolete examples 2016-01-06 19:28:17 +03:00
Jan Kirchner 68fd744899 examples/receive_check/receive_check.ino ID format fix 2015-10-03 23:18:06 +02:00
loovee 8cdb31b161 format 2015-08-06 15:29:57 +08:00
mehtajaghvi aea3e85397 added comments in send_Blink_ROS to run the ino file with ROS,Arduino and CAN 2015-06-26 10:22:08 -04:00
mehtajaghvi 34f96bffe7 added receive_blink_ros example, this can help to get ROS interfaced with arduino an CAN 2015-06-26 10:17:59 -04:00
mehtajaghvi fb3a91170d Added LED blink example for ArduinoMega and seeedCANBUSSHIELD 2015-06-25 15:57:16 -04:00
Nathan Cheek d6bbbdea55 Fix semicolon syntax errors 2015-06-11 19:56:17 -04:00
loovee e15f39a2fc add print can id to recv examples 2015-05-29 10:36:33 +08:00
Florian Knodt fcbf4be6aa examples/send: Typo
standard flame -> standard frame
2015-05-15 19:04:44 +02:00
loovee 09fb19398c update examples 2015-04-28 09:38:27 +08:00
Ralf Edmund Stranzenbach 0a791f6d4b Receive may freeze if CAN saturated
If either the CANBUS is saturated or the MCU is busy for some time, both RX buffers of the MCP2515 may be in use. If the MCU does not catch up in processing the incoming messages, the second message received just adds another reason for the IRQ.
Thus reading a single message does not clear the IRQ conditon of the MCP2515 leading to a permanent lock up of the receiver program.

Signed-off-by: Ralf Edmund Stranzenbach <ralf@reswi.de>
2014-10-14 23:53:17 +02:00
reeedstudio 64ca6c9c32 add set mask and filter example 2014-07-08 20:11:32 +08:00
loovee 925f97c2c9 version 1.2 2014-07-08 13:55:49 +08:00