You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this need to be defined up above with the reset of the defines?
Or does something need to be imported?
Full error message:
Arduino: 1.6.9 (Mac OS X), Board: "Arduino/Genuino Uno"
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void setup()':
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino:143:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
flash_led(5, 100, 500);
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void loop()':
rc_car_throttle_limiter:205: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:207: error: 'TXLED0' was not declared in this scope
TXLED0;
^
rc_car_throttle_limiter:218: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:247: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:266: error: 'TXLED1' was not declared in this scope
TXLED1;
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino:271:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
flash_led(5, 100, 500);
^
rc_car_throttle_limiter:287: error: 'TXLED0' was not declared in this scope
TXLED0;
^
rc_car_throttle_limiter:291: error: 'TXLED1' was not declared in this scope
TXLED1;
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void flash_led(uint8_t, uint8_t, uint8_t)':
rc_car_throttle_limiter:404: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:406: error: 'TXLED0' was not declared in this scope
TXLED0;
^
exit status 1
'TXLED1' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
I just created some functions called TXLED1 and TXLED0 which tell the LED on pin 13 to turn on and off. Next step is to make the braking feature optional since one of my ESCs does not have braking. It just goes straight to reverse.
TXLED1 and TXLED0 are defines available on some Arduino boards, such as the Micro.
I forked the original sources and added support in the same way for Nano bards.
On Nano board the inbuilt led on pin 13 is used correspondingly, see: Trickx@5dfeef8
Additionally, I pull request was originated.
Does this need to be defined up above with the reset of the defines?
Or does something need to be imported?
Full error message:
Arduino: 1.6.9 (Mac OS X), Board: "Arduino/Genuino Uno"
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void setup()':
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino:143:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
flash_led(5, 100, 500);
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void loop()':
rc_car_throttle_limiter:205: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:207: error: 'TXLED0' was not declared in this scope
TXLED0;
^
rc_car_throttle_limiter:218: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:247: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:266: error: 'TXLED1' was not declared in this scope
TXLED1;
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino:271:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
flash_led(5, 100, 500);
^
rc_car_throttle_limiter:287: error: 'TXLED0' was not declared in this scope
TXLED0;
^
rc_car_throttle_limiter:291: error: 'TXLED1' was not declared in this scope
TXLED1;
^
/Users/teewuane/Projects/rccar/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter/rc_car_throttle_limiter.ino: In function 'void flash_led(uint8_t, uint8_t, uint8_t)':
rc_car_throttle_limiter:404: error: 'TXLED1' was not declared in this scope
TXLED1;
^
rc_car_throttle_limiter:406: error: 'TXLED0' was not declared in this scope
TXLED0;
^
exit status 1
'TXLED1' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: