In the old days when I used older picaxe chip if I want the output pins to represent a binary number I typed
pins = b1
I'm in the process of switching to 18M2's
my code
lookup hr_ten, (63,6,91,79, 102,109, 125, 7, 127,111,0,64), onrelay
let pinsb = onrelay
On the simulator the correct variable is shown in "outpinsB"
How do I get this value to pins to drive the darlington chip
I've played with setting the B port to be outputs , but have got myself in a pickle, any help please
Tim
pins = b1
I'm in the process of switching to 18M2's
my code
lookup hr_ten, (63,6,91,79, 102,109, 125, 7, 127,111,0,64), onrelay
let pinsb = onrelay
On the simulator the correct variable is shown in "outpinsB"
How do I get this value to pins to drive the darlington chip
I've played with setting the B port to be outputs , but have got myself in a pickle, any help please
Tim