Skip to content

breakouttouchpaint not compiling for Due #6

@jtouch

Description

@jtouch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions