LinxVIEW论坛-斯科道
标题: CANFestival CANopen堆栈的Arduino库版本 [打印本页]
作者: Scadao 时间: 2019-11-16 22:21
标题: CANFestival CANopen堆栈的Arduino库版本
CANFestival CANopen堆栈的Arduino库版本
History from 07/27/2015- Extensive changes to reduce SRAM usage
- Removed need for extra timers
- Added write access flag to object dict entry callback
- objdictedit from this repo needed to generate suitable object dictionary definition
- mcp_can, BlinkPattern, digitalWriteFast and Timer libraries from my repos needed to successfully compile
- MCP2515 chip select pin set in CO_can_Arduino.cpp
- Usage: define CO<red_led_pin, green_led_pin> co; (-1 if no led needed), call co.CO_Init(); in setup(), call co.CO_Cycle(); in loop()
- See example
History from 11/02/2015This is a first working prototype with only the most necessary changes to the original CANFestival code to make it run as an Arduino library.
Here is an intermediate state of this library before I started to compile it using the Arduino IDE. The object dictionary that is implemented by the example must be edited with my special version of the CANFestival tool in order to generate code that doesn't conflict with Arduino conventions. Further documentation to follow.
欢迎光临 LinxVIEW论坛-斯科道 (http://linxview.com/) |
Powered by Discuz! X3.2 |