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.
Diff: main.cpp
- Revision:
- 4:6d957989b372
- Parent:
- 3:43a6f6157fcf
--- 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; };