Skip to content

Commit

Permalink
Update PID_V10.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
seifeldin-sayed authored Dec 20, 2023
1 parent d6ebcc3 commit 4cdb4c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PID_V10.ino
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ void readIR()
void error()
{
switch(IR_READ[0]*16 + IR_READ[1]*8 + IR_READ[2]*4 + IR_READ[3]*2 + IR_READ[4]*1){
case 16:
currentError=6;
break;
case 24:
currentError=5;
break;
Expand Down Expand Up @@ -268,6 +271,9 @@ void error()
case 3:
currentError=-5;
break;
case 1:
currentError=-6;
break;
}
}
void servocnt()
Expand Down

0 comments on commit 4cdb4c0

Please sign in to comment.