Unable to print byte value on lcd

General discussion on mikroBasic PRO for 8051.
Post Reply
Author
Message
Roshan8051
Posts: 2
Joined: 09 Feb 2021 10:59

Unable to print byte value on lcd

#1 Post by Roshan8051 » 09 Feb 2021 11:13

Hi,

I am novice for 8051.

I am printing byte value on lcd in for next loop, but not working.
here is my code.

Code: Select all

'txt is string, declared in my program
for i = 1 to 10
       bytetostr(i,txt)
       lcd_out(2,5, txt)
       delay_ms(1000)
  next i

but it does not print as 1 to 10 in .
other printing on lcd working ok.

need help.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Unable to print byte value on lcd

#2 Post by filip » 11 Feb 2021 09:38

Hi,

What do you get on Lcd ?

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for 8051 General”