I can get the PS2X lib to work with an Arduino Uno, but due to library problems, is does not work with an Arduino Due. I get messages such as this:
C:\Users\osman\Documents\Arduino\libraries\PS2X_lib\PS2X_lib.cpp:185:9: error: invalid conversion from ‘Pio*’ to ‘uint32_t {aka long unsigned int}’ [-fpermissive]
lport = digitalPinToPort(clk);
The problem stems from the fact that the Due is not an AVR, and it seems that some of the AVR libs have not been ported to the Due yet. Has anyone been successful getting the PS2X lib to work with a Due?
TIA,
Osman
Trackbacks / Pingbacks