Update RC_Excavator_TX.ino and configuration.h
This commit is contained in:
+4
-1
@@ -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
@@ -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;
|
||||
Reference in New Issue
Block a user