3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

RGV250
Posts: 6
Joined: Sat Dec 05, 2015 7:04 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by RGV250 » Wed Jun 12, 2024 12:27 pm

Hi,
I still get errors. Am I doing something wrong as the GitHub shows version 1.2.1 as the latest?

Bob

andrew
Site Admin
Posts: 1407
Joined: Sun Aug 05, 2012 4:15 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by andrew » Wed Jun 12, 2024 1:52 pm

I still get errors. Am I doing something wrong as the GitHub shows version 1.2.1 as the latest?
Ah - I haven't pushed it to GitHub yet because I want to confirm it's fixed first. For the moment you'll need to get it from the software section of our forum. Just go to the libraries forum thread here:

viewtopic.php?f=58&t=2827

Towards the bottom of the first post you'll see a section titled 'Downloads' and version 1.2.2 of the library will be at the top of the list.

If you still have trouble finding it let me know and I'll post it here.


EDIT: Actually this direct link should work so long as you're logged in: download/file.php?id=894
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RGV250
Posts: 6
Joined: Sat Dec 05, 2015 7:04 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by RGV250 » Thu Jun 13, 2024 8:13 am

Hi,
Thanks, it compiles now but I have not got time to test it on the hardware. I Should have time tonight or tomorrow.

Bob

RGV250
Posts: 6
Joined: Sat Dec 05, 2015 7:04 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by RGV250 » Thu Jun 13, 2024 10:34 am

Hi,
just to let you know it works but I got a strange message when uploading. Compile is fine with no issues. It runs so no issues there but.
Upload gives "Invalid library found in C:\Users|Admin\Documents\Arduino\libraries\HCDisplay-main: no header files (.h) found in C:\Users|Admin\Documents\Arduino\libraries\HCDisplay-main

Bob

andrew
Site Admin
Posts: 1407
Joined: Sun Aug 05, 2012 4:15 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by andrew » Thu Jun 13, 2024 3:48 pm

just to let you know it works
That's great and thank you very much for taking the trouble to check it and get back to me.


Upload gives "Invalid library found in C:\Users|Admin\Documents\Arduino\libraries\HCDisplay-main: no header files (.h)
It sounds like you may have more than one copy of the HCDisplay library in your Arduino library folder. A couple of things to check:

1) Open up your Arduino libraries folder which on your computer looks like it’s in the following path:

C:\Users\Admin\Documents\Arduino\libraries

Check that in the libraries folder there isn't more than one HCDisplay folder.

Maybe one called HCDisplay and one called HCDisplay-main?


2) In the folder called HCDisplay-main are there any files in it? In particular one called HCDisplay.h?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

RGV250
Posts: 6
Joined: Sat Dec 05, 2015 7:04 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by RGV250 » Thu Jun 13, 2024 6:25 pm

Hi,
There were 2 folders, the HCDisplay-main only seemed to have examples in it. Strange as I don't think it was there when I imported the library?
I deleted it and now it uploads without any strange messages.

Bob

andrew
Site Admin
Posts: 1407
Joined: Sun Aug 05, 2012 4:15 pm

Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)

Post by andrew » Fri Jun 14, 2024 8:00 am

There were 2 folders, the HCDisplay-main only seemed to have examples in it. Strange as I don't think it was there when I imported the library?

Ah good. The reason why you’ll have had two folders is because you’ve downloaded the library from both GitHub and the website. The proper library folder name is just HCDisplay but when you download it from GitHub it appends the -main onto the end of the zip file. So when it gets unzipped to your library folder it keeps the HCDisplay-main naming.

This will happen with any library you download from GitHub but in reality it doesn't matter what a library folder is named as long as there is only ever one copy of it in your arduino\libraries folder.

Anyway, thanks again for letting me know. I’ll get the 1.2.2 update pushed to GitHub as soon as possible.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply

Return to “Arduino Shields”