CD4518BE CMOS Dual Up-Counters

CD4518BE CMOS Dual Up-Counters
  1. Arduino UNO
  2. CD4518BE
#define statePin 2 int state = 0; void setup() { pinMode(statePin, OUTPUT); } void loop() { if (state==0) { state = 1; } else { state = 0; } digitalWrite(statePin, state); delay(100); }