library for C++ CANOpen implementation. mbed independant, but is easy to attach into with mbed.

Dependents:   ppCANOpen_Example DISCO-F746NG_rtos_test

Example:

Import programppCANOpen_Example

I am no longer actively working on the ppCANOpen library, however, I want to publish this project so that anyone who wants to pick up any of the pieces can have a good example. This is a a project I was working on using the ppCANOpen library. It has a pretty in deep use of the object dictionary structure. And a number of functions to control high voltage pinball drivers, if you're into that sort of thing.

Revision:
3:12b3c25bdeba
Parent:
2:c724ff3a4e4d
Child:
4:2034b04c86d2
--- a/include/canopen_api.h	Wed Dec 30 13:33:41 2015 +0000
+++ b/include/canopen_api.h	Mon Jan 04 06:10:49 2016 +0000
@@ -26,8 +26,8 @@
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef CANOPEN_API_H
-#define CANOPEN_API_H
+#ifndef PPCAN_CANOPEN_API_H
+#define PPCAN_CANOPEN_API_H
 
 #include "canopen_protocol.h"
 
@@ -35,13 +35,13 @@
 extern "C" {
 #endif
 
-    int CanOpenApiInit  (void);
+    int CanOpenApiInit  (CanOpenHandle * hCanOpen);
     
-    int CanOpenApiRead  (CanOpenMessage*);
-    int CanOpenApiWrite (CanOpenMessage*);
+    int CanOpenApiRead  (CanOpenHandle * hCanOpen, CanOpenMessage *canOpenMsg);
+    int CanOpenApiWrite (CanOpenHandle * hCanOpen, CanOpenMessage *canOpenMsg);
 
 #ifdef __cplusplus
 };
 #endif
 
-#endif /* CANOPEN_API_H */
\ No newline at end of file
+#endif /* PPCAN_CANOPEN_API_H */
\ No newline at end of file