It seems like the Lookup function along with PORTA.0(serpin) should work, but the only thing it does is output on pins RB0 and RB1.
Even if I write a simple program to turn on/off the pins, it still keeps addressing pins RB0 and RB1 only.
Am I missing something?
Thanks.
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:98px; overflow:auto"><div dir="ltr" style="text-align:left;">
B0 VAR BYTE
serpin VAR BYTE
loop:
For b0 = 0 TO 7
LookUp b0,[0,1,2,3,4,8,16,24],serpin
High PORTA.0(serpin)
Pause 500
Next b0
GoTo loop
<div>
Bookmarks