potentiomètre numérique pour le contrôle de volume
dirty prototyping for AD8400
///AD8400 digital potentiometer
digitalWrite(SDI, LOW);
digitalWrite(CLK, LOW);
digitalWrite(CS, LOW);
/// MESSAGE TO BE SENT
//A0
digitalWrite(CLK, HIGH);
digitalWrite(CLK, LOW);
//A1
digitalWrite(CLK, HIGH);
digitalWrite(CLK, LOW);
shiftOut(SDI, CLK, MSBFIRST, vol);
///
digitalWrite(CS, HIGH);
vol is byte value 0-255