PS2_Controller.spin works on pin0 but not on pin 19 !FIXED!
seconika
Posts: 18
Now it works..
I found a thread where "Timmoore" helped with some code for a nother project.
Timmoore made a new PS2_Controller.spin and you can download it from the thread.
http://forums.parallax.com/showthread.php?114956-Using-the-PROP-MOTOR-HB-25-PS2-REMOTE.
With this code everything works fine.
I'm new in programing propeller chip and therefore I can't explain why the new file works and the old don't.
But Im happy for now!.
Regards
Niklas
OLD POST
Hi,
Im using the PS2_Controller.spin and all is working fine until I try to use it on another port/pin.
I have set it up with pin0 as "Firstpin" and then i read the values from the Sony controller and show them on a LCD screen. Everything perfect.
Now I need the pin 0, 1, 2, 3, 4, 5 and 6 for other stuff and would like to move the PS2 to Pin19.
Pin 19, 20, 21, 22, 23 are free and would suit me perfect.
Bur when I do that and change the "Firstpin" to 19 it wont work....
Anybody that can help me with this??
Regards,
Niklas
I found a thread where "Timmoore" helped with some code for a nother project.
Timmoore made a new PS2_Controller.spin and you can download it from the thread.
http://forums.parallax.com/showthread.php?114956-Using-the-PROP-MOTOR-HB-25-PS2-REMOTE.
With this code everything works fine.
I'm new in programing propeller chip and therefore I can't explain why the new file works and the old don't.
But Im happy for now!.
Regards
Niklas
OLD POST
Hi,
Im using the PS2_Controller.spin and all is working fine until I try to use it on another port/pin.
I have set it up with pin0 as "Firstpin" and then i read the values from the Sony controller and show them on a LCD screen. Everything perfect.
Now I need the pin 0, 1, 2, 3, 4, 5 and 6 for other stuff and would like to move the PS2 to Pin19.
Pin 19, 20, 21, 22, 23 are free and would suit me perfect.
Bur when I do that and change the "Firstpin" to 19 it wont work....
Anybody that can help me with this??
Regards,
Niklas