Fix compile error of LiquidCrystal library in Arduino IDE 1.6.x
This commit is contained in:
@@ -304,7 +304,7 @@ void LCD::createChar(uint8_t location, uint8_t charmap[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __AVR__
|
#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
|
location &= 0x7; // we only have 8 memory locations 0-7
|
||||||
|
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ public:
|
|||||||
(0 to 7)
|
(0 to 7)
|
||||||
@param charmap[in] the bitmap array representing each row of the character.
|
@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__
|
#endif // __AVR__
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
@@ -84,7 +84,10 @@ Contributed by Jim (BulldogLowell@gmail.com) with much contribution from Pete (p
|
|||||||
#include <Time.h>
|
#include <Time.h>
|
||||||
#include <MySensor.h>
|
#include <MySensor.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
#include <LiquidCrystal.h>
|
||||||
#include <LiquidCrystal_I2C.h>
|
#include <LiquidCrystal_I2C.h>
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
#define NUMBER_OF_VALVES 8 // Change this to set your valve count up to 16.
|
#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
|
#define VALVE_RESET_TIME 7500UL // Change this (in milliseconds) for the time you need your valves to hydraulically reset and change state
|
||||||
|
|||||||
Reference in New Issue
Block a user