i want to print numbres from 0 to 10 and display it on LCD as below


I var byte

main
i=0
for i=0 to 10

serout 2,2,[#I]

next I
goto main

but i note the first number will be 1 not 0, i tried to change idea as below

I var byte
Z var byte
main
z=0
for i=0 to 10
serout 2,2,[#z]
z=z+1
next I
goto main

but the problem still exist
any idea to solve that ?