Smart_Cube_Full_Code/LiquidCrystal.cpp
void  LiquidCrystal::_pinMode(uint8_t p, uint8_t d) {
  if (_i2cAddr != 255) {
    // an i2c command
    _i2c.pinMode(p, d);
  } else if (_SPIclock != 255) {
    // nothing!
  } else {
    // straightup IO
    pinMode(p, (PinMode)d);
  }
}
// little wrapper for i/o directions
little wrapper for i/o directions
little wrapper for i / o directions
void  LiquidCrystal::_pinMode(uint8_t p, uint8_t d) {
  if (_i2cAddr != 255) {
    _i2c.pinMode(p, d);
  } else if (_SPIclock != 255) {
  } else {
    pinMode(p, (PinMode)d);
  }
}
void LiquidCrystal :: _pinMode ( uint8_t p , uint8_t d ) { if ( _i2cAddr != 255 ) { _i2c . pinMode ( p , d ) ; } else if ( _SPIclock != 255 ) { } else { pinMode ( p , ( PinMode ) d ) ; } }
little wrapper for i/o directions
little wrapper for i / o directions
// an i2c command // nothing! // straightup IO