But i cant find it.
I would like to use symbols to assign pin values on a 28x2 part
this returns a syntax error. it doesnt have to be on PortC, ive tried pin0.. outpin0..
suggestions? id rather not have to test the bit and do high led1_sda/low led1_sda
I would like to use symbols to assign pin values on a 28x2 part
Code:
symbol led1_sda = c.0
symbol led1_clk = c.1
symbol led1_cs = c.2
b1 = b0 & 1
led1_cs = 0
led1_sda = b1
led1_clk = 1
led1_clk = 0
led1_cs = 1
suggestions? id rather not have to test the bit and do high led1_sda/low led1_sda