blink twice after sending on Serial1

pico-payload-gps-mq-flag
alanbjohnston 3 years ago committed by GitHub
parent c360874967
commit b73a8a1d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3215,6 +3215,11 @@ void payload_OK_only()
Serial1.print(" MQ ");
Serial1.println(sensorValue); //,0);
blink(50);
delay(50);
blink(50);
if (mpuPresent) {
float rotation = sqrt(mpu6050.getGyroX()*mpu6050.getGyroX() + mpu6050.getGyroY()*mpu6050.getGyroY() + mpu6050.getGyroZ()*mpu6050.getGyroZ());
float acceleration = sqrt(mpu6050.getAccX()*mpu6050.getAccX() + mpu6050.getAccY()*mpu6050.getAccY() + mpu6050.getAccZ()*mpu6050.getAccZ());

Loading…
Cancel
Save

Powered by TurnKey Linux.