Skip to content

Arduino Library Version of CANFestival CANopen Stack

License

Notifications You must be signed in to change notification settings

Meins321/CANFestivino

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/2015

This 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 example uses my fork of the Seeed Studio CAN bus library. Beware that my example expects the CS of the MCP2515 on a different pin than the Seeed CAN bus shield.

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.

About

Arduino Library Version of CANFestival CANopen Stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.0%
  • C++ 31.6%
  • C 9.6%
  • Other 1.8%