Open Garyb4321 opened 4 years ago
Line 81 of the Processing sketch should be text("BPM: " + BMP, 15, 10); rather than text("BPM: " + inByte, 15, 10);
Also, in calculateBPM (), averaging 500 beats is a bit unresponsive. 10 would be more reasonable.
Line 81 of the Processing sketch should be text("BPM: " + BMP, 15, 10); rather than text("BPM: " + inByte, 15, 10);
Also, in calculateBPM (), averaging 500 beats is a bit unresponsive. 10 would be more reasonable.