Skip to content

Commit

Permalink
Raised calibration voltage offset
Browse files Browse the repository at this point in the history
  • Loading branch information
MiLeG committed Nov 8, 2019
1 parent 16de00d commit 99c8452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MAKERphone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3649,7 +3649,7 @@ void MAKERphone::lockscreen()
if(measureCounter == 5)
{
meanMeasure = measureSum / 5;
if(digitalRead(CHRG_INT) && abs(1889 - meanMeasure) < 200
if(digitalRead(CHRG_INT) && abs(1889 - meanMeasure) < 250
&& buttons.timeHeld(BTN_1) > 0 && buttons.timeHeld(BTN_3) > 0
&& buttons.timeHeld(BTN_5) > 0 && buttons.timeHeld(BTN_7) > 0
&& buttons.timeHeld(BTN_9) > 0 && buttons.timeHeld(BTN_0) > 0) //safety checks before calibrating
Expand Down

0 comments on commit 99c8452

Please sign in to comment.