im trying to use the multiplexer below.
my question is how to calculate binary numbers out of decimal chiffres.
greetings
woo
Quote
hello vedran
let's take the mc14067 (http://www.onsemi.com/pub/Collateral/MC14067B-D.PDF) as an example
this is an 16 channel analogue multiplexer. i've use this a lot of times.
the code will look like this:
for (i=0; i <16; i++) {
write i in binary on 4 output pins
this selectes the input
val = analogRead(0)
store val somewhere or send it on
the serial port
}
let's take the mc14067 (http://www.onsemi.com/pub/Collateral/MC14067B-D.PDF) as an example
this is an 16 channel analogue multiplexer. i've use this a lot of times.
the code will look like this:
for (i=0; i <16; i++) {
write i in binary on 4 output pins
this selectes the input
val = analogRead(0)
store val somewhere or send it on
the serial port
}