Ok, further to my LED driving project....
I have been able to get the serin to trigger selecting the right digits but only by sending (from the terminal in prog editor) the five variables one at a time. In other words, this....
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
goto main
works fine, but this...
serin 1,n2400,#b1, #b2, #b3, b4, #b5
let b0 = b1
gosub test
let b0 = b2
gosub test
let b0 = b3
gosub test
let b0 = b4
gosub test
let b0 = b5
gosub test
goto main
doesn't. Am I sending the data from the editor wrong? How do I send the five digit number as five seperate variables?
Richard
I have been able to get the serin to trigger selecting the right digits but only by sending (from the terminal in prog editor) the five variables one at a time. In other words, this....
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
serin 1,n2400,#b1
let b0 = b1
gosub test
goto main
works fine, but this...
serin 1,n2400,#b1, #b2, #b3, b4, #b5
let b0 = b1
gosub test
let b0 = b2
gosub test
let b0 = b3
gosub test
let b0 = b4
gosub test
let b0 = b5
gosub test
goto main
doesn't. Am I sending the data from the editor wrong? How do I send the five digit number as five seperate variables?
Richard