[SOLVED] Learn not copy and paste(0 to 99 in mikroc) counting

Status
Not open for further replies.

alimemory

Junior Member level 1
Joined
Jun 19, 2014
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Nigeria
Activity points
119
Hi step by step i will get anything i want
2 days back i learned how to drive 7segment.
worked normal from 0 to 9.
I need help,idea path,explanation to continue it from 9,10,11,12,13........you wish.
Thanks¡î¡î¡î¡î¡î¡î¡î¡î¡î¡î¡î¡î¡î¡î
 

LCD Interfacing
MikroC Pro Code
Code:
// LCD module connections
sbit LCD_RS at RB3_bit;
sbit LCD_EN at RB3_bit;
sbit LCD_D4 at RC4_bit;
sbit LCD_D5 at RC5_bit;
sbit LCD_D6 at RC6_bit;
sbit LCD_D7 at RC7_bit;
sbit LCD_RS_Direction at TRISB2_bit;
sbit LCD_EN_Direction at TRISB3_bit;
sbit LCD_D4_Direction at TRISC4_bit;
sbit LCD_D5_Direction at TRISC5_bit;
sbit LCD_D6_Direction at TRISC6_bit;
sbit LCD_D7_Direction at TRISC7_bit;
// End LCD module connections
void main()
{
 Lcd_Init(); // Initialize LCD
 Lcd_Cmd(_LCD_CLEAR); // Clear display
 Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
 Lcd_Out(1,1,"Hello World");//Write text'Hello
World' in first row
}
LIKE THIS?
 
Last edited by a moderator:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…