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.
Diff: main.cpp
- Revision:
- 28:1a68053af917
- Parent:
- 27:210fe762fa94
--- 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);