Blog Archive

Sunday, June 25, 2023

How to make 'binary counter' using 74HC595 & Arduino Nano?

 

Arduino Code:

int stcp_Pin = 4;
int shcp_Pin = 3;
int ds_Pin = 2;

void setup() {
  pinMode(stcp_Pin, OUTPUT);
  pinMode(shcp_Pin, OUTPUT);
  pinMode(ds_Pin, OUTPUT);  
}

void loop() {
  for(int number=0; number<256; number++){
      digitalWrite(stcp_Pin,LOW);
      shiftOut(ds_Pin,shcp_Pin,LSBFIRST,number);
      digitalWrite(stcp_Pin,HIGH);
      delay(100);
    }
}

Common Mistakes in Sales

Not qualifying the customer Thinking about the positive outcome of sales Not asking tough questions to the customers Bashing the competition...