Scratchpad use with serin

Hi there,

I am wondering if anyone can give me a clue why the following causes serin to block but the code after doesn't.
Blocks

<code><pre><font size=2 face='Courier'>
ptr = 1 &#8216; reset scratchpad pointer to 1
serin,6,T2400,@ptrinc,@ptrinc,@ptrinc,@ptrinc,@ptrinc,@ptrinc,@ptrinc,@ptrinc,@ptr
</font></pre></code>
Doesn't block
<code><pre><font size=2 face='Courier'>
serin,6,T2400,b0,b1,b2,b3,b4,b5,b6,b7
ptr = 1 &#8216; reset scratchpad pointer to 1
@ptrinc = b0
@ptrinc = b1
@ptrinc = b2
@ptrinc = b3
@ptrinc = b4
@ptrinc = b5
@ptrinc = b6
@ptrinc = b7
</font></pre></code>

I would love to save the lines of code!

Thanks
Rich
 

Technical

Technical Support
Staff member
Plesae provide chip firmware version, software version and what you mean exactly by 'block'
 
Chip is 28x1, firmware version is A.2
Software version is 5.1.3
When I say block, the serin command freezes execution on picaxe. I use a timeout and it continues of course.

Thanks in advance

Rich
 

boriz

Senior Member
I would love to have a go at this. But I don't have a 28.

My advice would be to find a PICAXE forum and ask there. I can recommend the forum here: <A href='http://www.rev-ed.co.uk/picaxe/forum/default.asp' Target=_Blank>External Web Link</a>. They are always very helpful.
 
Top