|
|
|
|
@ -46,13 +46,13 @@ void payload_loop() {
|
|
|
|
|
Serial1.print(uv.readVisible()); // Serial1 sends the sensor data to the Pi Zero for transmission
|
|
|
|
|
Serial1.print(" ");
|
|
|
|
|
Serial1.print(uv.readIR());
|
|
|
|
|
Serial1.print(" ");
|
|
|
|
|
// Serial1.print(" ");
|
|
|
|
|
|
|
|
|
|
Serial.print(" SI ");
|
|
|
|
|
Serial.print(uv.readVisible()); // Serial sends the sensor data to the Serial Monitor for debugging
|
|
|
|
|
Serial.print(" ");
|
|
|
|
|
Serial.print(uv.readIR());
|
|
|
|
|
Serial.print(" ");
|
|
|
|
|
// Serial.print(" ");
|
|
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
Serial1.print(" SI 0.0 0.0 ");
|
|
|
|
|
@ -70,7 +70,7 @@ void payload_loop() {
|
|
|
|
|
Serial.print(magRawAbs);
|
|
|
|
|
} else
|
|
|
|
|
{
|
|
|
|
|
Serial1.print("0.0");
|
|
|
|
|
Serial1.print(" LI 0.0");
|
|
|
|
|
Serial.print("0.0");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|