Hi Marcus, I finally got my 16Bit ILI9325 Display working on PIC32 OTG. Has some minors differences, because i use two 74HCT373 use only 8bit/pins (Whole PORT E in Conn3) from the board. What i can't figure out is, why when I remove the millis() function everything stop working. If I remove the whole line "printNumI(millis(), CENTER, 305);" the display stop working, but if just replace this line with this "millis();" everything start working again. Sounds weird.
There are several ITDB02. I have ITDB02-2.4D. Can I connect to a PIC32 Pinguino Micro. What links were made with OLIMEX Pinguino32? The Library was this used? https://code.google.com/p/pinguino32/source/browse/branches/x.3/p32/include/pinguino/libraries/itdb02/?r=296
I'm not using the Shield. I made the connections directly to the Pinguino 32 micro. And working with the links used in the library. Only by changing the library for the RB14 as I did in the code before crash.
14 comentários:
Great man..., i see you are not using port B, can you share your connections and change on the ITDB02 library?
Are you using 16 or 8 bit version?
Regards,
Pinnchus
Sorry, I meant port E
Pinnchus,
I using ITDB02 8bits version ...
I made all needed changes... and already committed to pinguino svn.
https://code.google.com/p/pinguino32/
Hi Marcus, I finally got my 16Bit ILI9325 Display working on PIC32 OTG. Has some minors differences, because i use two 74HCT373 use only 8bit/pins (Whole PORT E in Conn3) from the board.
What i can't figure out is, why when I remove the millis() function everything stop working.
If I remove the whole line "printNumI(millis(), CENTER, 305);" the display stop working, but if just replace this line with this "millis();" everything start working again.
Sounds weird.
Thanks a lot, great job!!!! Very Helpfully
I saw that error, and cant locate a reason for it... sorry. We need send it to Jp Mandon, pinguino leader.
There are several ITDB02. I have ITDB02-2.4D. Can I connect to a PIC32 Pinguino Micro.
What links were made with OLIMEX Pinguino32?
The Library was this used?
https://code.google.com/p/pinguino32/source/browse/branches/x.3/p32/include/pinguino/libraries/itdb02/?r=296
I used ITDB02 2.4" type D, out of production by now, with OLIMEX's Pinguino32 OTG
Will you help me?
I2c wanted to leave the door open. For that wanted to use RB14 instead of RD10.
itdb02_graph.h
PORTBbits.RB14 // pin 19 before PORTDbits.RD10
#define LCD_WR PORTDbits.RD1 // pin 18 before PORTDbits.RD9
#define LCD_CS PORTBbits.RB4 //pin 17
#define LCD_REST PORTBbits.RB3 //pin 16
But just does not work. What is the reason?
If you do it, you need connect RB14 to ITDB RS and cut RD10 pin on ITDB Shield or nowt use it and make all connections using wires.
The files are here:
http://goo.gl/N33Ae
I'm not using the Shield. I made the connections directly to the Pinguino 32 micro.
And working with the links used in the library.
Only by changing the library for the RB14 as I did in the code before crash.
Have you changed line 116 too?
#define dLCD_RS TRISDbits.TRISD10 //pin 19
to
#define dLCD_RS TRISBbits.TRISB14
Hi
Added the function fastDelay(); where the LCD it enter command mode and solved the problem
void LCD_Write_COM(int VH,int VL) {
fastWriteLow(LCD_RS);
fastDelay();
LCD_Writ_Bus(VH,VL);
}
very good! but this should work without this delay.
Postar um comentário