cps not cpm
Opened this issue · 0 comments
Bovbjergdk commented
Thank for this update. It works fine, but in order to measure in counts per minute CPM you need to multiply wit 60 in those two lines:
cpm = 60 * (counts - lastCounts) / PERIOD_LOG ;
int averageCPM = 60 * (counts) / PERIOD_THINKSPEAK;
Kind regards
Jens