Update Payload_BME280_MPU6050_XS.ino print calibration

beta-cal
Alan Johnston 2 years ago committed by GitHub
parent 97ab2defc8
commit 1a89ad8a2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -388,7 +388,8 @@ void loop() {
eeprom_word_write(calibration * 2 + 4 , (int)(temp * 10.0) + 0.5);
eeprom_word_write(calibration * 2 + 5, sensorValue);
calibration = (calibration++) % 2;
calibration = (calibration + 1) % 2;
Serial.println(calibration + 1);
if (EEPROM.commit()) {
Serial.println("EEPROM successfully committed");

Loading…
Cancel
Save

Powered by TurnKey Linux.