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.h
- Committer:
- kkoichy
- Date:
- 2016-05-30
- Revision:
- 2:3a8e39e5e13f
- Parent:
- 0:0f99b1d63054
- Child:
- 3:a70bff10b56c
File content as of revision 2:3a8e39e5e13f:
#ifndef CANOPEN_H #define CANOPEN_H #include "mbed.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