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: HEPTA_CDH HEPTA_COM HEPTA_EPS HEPTA_SENSOR mbed
Revision 28:3aee7c60f4c2, committed 2022-11-07
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 14:56:46 2022 +0000
- Parent:
- 27:6f3dec57c1d5
- Commit message:
- rawserial
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 22 02:24:02 2020 +0000
+++ b/main.cpp Mon Nov 07 14:56:46 2022 +0000
@@ -1,9 +1,8 @@
#include "mbed.h"
#include "HEPTA_EPS.h"
-Serial pc(USBTX,USBRX);
+RawSerial pc(USBTX,USBRX,9600);
HEPTA_EPS eps(p16,p26);
int main() {
- pc.baud(9600);
int flag = 0; // condition
float btvol;
for(int i = 0; i < 100; i++) {