void LCDi2cR::init () { I2c.begin(); on(); clear(); blink_off(); cursor_off(); home(); }
bool LCDi2cNHD::init () { Wire.begin(); // TODO: Check that LCD was initialized properly. on() should return a value, command() should return a value and check endTranmission value, a global flag (initializeError) should be added if ( !on() ) { return false; // error } clear(); blink_off(); cursor_off(); home(); return true; // success }