Skip to content

Commit b3b83e7

Browse files
authored
Merge pull request #9 from Gasman2014/CreateChar
Change CreateChar (int, int[]) to (int, byte[])
2 parents 51a3a08 + 671199c commit b3b83e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LiquidCrystal_PCF8574.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void LiquidCrystal_PCF8574::setBacklight(int brightness)
219219

220220
// Allows us to fill the first 8 CGRAM locations
221221
// with custom characters
222-
void LiquidCrystal_PCF8574::createChar(int location, int charmap[])
222+
void LiquidCrystal_PCF8574::createChar(int location, byte charmap[])
223223
{
224224
location &= 0x7; // we only have 8 locations 0-7
225225
// Set CGRAM address

src/LiquidCrystal_PCF8574.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class LiquidCrystal_PCF8574 : public Print
5757
void noAutoscroll();
5858
void leftToRight();
5959
void rightToLeft();
60-
void createChar(int, int[]);
60+
void createChar(int, byte[]);
6161

6262
// plus functions from LCDAPI:
6363
void clear(); // same as init()

0 commit comments

Comments
 (0)