Quick 28x1 question ?

flak

New Member
How do i make a symbol point to a portc pin if i want to use it as a logic output if portc are inputs as default do i first toggle the pin to an output then assign the symbol ?
 

westaust55

Moderator
Try:

SYMBOL my_output = 5 ; This is the pin/bit on the portC

Then within the program:

HIGH PortC my_output
LOW PortC my_output


See PICAXE Manual 2 page 82
 
Top