"Positive" not declared in this scope????? using the 12cLCDguessor sketch. completely baffled! Error Line - typeof__(POSITIVE) pol;
/*
- Bit positions on i2c expander output port for LCD pins
*/
typedef struct
{
uint8_t en;
uint8_t rw;
uint8_t rs;
uint8_t d4;
uint8_t d5;
uint8_t d6;
uint8_t d7;
uint8_t bl;
typeof(POSITIVE) pol; // use typeof() for backward compability since polarity type name changed
} IICexpdata;
IICexpdata i2cparam[] = {
// EN, RW, RS, D4, D5, D6, D7, BL, POL
{ 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE }, // YwRobot/DFRobot/SainSmart
{ 2, 1, 0, 4, 5, 6, 7, 3, NEGATIVE }, // Robot Arduino LCM1602/2004
{ 4, 5, 6, 0, 1, 2, 3, 7, NEGATIVE }, // MJKDZ board
{ 6, 5, 4, 0, 1, 2, 3, 7, NEGATIVE }, // I2CIO board modded for backlight (pnp transistor)
{ 6, 5, 4, 0, 1, 2, 3, 7, POSITIVE }, // I2CIO board modded for backlight (npn transistor)
{ 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE }, // (extra combination of MJKDZ just in case...)
{0xff} // end of guess table
};