Update sensor_extension.c function names to sensor

sim-fail-6
Alan Johnston 4 months ago committed by GitHub
parent 2a9161bc9e
commit 13929eaddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,24 +2,26 @@
// see Payload_BME280_MPU6050_XS_Extended for an example // see Payload_BME280_MPU6050_XS_Extended for an example
// put your library includes here // put your library includes here
#include "Arduino.h"
// put your globals here // put your globals here
// put your setup code 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 // put your loop code here
// Very Important: only use print, not println!! // 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 printf(" 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 monitor for testing
*/ */
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.