Search found 6 matches

by kshehaly
25 Aug 2015 13:47
Forum: mikroPascal PRO for PIC Beta Testing
Topic: lcd cursor
Replies: 5
Views: 3661

Re: lcd cursor

that's how i display the characters. i put the displayTime routine in the main method inside the while(1) loop unsigned int minute=3; unsigned int hour=3; unsigned int second=0; unsigned int msec=0; unsigned int days=2; unsigned int months=7; char *secs="00"; char *mins="00"; char *hours="00"; char ...
by kshehaly
25 Aug 2015 10:33
Forum: mikroPascal PRO for PIC Beta Testing
Topic: lcd cursor
Replies: 5
Views: 3661

Re: lcd cursor

i didnt finish the project yet and the cursor part isn't written yet
im using pic16f877a and of course programming with mikroc
by kshehaly
24 Aug 2015 15:47
Forum: mikroPascal PRO for PIC Beta Testing
Topic: lcd cursor
Replies: 5
Views: 3661

lcd cursor

I am making a digital clock. so when i want to set it i should press a button til the cursor appear then i move it left and right.
the problem is when the cursor appears it moves across the lcd screen very quickly in a crazy way. so plz how can i solve that problem?
thank you
by kshehaly
01 Jul 2015 02:19
Forum: mikroPascal PRO for PIC Beta Testing
Topic: lcd displays wrong digits
Replies: 2
Views: 2526

lcd displays wrong digits

i am trying to make a digital clock displayed on a 16x2 lcd using an interrupt. it worked until for example the seconds reaches 59. it then holds the right digit and updates the left digit. then after a while it holds the left digit and update the right digit. please can you help me on this thanks i...
by kshehaly
30 Jun 2015 10:36
Forum: mikroPascal PRO for PIC Beta Testing
Topic: cant display correct values on lcd
Replies: 3
Views: 3102

Re: cant display correct values on lcd

i use custom hardware. but what do u believe is wrong in initializing the lcd ?
thank you
by kshehaly
30 Jun 2015 02:04
Forum: mikroPascal PRO for PIC Beta Testing
Topic: cant display correct values on lcd
Replies: 3
Views: 3102

cant display correct values on lcd

when i run this code in proteus the hours digits doesnt appear i use pic16f877a with 4mhz crystal this is mycode: // Lcd pinout settings sbit LCD_RS at RB0_bit; sbit LCD_EN at RB1_bit; sbit LCD_D4 at RB4_bit; sbit LCD_D5 at RB5_bit; sbit LCD_D6 at RB6_bit; sbit LCD_D7 at RB7_bit; // Pin direction sb...

Go to advanced search