Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3209
    Anonymous
    Inactive

    I am having issues getting this to work… I keep getting the PS2X class to work correctly. I have the library in the correct folder and everything. Any help would be great. This even happens when I use the Example code included in the library. Here is the error log:

     

    PS2X_Example:3: error: ‘PS2X’ does not name a type
    PS2X_Example.pde: In function ‘void setup()’:
    PS2X_Example:17: error: ‘ps2x’ was not declared in this scope
    PS2X_Example.pde: In function ‘void loop()’:
    PS2X_Example:68: error: ‘ps2x’ was not declared in this scope
    PS2X_Example:70: error: ‘GREEN_FRET’ was not declared in this scope
    PS2X_Example:72: error: ‘RED_FRET’ was not declared in this scope
    PS2X_Example:74: error: ‘YELLOW_FRET’ was not declared in this scope
    PS2X_Example:76: error: ‘BLUE_FRET’ was not declared in this scope
    PS2X_Example:78: error: ‘ORANGE_FRET’ was not declared in this scope
    PS2X_Example:82: error: ‘STAR_POWER’ was not declared in this scope
    PS2X_Example:85: error: ‘UP_STRUM’ was not declared in this scope
    PS2X_Example:87: error: ‘DOWN_STRUM’ was not declared in this scope
    PS2X_Example:91: error: ‘PSB_START’ was not declared in this scope
    PS2X_Example:93: error: ‘PSB_SELECT’ was not declared in this scope
    PS2X_Example:97: error: ‘ORANGE_FRET’ was not declared in this scope
    PS2X_Example:100: error: ‘WHAMMY_BAR’ was not declared in this scope
    PS2X_Example:106: error: ‘ps2x’ was not declared in this scope
    PS2X_Example:108: error: ‘PSB_START’ was not declared in this scope
    PS2X_Example:110: error: ‘PSB_SELECT’ was not declared in this scope
    PS2X_Example:114: error: ‘PSB_PAD_UP’ was not declared in this scope
    PS2X_Example:116: error: ‘PSAB_PAD_UP’ was not declared in this scope
    PS2X_Example:118: error: ‘PSB_PAD_RIGHT’ was not declared in this scope
    PS2X_Example:120: error: ‘PSAB_PAD_RIGHT’ was not declared in this scope
    PS2X_Example:122: error: ‘PSB_PAD_LEFT’ was not declared in this scope
    PS2X_Example:124: error: ‘PSAB_PAD_LEFT’ was not declared in this scope
    PS2X_Example:126: error: ‘PSB_PAD_DOWN’ was not declared in this scope
    PS2X_Example:128: error: ‘PSAB_PAD_DOWN’ was not declared in this scope
    PS2X_Example:132: error: ‘PSAB_BLUE’ was not declared in this scope
    PS2X_Example:140: error: ‘PSB_L3’ was not declared in this scope
    PS2X_Example:142: error: ‘PSB_R3’ was not declared in this scope
    PS2X_Example:144: error: ‘PSB_L2’ was not declared in this scope
    PS2X_Example:146: error: ‘PSB_R2’ was not declared in this scope
    PS2X_Example:148: error: ‘PSB_GREEN’ was not declared in this scope
    PS2X_Example:154: error: ‘PSB_RED’ was not declared in this scope
    PS2X_Example:157: error: ‘PSB_PINK’ was not declared in this scope
    PS2X_Example:160: error: ‘PSB_BLUE’ was not declared in this scope
    PS2X_Example:164: error: ‘PSB_L1’ was not declared in this scope
    PS2X_Example:164: error: ‘PSB_R1’ was not declared in this scope
    PS2X_Example:167: error: ‘PSS_LY’ was not declared in this scope
    PS2X_Example:169: error: ‘PSS_LX’ was not declared in this scope
    PS2X_Example:171: error: ‘PSS_RY’ was not declared in this scope
    PS2X_Example:173: error: ‘PSS_RX’ was not declared in this scope

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.