74HC595N-roboromania
74HC595N-roboromania-pini

74HC595N Shift Register 8-Bit Compatibil Arduino

5,00 RON.

Arduino projects.

74HC595N Shift Register 8-Bit Compatibil Arduino

Compatibil Arduino
74HC595N Shift Register este un circuit integrat, digital, 8-bit, latch, clock, DIP16 Compatibil Arduino.

74HC595N-roboromania
datasheet
Arduino projects.

74hc595n-shiftregister

// SH_CP; 11
const int clockPin = 9;
// DS; 15
const int dataPin = 8;
// ST_CP; 12
const int latchPin = 10;

void setup() {
  pinMode(clockPin, OUTPUT);
  pinMode(dataPin, OUTPUT);
  pinMode(latchPin, OUTPUT);

  Serial.begin(9600);
  Serial.println("reset");
}

void loop() {
  for (int number = 0; number < 256; number++) {
    Serial.println(number);
    digitalWrite(latchPin, LOW);
    shiftOut(dataPin, clockPin, MSBFIRST, number);
    digitalWrite(latchPin, HIGH);
    delay(500);
  }
}

Opinii

Nu există încă recenzii.

Fii primul care scrie un comentariu “74HC595N Shift Register 8-Bit Compatibil Arduino”