vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
156 stars 71 forks source link

'PCF8574' does not name a type #12

Closed arudmin closed 7 years ago

arudmin commented 7 years ago

Arduino: 1.8.1 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

In file included from sketch/BrewManiac.cpp:17:0: pins.h:75: error: 'PCF8574' does not name a type PCF8574 pcf8574(PCF8574_ADDRESS, I2C_SDA, I2C_SCL); ^ sketch/pins.h: In function 'void btnPrepareRead()': pins.h:91: error: 'pcf8574' was not declared in this scope _portvalue=pcf8574.read8(); ^ In file included from sketch/BrewManiac.cpp:313:0: sketch/ui.h: In function 'void uiScanLcdAddress()': ui.h:302: error: 'class LiquidCrystal_I2C' has no member named 'updateAddress' lcd.updateAddress(address); ^ exit status 1 'PCF8574' does not name a type

screenshot 2017-08-11 18 33 55

vitotai commented 7 years ago

Download the libraries from here: https://github.com/vitotai/BrewManiacEsp8266/tree/master/libs

Or, use PlatformIO and download this branch: https://github.com/vitotai/BrewManiacEsp8266/tree/master/libs

I no longer use Arduino IDE.

allthepies commented 7 years ago

I had the same issue some time back -> https://github.com/vitotai/BrewManiacEsp8266/issues/4

Switch to PlatformIO :+1: or use Vito's libraries.

arudmin commented 7 years ago

Thanks, I've replaced LC and PCF8574 libs from archive and compiling done.

NixxBr commented 6 years ago

Sorry for the old age topic, but i am receive the same error ("PCF8574 does not name a type"). The links for download the libraries was broken (page not found).

Please Vitotai, can you check ?

vitotai commented 6 years ago

The libraries should be downloaded when you download the whole project, or it doesn't? https://github.com/vitotai/BrewManiacEsp8266/tree/master/lib