Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CANopen_Node by
CANopen_Node.h
- Committer:
- kkoichy
- Date:
- 2016-06-01
- Revision:
- 4:edb55099ea3b
- Parent:
- CANopen.h@ 3:a70bff10b56c
- Child:
- 5:e3ca883a96e7
File content as of revision 4:edb55099ea3b:
#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