![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Test2
Dependencies: MAX30003 max32630fthr DS1307
Diff: main.cpp
- Revision:
- 14:1a643834b33b
- Parent:
- 13:0e7bbc06083f
- Child:
- 15:0356e9454a60
--- a/main.cpp Tue Sep 29 19:19:28 2020 +0000 +++ b/main.cpp Thu Oct 08 20:53:30 2020 +0000 @@ -19,7 +19,7 @@ void ecg_config(MAX30003 &ecgAFE); //BufferedSerial pc(P3_1,P3_0); // Use USB debug probe for serial link static Unbuffered -static BufferedSerial pc(TARGET_TX_PIN, TARGET_RX_PIN, 9600); +static BufferedSerial pc(TARGET_TX_PIN, TARGET_RX_PIN, 115200); //Serial uart_1(USBTX, USBRX); // Use USB debug probe for serial link static Unbuffered // @@ -136,7 +136,7 @@ { - if (timer_fast.read() >= 0.95) + if (timer_fast.read() >= 0.99) { //t.start(); //ledA = !ledA;