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 28:1a68053af917, committed 2022-11-07
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 14:38:02 2022 +0000
- Parent:
- 27:210fe762fa94
- Commit message:
- rawserial;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 17 03:38:18 2020 +0000
+++ b/main.cpp Mon Nov 07 14:38:02 2022 +0000
@@ -1,12 +1,11 @@
#include "mbed.h"
#include "HEPTA_CDH.h"
-Serial pc(USBTX,USBRX);
+RawSerial pc(USBTX,USBRX,9600);
HEPTA_CDH cdh(p5, p6, p7, p8, "sd");
int main()
{
- pc.baud(9600);
pc.printf("Hello world!\r\n");
char str[100];
mkdir("/sd/mydir", 0777);