hi, i need to program an INTEL8051 to interface APR6008, and i've got the code everything is clear regarding this but a few like
"int incomingByte = 0;
int proceso = 0;"
and
"void loop(){
digitalWrite(7,HIGH);
if(digitalRead(2) == HIGH){
incomingByte = 49;
}
else if(digitalRead(3) == HIGH){
incomingByte = 50;
}
else if(digitalRead(4) == HIGH){
incomingByte = 51;
}
clock();
if(incomingByte == 49){
if(proceso == 0){
grabaPrimero();
proceso = 1;
}
else{
if(digitalRead(5) == LOW){
graba();
}
}
}
"
please elaborate what are the "incomingByte 49,50,51 ? and 'proceso'