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.
Revision 4:6d957989b372, committed 2021-01-14
- 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; };