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
Diff: can_controller.h
- Revision:
- 3:ea5cfd721b53
- Parent:
- 1:ef4b86795d79
--- a/can_controller.h	Sat Aug 15 09:21:36 2020 +0000
+++ b/can_controller.h	Sun Aug 30 06:39:43 2020 +0000
@@ -5,11 +5,14 @@
 
 class CANController{
 private:
-    CAN can1;
+    CAN _can1;
+    CANMessage _rmsg;
 public:
     CANController();
     int sendMessage( uint16_t ID, char *msgData );
-    void recieveMessage();
+    unsigned char* recieveMessage( uint16_t ID );
+    
+    unsigned char *_NoData;
 };
 
 #endif
\ No newline at end of file