Skip to content

Commit df2614d

Browse files
committed
Remove unsupported API functions, don't really care about old sketches (muhahaha.)
1 parent 4e5206f commit df2614d

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

LiquidCrystal_I2C.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,3 @@ void LiquidCrystal_I2C::printstr(const char c[]){
250250
//it's here so the user sketch doesn't have to be changed
251251
print(c);
252252
}
253-
254-
// unsupported API functions
255-
void LiquidCrystal_I2C::off() {}
256-
void LiquidCrystal_I2C::on() {}
257-
void LiquidCrystal_I2C::setDelay (int cmdDelay,int charDelay) {}
258-
uint8_t LiquidCrystal_I2C::status(){return 0;}
259-
uint8_t LiquidCrystal_I2C::keypad (){return 0;}
260-
uint8_t LiquidCrystal_I2C::init_bargraph(uint8_t graphtype){return 0;}
261-
void LiquidCrystal_I2C::draw_horizontal_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_col_end){}
262-
void LiquidCrystal_I2C::draw_vertical_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_row_end){}
263-
void LiquidCrystal_I2C::setContrast(uint8_t new_val){}

LiquidCrystal_I2C.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,6 @@ class LiquidCrystal_I2C : public Print {
8888
void setBacklight(uint8_t new_val); // alias for backlight() and nobacklight()
8989
void load_custom_character(uint8_t char_num, uint8_t *rows); // alias for createChar()
9090
void printstr(const char[]);
91-
92-
// Unsupported API functions (not implemented in this library)
93-
uint8_t status();
94-
void setContrast(uint8_t new_val);
95-
uint8_t keypad();
96-
void setDelay(int,int);
97-
void on();
98-
void off();
99-
uint8_t init_bargraph(uint8_t graphtype);
100-
void draw_horizontal_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_col_end);
101-
void draw_vertical_graph(uint8_t row, uint8_t column, uint8_t len, uint8_t pixel_col_end);
10291

10392
private:
10493
void send(uint8_t, uint8_t);

0 commit comments

Comments
 (0)