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.
main.cpp@0:1779b0a23b09, 2021-04-29 (annotated)
- Committer:
- e2011220
- Date:
- Thu Apr 29 03:16:39 2021 +0000
- Revision:
- 0:1779b0a23b09
- Child:
- 1:a9cd302df0c5
f
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| e2011220 | 0:1779b0a23b09 | 1 | #include "mbed.h" |
| e2011220 | 0:1779b0a23b09 | 2 | #include "Serial_Writer.h" |
| e2011220 | 0:1779b0a23b09 | 3 | |
| e2011220 | 0:1779b0a23b09 | 4 | Serial_Writer TWE(A0,A1,115200); |
| e2011220 | 0:1779b0a23b09 | 5 | int main(void){ |
| e2011220 | 0:1779b0a23b09 | 6 | int16_t bit_[4]={10,20,30,40}; |
| e2011220 | 0:1779b0a23b09 | 7 | while(true){ |
| e2011220 | 0:1779b0a23b09 | 8 | TWE.write(bit_,30); |
| e2011220 | 0:1779b0a23b09 | 9 | } |
| e2011220 | 0:1779b0a23b09 | 10 | } |