Have anyone gotten herserin to work with internal picaxe datacomm ?
I tried the exsample from the datasheets, the test led flashes fine, and the 28x1 prints "main: " all the time, but nothing else happens.
<code><pre><font size=2 face='Courier'>
#picaxe 28x1
hsersetup B4800_8, %00
main:
SerTxd("Main: ",@ptr,CR,LF )
hserin [1000,main],0,4‘ receive 4 bytes into sp
ptr = 0‘ reset sp pointer
hserout 0,(@ptrinc,@ptrinc,@ptrinc,@ptr)‘ echo out
goto main‘ loop
</font></pre></code>
<code><pre><font size=2 face='Courier'>
#picaxe 14m
b1=1
b2=10
b3=20
b4=30
do
serout 5,N4800_8,(b1,b2,b3,b4)
'Have tried T4800_8 too
toggle 4
pause 1000
b1=b1+1
b2=b2+1
b3=b3+1
b4=b4+1
loop
</font></pre></code>
Edited by - MORA99 on 19/06/2007 22:40:02
I tried the exsample from the datasheets, the test led flashes fine, and the 28x1 prints "main: " all the time, but nothing else happens.
<code><pre><font size=2 face='Courier'>
#picaxe 28x1
hsersetup B4800_8, %00
main:
SerTxd("Main: ",@ptr,CR,LF )
hserin [1000,main],0,4‘ receive 4 bytes into sp
ptr = 0‘ reset sp pointer
hserout 0,(@ptrinc,@ptrinc,@ptrinc,@ptr)‘ echo out
goto main‘ loop
</font></pre></code>
<code><pre><font size=2 face='Courier'>
#picaxe 14m
b1=1
b2=10
b3=20
b4=30
do
serout 5,N4800_8,(b1,b2,b3,b4)
'Have tried T4800_8 too
toggle 4
pause 1000
b1=b1+1
b2=b2+1
b3=b3+1
b4=b4+1
loop
</font></pre></code>
Edited by - MORA99 on 19/06/2007 22:40:02