Skip to content

variable or field 'enterState' declared void #10

@kc0hwi

Description

@kc0hwi

I've gotten this to work about a month ago on another board, but now when I try to upload I get the errors below. Everything "looks" fine but I can't seem to figure the error out.

BattleBot-Control:46: error: variable or field 'enterState' declared void
BattleBot-Control:46: error: 'RobotState' was not declared in this scope
Multiple libraries were found for "Servo.h"
Used: C:\Users\Miranda\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo
Not used: C:\Program Files (x86)\Arduino\libraries\Servo
variable or field 'enterState' declared void

Follow-up: I tried creating a separate tab for the enum stuff, including it in the sketch, it gave a host of other errors. So, I finally uninstalled Arduino IDE, deleted all data, libraries, sketches and started over. The only thing I tried differently was decline the library update dialog and everything compiled, uploaded, and worked just fine.

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