jmparatte / jm_LiquidCrystal_I2C

GNU Lesser General Public License v3.0
7 stars 6 forks source link

fm_I2CIO.cpp:89:8: error: 'OUTPUT' was not declared in this scope #2

Closed berkaysit closed 6 years ago

berkaysit commented 6 years ago

I have installed the library. And example code give this error message:

\Arduino\libraries\jm_LiquidCrystal_I2C\fm_I2CIO.cpp: In member function 'void fm_I2CIO::pinMode(uint8_t, uint8_t)':

C:\Users\xxxx\Documents\Arduino\libraries\jm_LiquidCrystal_I2C\fm_I2CIO.cpp:89:8: error: 'OUTPUT' was not declared in this scope

if ( OUTPUT == dir )

    ^
jmparatte commented 6 years ago

I've published v1.0.2 which solves the problem. The library is in progress. Actually, it works only with AVR architecture because it uses jm_Wire library - an experimental fork of Wire library for AVR.