Search found 9 matches
- 23 Jun 2010 08:03
- Forum: mikroC General
- Topic: help in scrolling the text on lcd
- Replies: 1
- Views: 2040
help in scrolling the text on lcd
hi i am using PIC 16f877A and 2x16 LCD. i want to scroll the text across the lcd (left to right). i already wrote code to display the text but i dnt know how to scroll it. plz help me. void main() { LCD_Config(&PORTD,1,0,2,7,6,5,4); // LCD pins that are connected to PIC at PORTD LCD_Cmd(LCD_CLEAR); ...
- 17 Jun 2010 05:19
- Forum: mikroC General
- Topic: help in mikroC code plz
- Replies: 3
- Views: 6590
help in mikroC code plz
dear all, i want to make a program that when B0 is pressed it should display the count and wen B1 is pressed it should clear the count and display the text message. the problem with my code is that it displays the count wen i press B0 (switch at B0) but wen i press B1 it doesnt exit the previous loo...
- 17 Jun 2010 04:42
- Forum: mikroC PRO for PIC General
- Topic: plz help in my coin counter project
- Replies: 9
- Views: 2869
Re: plz help in my coin counter project
where can i get help on this code then??
- 17 Jun 2010 04:41
- Forum: mikroC PRO for PIC General
- Topic: plz help me in mikroC programm
- Replies: 1
- Views: 1039
plz help me in mikroC programm
dear all, i want to make a program that when B0 is pressed it should display the count and wen B1 is pressed it should clear the count and display the text message. the problem with my code is that it displays the count wen i press B0 (switch at B0) but wen i press B1 it doesnt exit the previous loo...
- 14 Jun 2010 06:57
- Forum: mikroC PRO for PIC General
- Topic: plz help in my coin counter project
- Replies: 9
- Views: 2869
Re: plz help in my coin counter project
Thanks a lot... i did it in other way as well. it compiled correctly without any errors. can u plz check the code out int i; char txt[5]; void main() { i = 0; PORTB = 0; TRISB.F0 = 1; //PORT B0 as input // RB0 as input switch TRISB.F1 = 1; //PORT B1 as input switch 2 TRISB.F2 = 0; //PORT B2 as Outpu...
- 12 Jun 2010 10:27
- Forum: mikroC PRO for PIC General
- Topic: plz help in my coin counter project
- Replies: 9
- Views: 2869
Re: plz help in my coin counter project
thanks a lot for reply...im sory, dnt kow much abut forums. i new to this forum... i have to make a coin counting machine. i already got all the necessary hardware. i am having problem in programming. i want that when switch at RB0 is pressed it should increment the value of i and then display the i...
- 12 Jun 2010 07:06
- Forum: mikroC PRO for PIC General
- Topic: plz help in my coin counter project
- Replies: 9
- Views: 2869
plz help in my coin counter project
void main() { int i; PORTB = 0; TRISB.F0 = 1; //PORT B0 as input // RB0 as input switch1 PIC 16f877A TRISB.F1 = 1; //PORT B1 as Output //RB1 input swtich 2 TRISB.F2 = 0; //PORT B2 as Output TRISB.F3 = 0; //PORT B3 as Output TRISB.F4 = 0; //PORT B4 as Output TRISB.F5 = 0; //PORT B5 as Output TRISB.F6...
- 12 Jun 2010 07:03
- Forum: mikroBasic PRO for PIC General
- Topic: prolem with code plz help...here is my code
- Replies: 2
- Views: 1220
Re: prolem with code plz help...here is my code
thanks a lot
- 11 Jun 2010 11:48
- Forum: mikroBasic PRO for PIC General
- Topic: prolem with code plz help...here is my code
- Replies: 2
- Views: 1220
prolem with code plz help...here is my code
void main() { int i; PORTB = 0; TRISB.F0 = 1; //PORT B0 as input // RB0 as input switch1 PIC 16f778A TRISB.F1 = 1; //PORT B1 as Output //RB1 input swtich 2 TRISB.F2 = 0; //PORT B2 as Output TRISB.F3 = 0; //PORT B3 as Output TRISB.F4 = 0; //PORT B4 as Output TRISB.F5 = 0; //PORT B5 as Output TRISB.F6...