Hi,

I tried to use the code above but it dosen't work, I'm using PBP 2.45,
does anyone could give me any tips about it?


Ciao
Alan

Joka kuritta kasvaa se kunniatta kuole


Quote Originally Posted by Ingvar
You can address each pin on the pic by offsetting from Porta.0, the syntax is PortA.0(index). Index 0-7 accesses PortA0-7, index 8-15 accesses PortB0-7, index 16-23 accesses PortC0-7 and so on.
Code:
'      address   0  1  2  3  4  5  6 .....  
'               a0 a1 a5 b0 b1 b5 b7 .....
Lookup address,[00,01,05,08,09,13,15 .....],SerPin
SerOut2 PortA.0(SerPin),baud,["output string",10,13]