Browse Source

Only vbat reads directly without using formula...

master
Englebert 4 years ago
parent
commit
2ea16b0da0
  1. 2
      OpenFlightTX.ino

2
OpenFlightTX.ino

@ -1003,7 +1003,7 @@ void read_all_voltage() {
// roll_raw = analogRead(ROLL_PIN);
// Hardcode to increase the value a bit...
roll_raw = read_voltage(ROLL_PIN) + 150;
vbat_raw = read_voltage(VBAT_PIN);
vbat_raw = analogRead(VBAT_PIN);
// Serial.print("T:");Serial.print(throttle_raw);Serial.print(" Y:");Serial.print(yaw_raw);Serial.print(" P:");Serial.print(pitch_raw);Serial.print("R:");Serial.println(roll_raw);

Loading…
Cancel
Save