Update RC_Excavator_TX.ino and configuration.h

This commit is contained in:
Cory
2024-12-12 01:15:43 -05:00
parent 44e2c69233
commit 958dfaf44f
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -47,7 +47,7 @@ void setup() {
radio.openReadingPipe(1, address[0]);
memcpy(payload.message, "Hello", 6); //Set Payload Message
//memcpy(payload.message, "Hello", 6); //Set Payload Message
radio.stopListening(); //Put radio in TX mode
#include "configuration_input.h" //Input configuration
@@ -55,6 +55,9 @@ void setup() {
}
void loop() {
setMessage(); //Prepare value that will be sent
if (timer(BROADCAST_DELAY, 0)) {
unsigned long MSG_TIMER_START = micros(); //Begin message timer
+4 -1
View File
@@ -26,4 +26,7 @@ char TID = 'BB'; //RX device ID
//Byte array for inputs
int TX_CHANNELS[ NUM_CHANNELS+1 ][ 10 ] = {0};
int TX_CHANNELS[ NUM_CHANNELS+1 ][ 10 ] = {0};
//Default _MAX value
int DEFAULT_MAX = 1023;