Hello there
I currently work on a project multiplexing resistive wire, I'm a beginner in electronics and I would divert the use of multiplexing system for controlling resistors to distribute heat through a screen-printed paper. I realize myself my screen printing with thermochromic ink. I've done several tests and conclusive enough for the moment I would like to know how to change this
//Broche connectée au ST_CP du 74HC595
const int verrou = 11;
//Broche connectée au SH_CP du 74HC595
const int horloge = 12;
//Broche connectée au DS du 74HC595
const int data = 10;
void setup() {
//On met les broches en sortie
pinMode(verrou, OUTPUT);
pinMode(horloge, OUTPUT);
pinMode(data, OUTPUT);
}
void loop() {
for (int i = 0; i < 8; i++) {
//On active le verrou le temps de transférer les données
digitalWrite(verrou, LOW);
//on envoie la donnée
//On va décaler l'octet 00000001 i fois puis l'envoyer
shiftOut(data, horloge, LSBFIRST, ~(0x01 << i));
//et enfin on relache le verrou
digitalWrite(verrou, HIGH);
//une petite pause pour constater l'affichage
delay(9500);
}
}
code in order to control the current in my resistors is that possible? is what some of you would be willing to help me?
Thank you in advance
You can see video of my tests
2014-06-29 10.07.09 from David arnaud on Vimeo.