retepsnikrep
Senior Member
I've seen this mythical `DIG` command mentioned in few threads for the x1 parts but can find no referrence to it in the Basic Manual
Does it exist?
What does it do?
Also
I have a line of code for
serout LcdVideo,N2400,(254,1) ;Clear Lcd Display
Pretty straightforward, but can I replace the 2400 with a variable?
i.e.
w0 = 2400
serout LcdVideo,Nw0,(254,1) ;Clear Lcd Display
I want to use the serout command in a subroutine and pass the speed to the routine as I'm talking to different devices which need different speeds.
I don't want loads of lines of serout commands if possible.
Thanks
Does it exist?
What does it do?
Also
I have a line of code for
serout LcdVideo,N2400,(254,1) ;Clear Lcd Display
Pretty straightforward, but can I replace the 2400 with a variable?
i.e.
w0 = 2400
serout LcdVideo,Nw0,(254,1) ;Clear Lcd Display
I want to use the serout command in a subroutine and pass the speed to the routine as I'm talking to different devices which need different speeds.
I don't want loads of lines of serout commands if possible.
Thanks