diff --git a/sensor_extension.c b/sensor_extension.c index 5b8dd2ec..7172ea5f 100644 --- a/sensor_extension.c +++ b/sensor_extension.c @@ -2,24 +2,26 @@ // see Payload_BME280_MPU6050_XS_Extended for an example // put your library includes here -#include "Arduino.h" + // put your globals here // put your setup code here -void payload_setup() { +void sensor_setup() { -// Serial.println("Starting new sensor!"); + printf("Starting new sensor!"); } // put your loop code here // Very Important: only use print, not println!! -void payload_loop() { +void sensor_loop() { + + printf("Reading new sensor!"); /* - Serial1.print(" NEW 0.0"); // send sensor data over serial to Pi Zero - Serial.print(" NEW 0.0"); // send sensor data over serial monitor for testing + printf(" NEW 0.0"); // send sensor data over serial to Pi Zero + printf(" NEW 0.0"); // send sensor data over serial monitor for testing */ }