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_EPS HEPTA_SENSOR mbed
Revision 4:1a901da37868, committed 2022-11-08
- Comitter:
- csmk18112
- Date:
- Tue Nov 08 03:17:58 2022 +0000
- Parent:
- 3:9aa5bd32a90d
- Commit message:
- ka
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Aug 19 04:27:02 2022 +0000
+++ b/main.cpp Tue Nov 08 03:17:58 2022 +0000
@@ -2,7 +2,7 @@
#include "HEPTA_EPS.h"
#include "HEPTA_SENSOR.h"
-Serial pc(USBTX, USBRX);
+RawSerial pc(USBTX,USBRX,9600);
HEPTA_EPS eps(p16,p26);
HEPTA_SENSOR sensor(p17,
p28,p27,0x19,0x69,0x13,
@@ -10,7 +10,6 @@
int main()
{
- pc.baud(9600);
float ax,ay,az;
for(int i = 0; i<50; i++) {
sensor.sen_acc(&ax,&ay,&az);