Fix compile error of LiquidCrystal library in Arduino IDE 1.6.x

This commit is contained in:
Henrik Ekblad
2015-06-06 10:26:04 +02:00
parent 0b2d2a2727
commit 17848db33d
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ void LCD::createChar(uint8_t location, uint8_t charmap[])
}
#ifdef __AVR__
void LCD::createChar(uint8_t location, const prog_uchar charmap[])
void LCD::createChar(uint8_t location, const unsigned char charmap[])
{
location &= 0x7; // we only have 8 memory locations 0-7
+1 -1
View File
@@ -418,7 +418,7 @@ public:
(0 to 7)
@param charmap[in] the bitmap array representing each row of the character.
*/
void createChar(uint8_t location, const prog_uchar charmap[]);
void createChar(uint8_t location, const unsigned char charmap[]);
#endif // __AVR__
/*!
@@ -84,7 +84,10 @@ Contributed by Jim (BulldogLowell@gmail.com) with much contribution from Pete (p
#include <Time.h>
#include <MySensor.h>
#include <SPI.h>
#include <LiquidCrystal.h>
#include <LiquidCrystal_I2C.h>
//
#define NUMBER_OF_VALVES 8 // Change this to set your valve count up to 16.
#define VALVE_RESET_TIME 7500UL // Change this (in milliseconds) for the time you need your valves to hydraulically reset and change state