Source

New LiquidCrystal / LiquidCrystal_SR3W.cpp

The default branch has multiple heads

Diff from to

LiquidCrystal_SR3W.cpp

 LiquidCrystal_SR3W::LiquidCrystal_SR3W(uint8_t data, uint8_t clk, uint8_t strobe,
                                        uint8_t backlighPin, t_backlighPol pol)
 {
-   init( data, clk, strobe, RS, RW, EN, D4, D5, D6, D7 );   
+   init( data, clk, strobe, RS, RW, EN, D4, D5, D6, D7 );
+   setBacklightPin(backlighPin, pol);
 }
 
 LiquidCrystal_SR3W::LiquidCrystal_SR3W(uint8_t data, uint8_t clk, uint8_t strobe,
                                        uint8_t backlighPin, t_backlighPol pol)
 {
    init( data, clk, strobe, En, Rw, En, d4, d5, d6, d7 );
+   setBacklightPin(backlighPin, pol);
 }
 
 
 void LiquidCrystal_SR3W::setBacklightPin ( uint8_t value, t_backlighPol pol = POSITIVE )
 {
    _backlightPinMask = ( 1 << value );
+   _backlightStsMask = LCD_NOBACKLIGHT;
    _polarity = pol;
 }