Hi, I'm traying to read a RS-232 barcode scanner setup in 9600-8-N-1, to a 18X picaxe.
I tried to read a 13 digits barcode, with this code:
'------------------------------------------------------------
main:
setfreq m8
serin 6, N4800,b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12
debug
goto main
'------------------------------------------------------------
Nothing ever happens when I scan the barcode. The variables never fill.
I checked with windows HyperTerminal that the barcode scanner is sending correctly.
Any Ideas ?
Thanks,
Kakolon
I tried to read a 13 digits barcode, with this code:
'------------------------------------------------------------
main:
setfreq m8
serin 6, N4800,b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12
debug
goto main
'------------------------------------------------------------
Nothing ever happens when I scan the barcode. The variables never fill.
I checked with windows HyperTerminal that the barcode scanner is sending correctly.
Any Ideas ?
Thanks,
Kakolon