16 bits on portb (by kawall)
hello, i have 2 sn74hc540 connected to the same port and i am able to read each chip using C code and assign each bit by name eg sw1,sw2 etc. So using LDMicro how can I read the byte of each sn74hc540 and assigned each bit by name . i want to ab able to say if SW1 then control coil ?. wish you all a good time and thank for any help.
label a bit as a example a START_Button (by kawall)
Hi my friend,
Thank you very much for the example.Now I would like to refer to a bit as a user label so in Rung a i can say if
Stop_SW then motor1 is on.
Have a good day
Regard.