PIC16F1939
Did everything right!
But all shifted !!!
ILI9341 16bit It's not working
Moderator: Benj
ILI9341 16bit It's not working
- Attachments
-
- DISPLAY.fcfx
- Disp
- (9.7 KiB) Downloaded 191 times
-
- Prog
- FC8_ILI9341_16b.jpg (27.92 KiB) Viewed 3478 times
-
- File
- Disp.jpg (111.31 KiB) Viewed 3478 times
- 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: ILI9341 16bit It's not working
Hello,
I have exposed the component macros LCD_Write_Reg and LCD_Write_Data8. These should allow you to play around with the various register on the display to try and remove the offset. I've pushed this new version to the update system now.
I'm guessing it's something like the vertical scrolling or vertical scroll start address that's at fault on your display though there are lots of registers so I could easily be wrong. Look at the ILI9341 datasheet and find the registers I'm talking about and maybe others.
For the vertical scrolling command you would send the command like this.
LCD_Write_Reg (0x33) //Command
LCD_Write_Data8 (0xXX) //Parameter 1
LCD_Write_Data8 (0xXX) //Parameter 2
LCD_Write_Data8 (0xXX) //Parameter 3
LCD_Write_Data8 (0xXX) //Parameter 4
LCD_Write_Data8 (0xXX) //Parameter 5
LCD_Write_Data8 (0xXX) //Parameter 6
Keep playing until you get something different and that's when you may be on the right track.
Hope this helps.
I have exposed the component macros LCD_Write_Reg and LCD_Write_Data8. These should allow you to play around with the various register on the display to try and remove the offset. I've pushed this new version to the update system now.
I'm guessing it's something like the vertical scrolling or vertical scroll start address that's at fault on your display though there are lots of registers so I could easily be wrong. Look at the ILI9341 datasheet and find the registers I'm talking about and maybe others.
For the vertical scrolling command you would send the command like this.
LCD_Write_Reg (0x33) //Command
LCD_Write_Data8 (0xXX) //Parameter 1
LCD_Write_Data8 (0xXX) //Parameter 2
LCD_Write_Data8 (0xXX) //Parameter 3
LCD_Write_Data8 (0xXX) //Parameter 4
LCD_Write_Data8 (0xXX) //Parameter 5
LCD_Write_Data8 (0xXX) //Parameter 6
Keep playing until you get something different and that's when you may be on the right track.
Hope this helps.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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: ILI9341 16bit It's not working
Hi Osta
What registers did you try changing?
If you count how many pixels your off by then I can add a new offset property for you to override the problem via the component.
What registers did you try changing?
If you count how many pixels your off by then I can add a new offset property for you to override the problem via the component.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: ILI9341 16bit It's not working
Hi Benj!!!
I have to go away on business !
When I get back, I'll check!
Osta.
I have to go away on business !
When I get back, I'll check!
Osta.
Re: ILI9341 16bit It's not working
Hi Benj!!!
I'll check and answer this weekend.
With respect Osta.
I'll check and answer this weekend.
With respect Osta.
- 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: ILI9341 16bit It's not working
Continued here.
viewtopic.php?f=78&t=21182
viewtopic.php?f=78&t=21182
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel