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 SerialMultiByte
Revision 3:b2298d306097, committed 2021-01-23
- Comitter:
- LVRhase01
- Date:
- Sat Jan 23 13:04:42 2021 +0000
- Parent:
- 1:4975fece403d
- Commit message:
- changed deta to data.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Oct 14 11:32:49 2020 +0000
+++ b/main.cpp Sat Jan 23 13:04:42 2021 +0000
@@ -8,11 +8,11 @@
{
arduino.setHeaders(127,127);
arduino.startReceive(8);//
- uint8_t deta[9];
+ uint8_t data[9];
while(true) {
- arduino.getData(deta);
+ arduino.getData(data);
for (uint8_t i = 0; i < 8; i++) {
- pc.printf("%d",deta[i]);
+ pc.printf("%d",data[i]);
pc.printf("\t");
}
pc.printf("\n");