Skip to content

Commit facf2c9

Browse files
committed
Switch the example back to printing p2p.
1 parent eddcf6d commit facf2c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

libdevlpr.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Devlpr devlpr;
44

55
void printEMG(Devlpr *d) {
66
int result = d->windowPeakToPeakAmplitude();
7+
Serial.print("0 1024 ");
78
Serial.println(result);
89
}
910

@@ -15,8 +16,8 @@ void setup() {
1516
Serial.begin(2000000);
1617
// add our print function to our DEVLPR schedule
1718
// try to run once every 1ms
18-
//devlpr.scheduleFunction(printEMG, 1);
19-
devlpr.setFlexCallback(writeFlex);
19+
devlpr.scheduleFunction(printEMG, 1);
20+
//devlpr.setFlexCallback(writeFlex);
2021
}
2122

2223
void loop() {

0 commit comments

Comments
 (0)