Escape char for "\" ??
Hi all,
please try this code below - ·the "\" char prints as "¥"
am I to "escape seq" the "\" char?
thanks, ALIBE
please try this code below - ·the "\" char prints as "¥"
am I to "escape seq" the "\" char?
thanks, ALIBE
CON
_clkmode = xtal1 + pll16x ' use crystal x 16
_xinfreq = 5_000_000
OBJ
lcd : "serial_lcd"
delay : "timing"
PUB main | Cycle
if lcd.start(0, 19200, 2)
Cycle:=string("-\|/")
lcd.cls ' setup screen
lcd.backlight(1) ' backlight on
lcd.gotoxy(0,1)
lcd.str(Cycle)

Comments
the parallax 2 line Serial LCD.
thanks for catching that.
So, is the only way to showing a "\" is by defining a DAT custom char?
thanks all