You calling me a BLIND old man now? Darn thought I was safe hiding here on this Internet thingy. HaHa
Code:
' Dev.Board: EasyPIC5
' Oscillator: HS, 8.000 MHz
' Ext. Modules: None
' SW: mikroBasic v5.0 or higher
' * NOTES:
' None
' *)
program GlcdTest
include "__Lib_images"
dim
ii as byte
jj as word
someText as string[20]
sub procedure delay2S
delay_ms(2000)
end sub
main:
Glcd_Init(PORTB, 0, 1, 2, 3, 5, 4, PORTD) ' Init for EasyPIC5 board
Glcd_Fill(0xAA)
delay2S
while TRUE
Glcd_Fill(0x00)
Glcd_Image( truck_bmp )
delay2S
Glcd_Fill(0x00)
Notice the SW version v5.0 and up in mine and yours has 7.0.
My example came straight off the CD that came with the board.
And yes I <b>really</b> do need new glasses, I have an appointment Wednesday. LOL
What really makes me upset is the fact you had just pointed out that issue with my code for the LCD.
But to be fair I wrote the code for the LCD myself and I <b>assumed</b> that MikroBasic added the Port setup for you in the example.
I lost the manual when I was born and can't find the brightness knob!
Bookmarks