3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Not for this display I'm afraid as it uses a buffered parallel connection. The non-shield version uses an SPI interface if that is of any use:
viewtopic.php?f=75&t=2843
Although note that the touch screen on this display requires a separate interface.
viewtopic.php?f=75&t=2843
Although note that the touch screen on this display requires a separate interface.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
-
- Posts: 30
- Joined: Thu Dec 31, 2020 1:22 pm
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
I should have waited for this reply before I bought one. Hey-ho.
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Yeah sorry I think that was a case of bad timing. We can always arrange a return if you don’t want it.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
-
- Posts: 30
- Joined: Thu Dec 31, 2020 1:22 pm
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
No problem,
Before I start the struggle. Another basic question. Are the TX and RX pins available. I'd like to use a MAX485 transfer module with this.
Cheers
Before I start the struggle. Another basic question. Are the TX and RX pins available. I'd like to use a MAX485 transfer module with this.
Cheers
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
I assume on the Arduino? If so then yes, according to the schematic the Tx and Rx pins (and digital pin 2) on the shield aren't connected to anything.Another basic question. Are the TX and RX pins available
You will have to find some way of getting access to the Arduinos header though as the shield physically blocks access to it.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Hello, i am new to display and i have recently gotten myself an open-smart ili9327 3.2 inch display and my wish is to use it with lvgl to create a keyboard. The problem is when i connect it all and calibrate the display only one corner of the display works as touchscreen as a scaled down version. I draw in the middle of that area and it shows me im drawing on the middle of the display. Every other part except that corner is unresponsive. Could it be a wiring problem since i tried adafruits touch test ans every part worked.
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Hi,
I have just tried to use the library for display HCARDU109 and get so many errors I am not sure where to start.
Bob
I have just tried to use the library for display HCARDU109 and get so many errors I am not sure where to start.
Regards,In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:77:0:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\hardware/HX8352B_Shield.cpp:736:6: error: prototype for 'void Display::_DWriteCol(int16_t, int16_t, uint8_t, const char*)' does not match any in class 'Display'
void Display::_DWriteCol(int16_t x, int16_t y, uint8_t ByteRows, const char Data[])
^~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.h:92:0,
from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:64:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\hardware/HX8352B_Shield.h8: error: candidate is: void Display::_DWriteCol(int16_t, int16_t, uint8_t, const uint8_t*)
void _DWriteCol(int16_t x, int16_t y, uint8_t ByteRows, const uint8_t *Data);
^~~~~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:77:0:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\hardware/HX8352B_Shield.cpp:780:6: error: prototype for 'void Display::_DPlotCol(int16_t, int16_t, uint8_t, const char*)' does not match any in class 'Display'
void Display::_DPlotCol(int16_t x, int16_t y, uint8_t ByteRows, const char Data[])
^~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.h:92:0,
from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:64:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\hardware/HX8352B_Shield.h8: error: candidate is: void Display::_DPlotCol(int16_t, int16_t, uint8_t, const uint8_t*)
void _DPlotCol(int16_t x, int16_t y, uint8_t ByteRows, const uint8_t *Data);
^~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp: In member function 'void HCDisplay::Contrast(uint8_t)':
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:243:2: error: 'DContrast' was not declared in this scope
DContrast(mode);
^~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay\HCDisplay.cpp:243:2: note: suggested alternative: 'Contrast'
DContrast(mode);
^~~~~~~~~
Contrast
exit status 1
Compilation error: exit status 1
Bob
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
I have just tried to use the library for display HCARDU109 and get so many errors I am not sure where to start.
My apologies for the slow response. For some odd reason your post was flagged by our forums approvals system and was missed until now.
It looks like the HX8352B support got broken by the V1.2.1 update. I have updated the library to version (V1.2.2) which should hopefully fix this. This update is currently available via the first post on the libraries forum thread here:
viewtopic.php?f=58&t=2827&p=7132
Assuming you still want to try it, just download the new version (1.2.2), unzip it, and copy it over your existing version.
Any feedback will be appreciated. I will upload to github and PlatformIO once I’m sure the issue has been fixed.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Hi,
I am still having issues. I tried copying it over and then deleting the directories and installing it and still does not compile.
Bob
I am still having issues. I tried copying it over and then deleting the directories and installing it and still does not compile.
Bob
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_793339\HCDisplay_Big_Demo.ino: In function 'void Intro()':
C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_793339\HCDisplay_Big_Demo.ino:132:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
PrintCentre("Hello!", Scale, ResY / 2 - (Scale * 8 / 2));
^
C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_793339\HCDisplay_Big_Demo.ino:138:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
PrintCentre("Hobby Components", 2, (ResY / 2) - 68);
^
C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_793339\HCDisplay_Big_Demo.ino:139:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
PrintCentre("HCDisplay", 4, (ResY / 2) - 36);
^
C:\Users\Admin\AppData\Local\Temp\arduino_modified_sketch_793339\HCDisplay_Big_Demo.ino:140:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
PrintCentre("Library Demo", 2, (ResY / 2) + 12);
^
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:77:0:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\hardware/HX8352B_Shield.cpp:736:6: error: prototype for 'void Display::_DWriteCol(int16_t, int16_t, uint8_t, const char*)' does not match any in class 'Display'
void Display::_DWriteCol(int16_t x, int16_t y, uint8_t ByteRows, const char Data[])
^~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.h:92:0,
from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:64:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\hardware/HX8352B_Shield.h8: error: candidate is: void Display::_DWriteCol(int16_t, int16_t, uint8_t, const uint8_t*)
void _DWriteCol(int16_t x, int16_t y, uint8_t ByteRows, const uint8_t *Data);
^~~~~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:77:0:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\hardware/HX8352B_Shield.cpp:780:6: error: prototype for 'void Display::_DPlotCol(int16_t, int16_t, uint8_t, const char*)' does not match any in class 'Display'
void Display::_DPlotCol(int16_t x, int16_t y, uint8_t ByteRows, const char Data[])
^~~~~~~
In file included from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.h:92:0,
from C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:64:
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\hardware/HX8352B_Shield.h8: error: candidate is: void Display::_DPlotCol(int16_t, int16_t, uint8_t, const uint8_t*)
void _DPlotCol(int16_t x, int16_t y, uint8_t ByteRows, const uint8_t *Data);
^~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp: In member function 'void HCDisplay::Contrast(uint8_t)':
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:243:2: error: 'DContrast' was not declared in this scope
DContrast(mode);
^~~~~~~~~
C:\Users\Admin\Documents\Arduino\libraries\HCDisplay-main\HCDisplay.cpp:243:2: note: suggested alternative: 'Contrast'
DContrast(mode);
^~~~~~~~~
Contrast
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Re: 3.2" TFT Shield with resistive touch (HCARDU0109 & HCARDU0111)
Hi,
I am still having issues. I tried copying it over and then deleting the directories and installing it and still does not compile.
Bob
Sorry about that. I’ve now re-uploaded it to the same place. It’s still version 1.2.2 but dated 12/06/24:
viewtopic.php?f=58&t=2827&p=7132
Hopefully all errors are fixed now!
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.