3 #ifndef NO_EXPANDER_74HC595 14 this->psr =
new ShiftRegister74HC595(numberOfShiftRegisters, serialDataPin, clockPin, latchPin);
15 if (this->psr != NULL)
17 PortExpander::Add(
this);
18 Serial.println(F(
"Expander 74HC595 succeed"));
27 #ifdef ACCESSORIES_DEBUG_MODE 29 Serial.println(F(
"74HC595 : only output digital pins"));
32 this->psr->set(inPin, LOW);
37 this->psr->set(inPin, inValue);
42 #ifdef ACCESSORIES_DEBUG_MODE 43 Serial.println(F(
"74HC595 : only digital pins"));
void analogWrite(int inPin, int inValue)
void digitalWrite(int inPin, int inValue)
void beginPin(int inPin, PIN_TYPE inType)