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
Revision 4:a7a4d56f8809, committed 2022-11-07
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 12:37:08 2022 +0000
- Parent:
- 3:c35610b8c2a2
- Commit message:
- change to RawSerial pc(USBTX,USBRX,9600);
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 07 12:31:50 2022 +0000 +++ b/main.cpp Mon Nov 07 12:37:08 2022 +0000 @@ -1,9 +1,8 @@ #include"mbed.h" -RawSerial pc(USBTX,USBRX); +RawSerial pc(USBTX,USBRX,9600); int main(){ - pc.baud(9600); int i1=7; float i2=7.5; char i3='H';