Arduino-PS2X icon indicating copy to clipboard operation
Arduino-PS2X copied to clipboard

error message: "error does not name a type" while I have downloaded this library and included to the arduino library of version 1.8.9. It keeps on getting error message that error does not name a type. I am using arduino Due board for controlling a robot. I am stucked afterr installing this library to my IDE and couldn't able to get it out.

Open ansy8494 opened this issue 6 years ago • 2 comments

ansy8494 avatar Sep 22 '19 08:09 ansy8494

while I have downloaded this library and included to the arduino library of version 1.8.9. It keeps on getting error message that error does not name a type. I am using arduino Due board for controlling a robot. I am stucked afterr installing this library to my IDE and couldn't able to get it out.

error_msg

ansy8494 avatar Sep 22 '19 09:09 ansy8494

Hi, I believe that you need to have this line

int error = 0;

before the setup which declares 'error' as an integer. This is in the example code.

SerEpicPanda avatar Feb 06 '20 17:02 SerEpicPanda