Pi Touch screen programming

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
stuartwili
Posts: 5
Joined: Tue Sep 01, 2020 11:23 am
Contact:

Pi Touch screen programming

Post by stuartwili »

hi,
i want to program a Pi with the standard 7" touch screen that is available through the Pi Hut. i am using flow code V8 is there any examples programs available to use as a base starting point, that i could adapt.
cheers stuart

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Pi Touch screen programming

Post by Steve »

I've personally not used that display with the Pi, but other users may have. Although I have searched these forums and not found any relevant posts.

Hopefully someone who has used it will be able to help.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Pi Touch screen programming

Post by Benj »

Hello,

Do you know what controller the display uses and what style of interface the display is using to connect to the RPI pins?

Do you have a link to the display?

You may find that the Pi already has a driver to be able to control the display and then you can simply use the existing GLCD RPI component to draw to the display like you can with the HDMI display interface.

chipfryer27
Valued Contributor
Valued Contributor
Posts: 617
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 195 times
Contact:

Re: Pi Touch screen programming

Post by chipfryer27 »

Hi

Despite having various Pi devices I've only ever used them "headless".

The WaveShare devices are popular "generic" screens and I believe that the display is usually connected via HDMI with the Touchscreen (based on the XPT2046) connected via SPI. So I would try the FC Raspberry Pi HDMI component for the display and the FC Touchscreen (XPT2046) component, both found under Displays.

Unfortunately I don't have any screen to try.

Regards

Edit
Sorry, forgot you are using FC v8. The touchscreen is under "sensors".

Post Reply