Skip to content

'TXLED1' was not declared in this scope #1

@teewuane

Description

@teewuane

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions