Skip to content

buttons? #4

@fabriofabrio

Description

@fabriofabrio

so

I have add this instructions in loop code

          Serial.print("LeftX ");Serial.print(LastestState.LeftX); 
          Serial.print("LeftY ");Serial.print(LastestState.LeftY);  
          Serial.print("Right X");Serial.print(LastestState.RightX);  
          Serial.print("Right Y"); Serial.println(LastestState.RightY);

// Serial.print("square ");Serial.print(LastestState.square);
// Serial.print("cross ");Serial.print(LastestState.cross);
// Serial.print("circle ");Serial.print(LastestState.circle);
// Serial.print("triangle "); Serial.println(LastestState.RightY);
// Serial.print("l1 ");Serial.print(LastestState.l1 : 1);
// Serial.print("r1 ");Serial.print(LastestState.r1);
// Serial.print("l2 ");Serial.print(LastestState.l2);

work fine for the analog parts, but if I decommenting the buttons the compiler return error beacouse do not recognize the references buttons.

any ideas?
thank you

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