I get the following errors. It seems like the TouchScreen library assumes different types than are used in the Due. Is there a simple fix for this?
Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Due (Programming Port)"
TouchScreen.cpp: In member function 'TSPoint TouchScreen::getPoint()':
TouchScreen.cpp:57: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:58: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:59: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:60: error: invalid conversion from 'Pio* const' to 'uint8_t'
I fixed this by changing "uint8_t" to "Pio".
Not sure if there's a fix that is compatible with other devices.
I get the following errors. It seems like the TouchScreen library assumes different types than are used in the Due. Is there a simple fix for this?
Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Due (Programming Port)"
TouchScreen.cpp: In member function 'TSPoint TouchScreen::getPoint()':
TouchScreen.cpp:57: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:58: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:59: error: invalid conversion from 'Pio* const' to 'uint8_t'
TouchScreen.cpp:60: error: invalid conversion from 'Pio* const' to 'uint8_t'
I fixed this by changing "uint8_t" to "Pio".
Not sure if there's a fix that is compatible with other devices.