Monday, November 02, 2015

Finally all the parts for the PS2 Controller are here! Visuino testing time...

Finally the PS2 shield arrived, and I have all the parts to start testing the Visuino support for it...
 Ready to test with Visuino

Special thanks to Mark for sending it. Check out the robot he is building:

2 comments:

ryan said...

My PS2 controller uses a USB port hook-up and I have all the various expansion boards if I don't have room to host it directly onto the main. I only get serial feedback when I use a mega, but even then it's scrambled. Uploading the circuit using your tutorial is very helpful, but I receive this error notice when I try and upload the code to the Arduino: Arduino: 1.6.7 Hourly Build 2015/12/04 02:17 (Windows 10), Board: "Arduino Leonardo"
C:\Users\HP Lab\Downloads\Arduino\libraries\Mitov\Generated\Generated.ino: In function 'void setup()':
Generated:62: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'
Declarations::PS2Controller1.Sensors.push_back( ASensor );
Generated:67: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'

Declarations::PS2Controller1.Sensors.push_back( ASensor );

^

Generated:72: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'

Declarations::PS2Controller1.Sensors.push_back( ASensor );

^

Generated:77: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'

Declarations::PS2Controller1.Sensors.push_back( ASensor );

^

Generated:82: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'

Declarations::PS2Controller1.Sensors.push_back( ASensor );

^

Generated:87: error: request for member 'Sensors' in 'Declarations::PS2Controller1', which is of non-class type 'Mitov::PS2ControllerSerial()'

Declarations::PS2Controller1.Sensors.push_back( ASensor );

What does this mean? I'm rather new, so it's most likely a very simple issue.
thank you in advance

Boian Mitov said...

Hi ryan,

Thank you!
I just tested it, and it worked fine :-( .
I selected Leonardo both in Visuino and the Arduino IDE, created a test project with the PS2 component, and it all compiled fine.
Can you contact me over Skype - bmitov so I can see what is going wrong on your system?
You can also join the https://plus.google.com/communities/116125623808250792822 and get some help from the members there.