Simplified CANopen library for a CANopen slave device

Dependents:   SDC21XX_Motor SDC21XX_Motor

Files at this revision

API Documentation at this revision

Comitter:
kkoichy
Date:
Wed Jun 01 14:53:02 2016 +0000
Parent:
5:e3ca883a96e7
Commit message:
V1.4.1; Corrected a copy/paste error

Changed in this revision

CANopen_Node.h Show annotated file Show diff for this revision Revisions of this file
diff -r e3ca883a96e7 -r f98581f4455d CANopen_Node.h
--- a/CANopen_Node.h	Wed Jun 01 14:50:09 2016 +0000
+++ b/CANopen_Node.h	Wed Jun 01 14:53:02 2016 +0000
@@ -34,39 +34,4 @@
     
 }//end namespace
 
-#endif#ifndef CANOPEN_NODE_H
-#define CANOPEN_NODE_H
-
-#include "mbed.h"
-#include "CAN.h"
-
-
-namespace mbed {
-    class CANopen {
-        
-        public :
-            
-        CANopen(short _id, CAN * _can);
-        CANopen(short _id, CAN * _can, int _baud);
-        int Send_Initiate_SDO_Download(short index, short subindex, long data);
-        int Send_Initiate_SDO_Upload(short index, short subindex);
-        short GetNodeID(void);
-        void SetNodeID(short _id);
-        
-        private :
-        
-        
-        protected :
-        
-        short node_id;
-        CAN * can;
-        
-        
-        
-    };//end class
-    
-    
-    
-}//end namespace
-
 #endif
\ No newline at end of file