Hi,
I am using one of the demos but changed the pic to 16f887. The SDO line goes hi and stay there. After a while it go down to lo. The SCK line shows a clock present but not the SDO line. Here is the code. Could someone please help me by showing me where I made a mistake? The ILI9341 does not respond to the program and show a black screen.
Hi Anobium,
Tks for the reply. I did drop the voltage to 3.3V on the display. But it still does not work. There is no output from the 16F887 chip on the SDO pin. It still go hi for a second or two, then drop low again. No pulses out of the SDO pin. The clock is there, but no data out of the SDO pin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tks Anobium. I found I had voltage drop resistors on the SDI line which dropped the voltage on the Pin beyond the minimum value for the pic to read. The display is now showing "65504" in stead of "Test of the ILI9341 Device" text. At last some progress.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using one of the demos but changed the pic to 16f887. The SDO line goes hi and stay there. After a while it go down to lo. The SCK line shows a clock present but not the SDO line. Here is the code. Could someone please help me by showing me where I made a mistake? The ILI9341 does not respond to the program and show a black screen.
Check the voltage.
Your program looks good.
Drop the VDD to 3v3. Then, it should work.
Hi Anobium,
Tks for the reply. I did drop the voltage to 3.3V on the display. But it still does not work. There is no output from the 16F887 chip on the SDO pin. It still go hi for a second or two, then drop low again. No pulses out of the SDO pin. The clock is there, but no data out of the SDO pin.
Ah... maybe you program is not correct...
remove
Tks Anobium. I found I had voltage drop resistors on the SDI line which dropped the voltage on the Pin beyond the minimum value for the pic to read. The display is now showing "65504" in stead of "Test of the ILI9341 Device" text. At last some progress.
Problem solved. I had ILI9341_YELLOW also in the same line. Question: how do I set the text color?
Thank you so much for your support.
Pleasure. Post your working code. I want to ensure I know your context.
Want a quick answer. Use WhatsApp:
https://chat.whatsapp.com/BDW6l9tSlP7Ao7CF867Xn4
Last edit: Anobium 2023-09-26
Tks, I found the syntext. All solved now, thank you for your support, much appreciated as I am not that good with programming.
Well done.
You figured out the syntax, so, your skills are improving!!