HEPTA-Sat Training 2022
/
Lab3-03_detect_battery_voltage_hex
HeptaSat
Revision 27:e1060a85b032, committed 20 months ago
- Comitter:
- RyusukeIwata
- Date:
- Mon Nov 07 14:44:34 2022 +0000
- Parent:
- 26:e0f46da1ff13
- Commit message:
- raw;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e0f46da1ff13 -r e1060a85b032 main.cpp --- a/main.cpp Wed Aug 21 18:29:15 2019 +0000 +++ b/main.cpp Mon Nov 07 14:44:34 2022 +0000 @@ -1,12 +1,11 @@ #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); float bt_dec; char bt_hex[4]; for(int i = 0; i < 10; i++) {