Rihito Ohata / Mbed 2 deprecated 1-CAN-th2mot-mbed2-01_02

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
asu_paragast
Date:
Thu Jan 14 07:48:33 2021 +0000
Parent:
3:43a6f6157fcf
Commit message:
After changing the segment

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Sep 17 07:09:17 2020 +0000
+++ b/main.cpp	Thu Jan 14 07:48:33 2021 +0000
@@ -27,7 +27,7 @@
 
 char c_sent=0, c_read=0;   // counters of sent and read
 char dseg[8]={0xFF, 0x01, 0x00, 0x64, 0x00, 0x80, 0x00, 0x00};  //data_segment
-
+char dseg[9]={0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
 //  byte manipu using the union Hoge, char MUST be unsigned.
 union Hoge{ unsigned char c[2]; uint16_t ii; };