biketrialsdave
New Member
Hey there, I have connected 7 digital inputs to a 28x (Input pins 1 to 7 - NOT including input pin 0 because that is already being used) and each of the 7 bits represents a binary value. Is there a way in picaxe to set a variable to just these pins to get a decimal value? I have seen something like b0 = pins but I think this assigns all the pins? Is there a way to set b0 so it is the decimal equivalent of the 7 bit binary on those input pins mentioned above?
Thanks for any help,
Dave
Thanks for any help,
Dave