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.
Dependencies: mbed X_NUCLEO_PLC01A1 ros_lib_melodic
can_controller.h@1:ef4b86795d79, 2020-08-15 (annotated)
- Committer:
- yamadola
- Date:
- Sat Aug 15 09:09:33 2020 +0000
- Revision:
- 1:ef4b86795d79
- Parent:
- 0:43eb9ccc1583
- Child:
- 3:ea5cfd721b53
whole program without debugs
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| yamadola | 0:43eb9ccc1583 | 1 | #ifndef CAN_CONTROLLER_H |
| yamadola | 0:43eb9ccc1583 | 2 | #define CAN_CONTROLLER_H |
| yamadola | 0:43eb9ccc1583 | 3 | |
| yamadola | 0:43eb9ccc1583 | 4 | #include "mbed.h" |
| yamadola | 0:43eb9ccc1583 | 5 | |
| yamadola | 0:43eb9ccc1583 | 6 | class CANController{ |
| yamadola | 0:43eb9ccc1583 | 7 | private: |
| yamadola | 0:43eb9ccc1583 | 8 | CAN can1; |
| yamadola | 0:43eb9ccc1583 | 9 | public: |
| yamadola | 0:43eb9ccc1583 | 10 | CANController(); |
| yamadola | 0:43eb9ccc1583 | 11 | int sendMessage( uint16_t ID, char *msgData ); |
| yamadola | 1:ef4b86795d79 | 12 | void recieveMessage(); |
| yamadola | 0:43eb9ccc1583 | 13 | }; |
| yamadola | 0:43eb9ccc1583 | 14 | |
| yamadola | 0:43eb9ccc1583 | 15 | #endif |