uncomment v
This commit is contained in:
parent
fc2266fb34
commit
55dc602329
22
can/can.ino
22
can/can.ino
@ -58,17 +58,17 @@ void loop() {
|
|||||||
lcd.print(" km/h ");
|
lcd.print(" km/h ");
|
||||||
delay(400);
|
delay(400);
|
||||||
}
|
}
|
||||||
//case 0x209 : {
|
case 0x209 : {
|
||||||
// int16_t ubat = buf[0] | (buf[1] << 8);
|
int16_t ubat = buf[0] | (buf[1] << 8);
|
||||||
// int ubatr = ubat / 16;
|
int ubatr = ubat / 16;
|
||||||
// Serial.print(ubat);
|
Serial.print(ubat);
|
||||||
// Serial.println();
|
Serial.println();
|
||||||
// lcd.setCursor(0, 1);
|
lcd.setCursor(0, 1);
|
||||||
// lcd.print("ubat = ");
|
lcd.print("ubat = ");
|
||||||
// lcd.print(ubatr);
|
lcd.print(ubatr);
|
||||||
// lcd.print(" V ");
|
lcd.print(" V ");
|
||||||
// delay(400);
|
delay(400);
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user