Update soft ... bug with "seconds" position resolved. See attach.
![]()
Update soft ... bug with "seconds" position resolved. See attach.
![]()
What is wrong here ?! Macro buffer overflow ...
Thanks !
![]()
Hi All,
Sorry to hijack the thread but I thought this was the best place to put it...
Attached my code example to write big characters to the Nokia 3310 LCD using custom fonts to smooth the normally large chunky characters (made with FastLCD). I have a weird fault where the breadboard setup works fine however exact hardware and code on a pcb works in every aspect apart from displaying the Big characters! Both run from the internal oscillator at 4Mhz and if serial is included there is no corruption observed on either.
As shown in the photo the left display (pcb cover) works fine connected to the big breadboard while the plain LCD connecting to the veroboard/ZIF socket/small breadboard runs except no Big characters. Swapping PIC's (identical code) or LCD's between the two makes no difference. The board is setup with a DS18B20 for temperature measurements but the code has fixed values for display testing.
Does anyone have an idea on why this doesn't run off the breadboard? One would expect it to be the other way round due all the additional inter-capacitance of the protoboard but not so in this case... My o'scope is an old one with limited bandwidth so I can't really see much difference between both sets of waveforms and suspect timing is an issue however including delays in Shiftout makes no difference.
While on the subject I want to use a bigger PIC for greater code space and settled on a 16F1847 but there are errors and it won't compile when using the "GLCD_NOKIA.bas" include file from Mr.E - who can't be thanked enough for his hard work in developing this Include. My asm skills are zilch so any help appreciated. The config allows for testing the same code with this device.
I hope my example is of use to others, these are very basic LCD's but cheap and plentiful so I think will be with us for a while, ironing out some bugs is worth the effort and I am sure will apply to other displays as well.
Kind regards,
Bill
Nokia Big Chars.zip
Bookmarks