Multiplexing with 74HC4067


#21

Cool:) Maybe also change the names of in/ouputs to match that in the drawing in the beginning of the thread: instead of a,b,c,d maybe S0,S1,S2,S3 etc:)


#22

When I made the library, it was in relation to logica digital, I will update it for the board, what is your board hc4067?


#23

I dont remember (im not at home right now). But maybe base it on this, since its very popular with the arduino: https://www.sparkfun.com/products/9056


#24

In your link, there is a “byte-to-bits” node. I cant seem to find it anywhere. Where do I find it? Thanks


#25

and MERRY CHRISTMAS!:slight_smile:


#26

And another thing: It would be nice, if the “read4067” node, had distinct outputs for each input (0-15). Right now, it only has 1 output, the VAL. Maybe even a “combined VAL”, and “Out0 VAL”, “OUT1 VAL”, “Out2 VAL”, etc etc. This is only a suggestion of course:)


#27

it here example-hc595.xodball

update

Happy Holidays! :clinking_glasses:

When I did, I thought about using the same entry selector to activate each internal process by taking a single exit.
But it’s a good idea, I’ll keep it in mind. Only now there is a limitation of outputs to do it in C ++, I’ll see what I can do


#28

THANKS:) In my specific project, i want to take the 16 inputs, and store them and possibly manipulate them, so having access to each one of them woul be amazing:)


#29

test update cesars/4067 :slightly_smiling_face:

fix S0…S3


#30

Looking great! Karma should be your best friend:)


#31

Had a look at your exmple file, and i cant seem to find the bytes to bit node in it?:slight_smile: Just whenever you have time. No stress!
Another thing:
Using your latest node, i get an error:


#32

byte to bits is there in the example, I just downloaded it

In your patch I do not understand the function of the nodes on the left, they are not necessary


#33

try again, at the first error, it seems to be a bug

test4067


#34

Yes, the nodes on the left are just left-overs from som experimentation:) And found the bytes to bits. Will try later today. (away from my arduino.


#35

the error refers to a gate node, not defined.
already defined, library updated


#36

Ah. Ok, my mistake then.Sorry!


#37

new error:


#38

version library is 3.0.7? try again

I tested it in a clean installation and just downloading the library, and I did not have that error, tested in 2 PC without error


#39

Very weird. Yes 3.0.7 I just updated it again, and i get the same error.


Weirdness. Im in the newest XOD version. v0.25.3 (2018-11-22)

This is the code for the gate:
image

image


#40

oh, fix OUT1 gate(number) to C0, OUT2 is an error, maybe of its installation, because here it does not happen