New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tft.readID() finds: ID = 0xC5C #170
Comments
In C:\Users...\Documents\Arduino\libraries\Mcufriend_kbv\utility\mcufriend_special.h
Un-comment the appropriate macro. e.g. USE_OPENSMART_SHIELD_PINOUT_MEGA Thanks. I will update the how_to.txt file to say appropriate: USE_OPENSMART_SHIELD_PINOUT_xxxx Do you have HX8352A or HX8352B ? If you have HX8352A I might appreciate your assistance. You might need to use the Beta on GitHub instead of the Release-v2.9.9 David. |
1 . Sorry, I missed you do not support Leonardo |
Do you have HX8352A or HX8352B ? It should work with Uno. It could work with Leonardo (if you really want). Personally, I think that the Open-Smart Shield is a bit pointless. David. |
It's HX8352A. Can you suggest better shield? Leonardo is not required, I jsut tried what I have. |
I don't have a HX8352A. But am fairly confident that the HX8352A (ID=0x5252) code should work ok with the Uno. Enable If you can describe any problem, I can probably sort it out. I do have an Open-Smart HX8352B to compare with. However Himax controllers vary considerably with the suffix-letter. If Leonardo is important, I can add it. But Leo USB bootloader and CDC code uses up a lot of Flash. David. |
Full serial output;
tft.readID() finds: ID = 0xC5C
MCUFRIEND_kbv version: 2.9.9
This ID is not supported
look up ID in extras/mcufriend_how_to.txt
you may need to edit MCUFRIEND_kbv.cpp
to enable support for this ID
e.g. #define SUPPORT_8347D
New controllers appear on Ebay often
If your ID is not supported
run LCD_ID_readreg.ino from examples/
Copy-Paste the output from the Serial Terminal
to a message in Displays topic on Arduino Forum
or to Issues on GitHub
Note that OPEN-SMART boards have diff pinout
Edit the pin defines in LCD_ID_readreg to match
Edit mcufiend_shield.h for USE_SPECIAL
Edit mcufiend_special.h for USE_OPENSMART_SHIELD_PINOUT
==================================================================
Eshop suggest this:
uncomment "#define USE_SPECIAL" in utility/mcufriend_shield.h
uncomment "#define USE_OPENSMART_SHIELD_PINOUT" in utility/mcufriend_special.h
uncomment "#define SUPPORT_8352A" (or SUPPORT_8352B, in new cersions) in /mcufriend_kbv.cpp
https://www.laskarduino.cz/open-smart-240x400-barevny-lcd-tft-displej-3-2-shield-arduino/
But;
There is no USE_OPENSMART_SHIELD_PINOUT in mcufiend_special.h
The text was updated successfully, but these errors were encountered: