' --- Integer ----------
Wait 3 s
Cls
Locate 0, 0
Print "16 bit count"
Dim intCountx As Integer
For intCountx = 1000 To 2000
locate 1,4
Wait 100 us
Print intCountx
Wait 100 us
Next intCountx
It still prints ///0
It must be a shared variable between Print_Long and Print_Integer … ???? I suspect SysCalcTempX in LCD.h Print, it must be the remainder for long as for integer … but still searching :-).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I can't LCD16x2 print variable type Word or Integer correctly ! I can print Strings, Longs and Bytes, so LCD works.
Displays ////0
Program compiled by Great Cow BASIC (0.9 21/4/2013)
Pic16F628A
LCD 2x16, 8 data lines
Thanks
Forget this for now !
There is a problem but it's linked with previous code ??
Sorry
Here is the minimum code that bugs :
Integers can't be printed when Long are printed too ???
Thanks
Try adding a wait in the print loop.
I've found LCDs can be sensitive to too many bytes too quickly.
I tried what you suggested !
It still prints ///0
It must be a shared variable between Print_Long and Print_Integer … ???? I suspect SysCalcTempX in LCD.h Print, it must be the remainder for long as for integer … but still searching :-).