Forum Replies Created
-
AuthorPosts
-
TeguhTeknisiParticipantmy last version of code,
for all the version i have attach, you need to upload the data folder using SPIFFS
TeguhTeknisiParticipanthere my second version.
TeguhTeknisiParticipantoh, my bad… my code is to big….
i try again, here my first version of the mod…
TeguhTeknisiParticipantOMG, i cannot upload the code.
the forum not allowed…. srory…. i want to share but the rules in this forum not allowed.ps: i will try to attach again.
TeguhTeknisiParticipantHi @komoya
Sory, i have been busy and stop playing with esp8266
i come to here just because i want to built a simple esp8266 with dht, lcd 1602 and blynk.
and perhaps one relay.i can share the code, but i already forgot how to “Compile” it, as i have re install my laptop.
AFAIK, you need to set up Arduino to be able to “Complile” ESPrinkler.I will attach, three version of OSBee Mod i have been playing before.
I Have lost the bin file, so i hope you can try it and share it in here if you have mod it.If i remember, i have mod it to work with Blynk, but i dont know which version or perhaps i lost it.
i have been playing with the apk too.ps: i change a lot of thing, like the language.
Bye…. perhaps i will not come here again.
Insya Allah.November 28, 2017 at 11:29 am in reply to: Mobile or wireless laptop access when there is no network #48368
TeguhTeknisiParticipantNo, you cannot directly access from Laptop to OpenSprinkler, you need Router AP.
You can using WiFi thetering with your smartphone, then connect OpenSprinkler to your smartphone, then access it with OpenSprinkler App from your smartphone.
or Conect your Laptop to your smartphone if you want to access it with your laptop.Btw, if you want to build a sprinkler system by your self, you can try to build ESPrinkler ( https://github.com/n0bel/ESPrinkler2 )
It have SoftAP Mode, so you can access it from your laptop without Router AP.
I Have built ESPrinkler, but i’am not using it anymore, right now i use a modified OSBee.Best Regrads,
Teguh.
TeguhTeknisiParticipantNever Mind, i have modified the source code, and i can make it offline without internet.
using Spiffs to store js, css, gif and png file.
and i have modified the source to make it have 8 channel Relay with Shift Register 74HC595, i sacriface Pin Bost to use it for SPI with 74HC595.Thanks for the OpenSprinkler Bee (OSBee)
Attachments:
November 14, 2017 at 8:34 am in reply to: Is there OpenSprinkle Bee (OSBee) Android App support? #48277
TeguhTeknisiParticipantHi @salbahra Samer, Thanks for the Reply,
Can you make it just by looking the Html code in https://github.com/OpenSprinkler/OSBeeWiFi-Firmware/tree/master/OSBeeWiFi/html ?
I don’t have the actual OSBee device, but i have flash the Firmware to my NodeMCU Amica and connect it to Relay Module.
If it possible, i will help you to test the Android Apps to NodeMCU.ps: i have OpenSprinkler 3.0 Firmware run on my WeMos D1 Mini connected to Relay Module.
Best Regrads,
Teguh.
TeguhTeknisiParticipantThanks for the reply,
The first post is from @ja.charer , using https://github.com/dancol90/ESP8266Ping
And i have said https://github.com/dancol90/ESP8266Ping in my post in page 8 first message, i use it too.
it will be glad, if you willing to read my reply.
but it seem you’re to busy.i’am sory, i’am not touching OpenSprinkler.h, because you said only change pin.h
and i already upload my pin.h, you can see, i only do what you have said.Never mind, i already give up.
have a nice day.i have modified the pin button to using gpio in https://github.com/OpenSprinkler/OpenSprinkler-Firmware .
so i will continue to play with it.Best regrads,
Teguh.
TeguhTeknisiParticipantThanks for the reply.
I have been read the readme in here https://github.com/pbecchi/OpenESP8266_Sprinkler/tree/ForOS_Bee2_0%2COS_Solar%2COS_3_0,
but this link https://github.com/Dave1001/OpenSprinkler-Arduino/tree/master/Controller_W5100_V_2_0_7/libraries not exist anymore.
that why i ask you in every reply.And in the readme doesn’t have #include <Arduino-Ping-master\ESP8266ping.h> and LiquidCrystal_I2C.h ( needed in penSprinkler.h line 55 )
I have re read this topic from page 1 to 6, and i dont find the post that mentioned where i should get the library.What i found out, there is user @fivos that using this LiquidCrystal v1.2.1 library https://opensprinkler.com/forums/topic/opensprinkler-on-esp8266/page/2/#post-41825 ,
but when i use that library to compile, i got the same error.
Here i write the error again:
In file included from sketch/EtherCardW5100.cpp:36:0:OpenSprinkler.h:262: error: 'LiquidCristal' does not name a type static LiquidCristal lcd; ^ exit status 1 'LiquidCristal' does not name a type
The defines should be correct, i attach the pin.h so you can read it.
Btw, i will give up for now.
I will wait until you clean up the file in github, give a proper readme file.
I still want to use 74HC595, so i will waiting.Thanks for your time.
I will take my time to mod https://github.com/OpenSprinkler/OpenSprinkler-Firmware
to make the Button B1, B2, and B3 using GPIO Pin on WeMos D1 Mini,
I will try to disable Buzzer, and Disable RF TX and RF RX and use it for Button Pin.
I Will be glad if can give sugestion about how to disable it, i have try edit define.h and assign to another pin, but failed.Best Regrads,
Teguh.Attachments:
TeguhTeknisiParticipantThanks for the reply,
in previous reply, you said, i don’t need sdfat library -> https://opensprinkler.com/forums/topic/opensprinkler-on-esp8266/page/7/#post-48124
why in the pin.h above, it have sdfat library ?Why OE is connected to GPIO ? If i read this https://www.arduino.cc/en/Tutorial/ShiftOut and In this schema -> https://github.com/n0bel/ESPrinkler2/blob/master/ESPrinkler2_schem.jpg , the OE is grounded.
Why i have to give LCD_RST Gpio ?
There is no more GPIO to Assign for LCD_RSTIs this right?
#elif PROTO==13 //ADD NEW N. for your prototype #define SDA_PIN 4 // Wemos Mini Pin D2 #define SCL_PIN 5 // Wemos Mini Pin D1 #define SHIFT_REG #define PIN_SR_LATCH 15 // shift register latch pin , Wemos Mini Pin D8 #define PIN_SR_DATA 13 // shift register data pin , Wemos Mini Pin D7 #define PIN_SR_CLOCK 14 // shift register clock pin , Wemos Mini Pin D5 #define PIN_SR_OE 12 // shift register output enable pin , Wemos Mini Pin D6 #undef OPENSPRINKLER_ARDUINO_DISCRETE #define SPIFFSDFAT #define EEPROM_ESP #define PIN_BUTTON_1 0 // Wemos Mini Pin D3 #define PIN_BUTTON_2 2 // Wemos Mini Pin D4 #define PIN_BUTTON_3 16 // Wemos Mini Pin D0 #define STA_HIGH LOW // low station output on for Relay #define STA_LOW HIGH // high station output off for Relay // OLED 128*64 DISPLAY #define LCD_SSD1306 #define LCD_RST gpio // LCD rst pin #define LCD_ADDR 0x3c. // LCD address
What about the library i ask you?
Can you give the library?in file EtherCardW5100.h , itt ask #include <Arduino-Ping-master\ESP8266ping.h> , this Windows things…. Linux will be like this #include <Arduino-Ping-master/ESP8266ping.h>
Where i can get it??LiquidCrystal library, what version and where you get it?
And the last, to compile, i have to re download the github and have to do all i have write in here https://opensprinkler.com/forums/topic/opensprinkler-on-esp8266/page/8/#post-48136
or just continue from the last time i try to compile it?
i have try to compile with pin.h like above,
and i got this error:In file included from sketch/EtherCardW5100.cpp:36:0: OpenSprinkler.h:262: error: 'LiquidCristal' does not name a type static LiquidCristal lcd; ^ exit status 1 'LiquidCristal' does not name a type
i use LiquidCristal Library v1.2.1 from Francisco Malpartida
I’am sory if i have alot to ask, but you github is hard to compile under Arduino IDE and Linux.
Perhaps, the othet person that have succes compile it, using MS Visual Basic just like you did.Best Regrads,
Teguh.Attachments:
TeguhTeknisiParticipantThanks for the reply.
I’am newbie, As far i know, the problem is related to the library.
secomd because i try to compile using Arduino IDE under Linux and you using windows.i have been using google to solve the problem, and this point out to this forum and on esp8266 forum ( http://www.esp8266.com/viewtopic.php?f=32&t=8944 )
but i still don’t understand.i try to compile using this https://github.com/pbecchi/OpenESP8266_Sprinkler/tree/ForOS_Bee2_0%2COS_Solar%2COS_3_0/OpenSprinkler_Arduino_V_2_1_6/
and of course, i only move the Folder OpenSprinkler_Arduino_V_2_1_6 to ~/Arduino/ and rename it to OpenSprinkler__V_2_1_6
just as i tell you before.
i attach the screenshot about it.I will use this schematic https://github.com/n0bel/ESPrinkler2/blob/master/ESPrinkler2_schem.jpg , it use OLED, DS1307 and 74HC595
but i will using Relay Module like this http://cdn.shopify.com/s/files/1/1978/9859/products/03_63_grande.jpg and connect it to 74HC595
and for the button, i will use WeMos D1 Mini Pin D3 (GPIO 0), D4 (GPIO 2) and D6 (GPIO 12)I hope you could help me.
Best Regrads,
Teguh.Attachments:
TeguhTeknisiParticipantAnd i the end, it failed to compile.
I Attach the Last Error Log file.
Please help…., i would like to have all the library to compile it.
Please upload it to Github.
If you have see ESP Easy, they give all the library for the Arduino, here the link https://github.com/letscontrolit/ESPEasy/tree/mega/lib
i hope you can provide the library too.Best Regrads,
Teguh.
Attachments:
TeguhTeknisiParticipantHere again the error:
17. MS7 , edit OpenSprinkler.cpp line 1359, and add #define MS7 7-ssketch/OpenSprinkler.cpp: In static member function 'static void OpenSprinkler::apply_all_station_bits()': OpenSprinkler.cpp:1359: error: 'MS7' was not declared in this scope byte y = (sbits & ((byte)1 << (MS7))) ? HIGH : LOW;
I hope this edit is right:
#ifndef OSPI #define MS7 7-s byte y = (sbits & ((byte)1 << (MS7))) ? HIGH : LOW; digitalWrite ( PIN_SR_DATA, (sbits & ((byte)1 << (MS7))) ? HIGH : LOW); #endif
18. DS1307RTC trouble, so i change the DS1307RTC library from Ray OpenSprinkler to https://github.com/PaulStoffregen/DS1307RTC/archive/1.4.tar.gz , then extract it to ~/Arduino/libraries/
Then Undo the previsous edit (step 4 & 8) and delete file DS1307RTC.cpp and DS1307RTC.hOpenSprinklerMain.cpp:83: error: 'DS1307RTC' does not name a type extern DS1307RTC RTC; ^ sketch/OpenSprinklerMain.cpp: In function 'void do_setup()': OpenSprinklerMain.cpp:321: error: 'RTC' was not declared in this scope setSyncProvider(RTC.get); ^ sketch/OpenSprinklerMain.cpp: In function 'void perform_ntp_sync()': OpenSprinklerMain.cpp:1521: error: 'RTC' was not declared in this scope RTC.set ( t ); ^ 'DS1307RTC' does not name a type
19. Time.h – Undo Previsous Edit (step 1, 8 & 15), and using Time 1.5.0 from Michael Margolis in Arduino Library Manager, then Restart Arduino IDE.
/home/sukanime/Arduino/libraries/DS1307RTC-1.4/DS1307RTC.h:9:18: fatal error: Time.h: No such file or directory #include <Time.h>
20. PCF8574Mio – Delete PCF8574Mio – Copia.cpp and PCF8574Mio – Copia.h
sketch/PCF8574Mio - Copia.cpp:27:6: error: prototype for 'void PCF8574::begin(int)' does not match any in class 'PCF8574' void PCF8574::begin(int address) ^ In file included from sketch/PCF8574Mio - Copia.cpp:21:0: PCF8574Mio.h:35: error: candidate is: void PCF8574::begin(uint8_t) void begin(uint8_t address); ^ In file included from sketch/PCF8574Mio - Copia.cpp:23:0: /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h: In member function 'uint8_t PCF8574::read8()': /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:69:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int) uint8_t requestFrom(int, int); ^ /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:67:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t) uint8_t requestFrom(uint8_t, uint8_t); ^ sketch/PCF8574Mio - Copia.cpp:41:2: error: '_data' was not declared in this scope _data = Wire.read(); ^ sketch/PCF8574Mio - Copia.cpp: At global scope: sketch/PCF8574Mio - Copia.cpp:47:9: error: prototype for 'uint8_t PCF8574::value()' does not match any in class 'PCF8574' uint8_t PCF8574::value() ^ In file included from sketch/PCF8574Mio - Copia.cpp:21:0: PCF8574Mio.h:38: error: candidate is: uint8_t PCF8574::value() const uint8_t value() const { return _dataIn; }; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::write8(uint8_t)': sketch/PCF8574Mio - Copia.cpp:55:2: error: '_data' was not declared in this scope _data = value; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'uint8_t PCF8574::read(uint8_t)': sketch/PCF8574Mio - Copia.cpp:63:10: error: '_data' was not declared in this scope return (_data & (1 << pin)) > 0; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::write(uint8_t, uint8_t)': sketch/PCF8574Mio - Copia.cpp:71:3: error: '_data' was not declared in this scope _data &= ~(1 << pin); ^ sketch/PCF8574Mio - Copia.cpp:75:3: error: '_data' was not declared in this scope _data |= (1 << pin); ^ sketch/PCF8574Mio - Copia.cpp:78:18: error: '_data' was not declared in this scope PCF8574::write8(_data); ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::toggle(uint8_t)': sketch/PCF8574Mio - Copia.cpp:84:2: error: '_data' was not declared in this scope _data ^= (1 << pin); ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::shiftRight(uint8_t)': sketch/PCF8574Mio - Copia.cpp:92:2: error: '_data' was not declared in this scope _data >>= n; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::shiftLeft(uint8_t)': sketch/PCF8574Mio - Copia.cpp:100:2: error: '_data' was not declared in this scope _data <<= n;
21. SPIFFSdFat.h – Delete SPIFFSdFat.h and SPIFFSdFat.cpp
In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:15: error: 'uint8_t' has not been declared bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:15: error: 'uint8_t' has not been declared bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'uint8_t' has not been declared bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'uint8_t' has not been declared bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:15: error: 'SS' was not declared in this scope bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'SS' was not declared in this scope bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.cpp:9: error: redefinition of 'SdFile::SdFile()' SdFile::SdFile() { } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:24: error: 'SdFile::SdFile()' previously defined here SdFile(){} ^ SPIFFSdFat.cpp:10: error: redefinition of 'bool SdFile::open(char*, int)' bool SdFile::open(char nome[], int i) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:25: error: 'bool SdFile::open(char*, int)' previously defined here bool open(char name[], int i){} ^ SPIFFSdFat.cpp:17: error: redefinition of 'void SdFile::close()' void SdFile::close() { MyFile.close(); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:26: error: 'void SdFile::close()' previously defined here void close(){} ^ SPIFFSdFat.cpp:18: error: redefinition of 'void SdFile::seekEnd()' void SdFile::seekEnd() { MyFile.seek(0,SeekEnd); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:27: error: 'void SdFile::seekEnd()' previously defined here void seekEnd(){} ^ SPIFFSdFat.cpp:19: error: redefinition of 'void SdFile::seekSet(int)' void SdFile::seekSet(int pos) { MyFile.seek(pos,SeekSet); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:28: error: 'void SdFile::seekSet(int)' previously defined here void seekSet(int pos){} ^ SPIFFSdFat.cpp:20: error: redefinition of 'bool SdFile::fgets(char*, int)' bool SdFile::fgets(char buf[], int bufflen) { return MyFile.readBytesUntil('\n',buf, bufflen)); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:29: error: 'bool SdFile::fgets(char*, int)' previously defined here bool fgets(char buf[], int bufflen){} ^ SPIFFSdFat.cpp:21: error: redefinition of 'void SdFile::write(char*)' void SdFile::write(char * c) { MyFile.print(c); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:30: error: 'void SdFile::write(char*)' previously defined here void write(char *){} ^ SPIFFSdFat.cpp:22: error: redefinition of 'void SdFile::write(char*, int)' void SdFile::write(char * c, int l) { for (int i = 0; i < l;i++) MyFile.print(c+i); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:31: error: 'void SdFile::write(char*, int)' previously defined here void write(char *, int l){} ^ SPIFFSdFat.cpp:23: error: redefinition of 'void SdFile::write(const char*, int)' void SdFile::write(const char * c, int l) { for (int i = 0; i < l; i++) MyFile.print(c + i); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:32: error: 'void SdFile::write(const char*, int)' previously defined here void write(const char *, int l){} ^ SPIFFSdFat.cpp:26: error: redefinition of 'SdFat::SdFat()' SdFat::SdFat() { SPIFFS_formatted = eeprom_read_byte((void *)SPIFFS_F_BY); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:9: error: 'SdFat::SdFat()' previously defined here SdFat(){} ^ SPIFFSdFat.cpp:27: error: redefinition of 'void SdFat::remove(char*)' void SdFat::remove(char data[]) { SPIFFS.remove(data); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:10: error: 'void SdFat::remove(char*)' previously defined here void remove(char data[]){} ^ SPIFFSdFat.cpp:28: error: redefinition of 'bool SdFat::exists(char*)' bool SdFat::exists(char* buf) { SPIFFS.exists(buf); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:11: error: 'bool SdFat::exists(char*)' previously defined here bool exists(char* buf){} ^ SPIFFSdFat.cpp:29: error: redefinition of 'bool SdFat::mkdir(char*)' bool SdFat::mkdir(char data[]) {} ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:12: error: 'bool SdFat::mkdir(char*)' previously defined here bool mkdir(char data[]){} ^ SPIFFSdFat.cpp:30: error: redefinition of 'bool SdFat::chdir(char*)' bool SdFat::chdir(char data[]) { int i; while (data[i] != 0) FULLName[i++] = data[i]; FULLName[i] = '\0'; } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:13: error: 'bool SdFat::chdir(char*)' previously defined here bool chdir(char data[]){} ^ SPIFFSdFat.cpp:31: error: redefinition of 'char* SdFat::vwd()' char * SdFat::vwd() {}//da correggere--------------------------------------------------cerca chiamata /////////// ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:14: error: 'char* SdFat::vwd()' previously defined here char * vwd(){}//da correggere--------------------------------------------------cerca chiamata /////////// ^ SPIFFSdFat.cpp:32: error: prototype for 'bool SdFat::begin(uint8_t, uint8_t)' does not match any in class 'SdFat' bool SdFat::begin(uint8_t csPin = SS, uint8_t divisor = 2) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:15: error: candidate is: bool SdFat::begin(int, int) bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.cpp:38: error: prototype for 'bool SdFat::cardBegin(uint8_t, uint8_t)' does not match any in class 'SdFat' bool SdFat::cardBegin(uint8_t csPin = SS, uint8_t divisor = 2) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:17: error: candidate is: bool SdFat::cardBegin(int, int) bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ exit status 1 'uint8_t' has not been declared
22. LiquidCrystal Library – Change to version 1.2.1 – https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip
In file included from /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:35:0: /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp: In member function 'uint8_t LiquidCrystal_SR1W::clearSR()': /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:77:24: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') SR1W_ATOMIC_WRITE_LOW(srRegister, srMask); ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.h:293:79: note: in definition of macro 'SR1W_ATOMIC_WRITE_LOW' #define SR1W_ATOMIC_WRITE_LOW(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg &= ~mask; } ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:86:22: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') fio_bit reg_val = *srRegister; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:95:5: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') *srRegister = bit_high; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:96:5: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') *srRegister = bit_low; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:101:4: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') *srRegister = bit_high; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp: In member function 'uint8_t LiquidCrystal_SR1W::loadSR(uint8_t)': /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:139:24: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') fio_bit reg_val = *srRegister; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:144:6: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') *srRegister = bit_low; ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:145:6: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') *srRegister = bit_high; ^ In file included from /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:35:0: /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:151:26: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') SR1W_ATOMIC_WRITE_LOW(srRegister, srMask); ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.h:293:79: note: in definition of macro 'SR1W_ATOMIC_WRITE_LOW' #define SR1W_ATOMIC_WRITE_LOW(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg &= ~mask; } ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.cpp:158:27: error: invalid type argument of unary '*' (have 'fio_register {aka unsigned char}') SR1W_ATOMIC_WRITE_HIGH(srRegister, srMask); ^ /home/sukanime/Arduino/libraries/NewliquidCrystal/LiquidCrystal_SR1W.h:294:80: note: in definition of macro 'SR1W_ATOMIC_WRITE_HIGH' #define SR1W_ATOMIC_WRITE_HIGH(reg, mask) ATOMIC_BLOCK(ATOMIC_RESTORESTATE) { *reg |= mask; } ^ exit status 1
TeguhTeknisiParticipantHere again the error:
11. Weather.h – Edit OpenSprinklerMain.cpp line 34, rename Weather.h to weather.hsketch/OpenSprinklerMain.cpp:34:21: fatal error: Weather.h: No such file or directory #include "Weather.h"
12. Gpio.h – Edit gpio.cpp line 24, rename Gpio.h to gpio.h
sketch/gpio.cpp:24:18: fatal error: Gpio.h: No such file or directory #include "Gpio.h"
14. Utils.h – Edit utils.cpp line 24, rename Utils.h to gutils.h
sketch/utils.cpp:24:19: fatal error: Utils.h: No such file or directory #include "Utils.h"
15. TimeLib.h , Edit utils.cpp line 26, rename <TimeLib.h> to g“TimeLib.h”
sketch/utils.cpp:26:21: fatal error: TimeLib.h: No such file or directory #include <TimeLib.h>
16. Utils.h – Edit weather.cpp line 42, rename Utils.h to gutils.h
sketch/weather.cpp:42:19: fatal error: Utils.h: No such file or directory #include "Utils.h"
TeguhTeknisiParticipantHere the error when i compile your:
1. Time.h not found, so i download https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/Time.h , https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/TimeLib.h and https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/Time.cpp and put it in the folder OpenSprinkler_ESP8266_V_2_1_6
Edit OpenSprinkler.h line 46 from #include <Time.h> to #include “Time.h”sketch/OpenSprinkler.h:46:19: fatal error: Time.h: No such file or directory #include <Time.h>
2. LiquidCrystal_I2C.h – Download version 1.3.4 – https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/NewliquidCrystal_1.3.4.zip then extract it, move the Folder NewliquidCrystal inside the package to ~/Arduino/libraries/ , the Restart Arduino IDE
sketch/OpenSprinkler.h:55:31: fatal error: LiquidCrystal_I2C.h: No such file or directory #include <LiquidCrystal_I2C.h>
3. In OpenSprinkler.h Line 53, I Change #include “lib\Adafruit_SSD1306.h” to #include “lib/Adafruit_SSD1306.h”
4. DS1307RTC.h – Download https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/DS1307RTC.cpp and https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/DS1307RTC.h and put it in the folder OpenSprinkler_ESP8266_V_2_1_6
Then edit OpenSprinkler.h , then rename from #include <DS1307RTC.h> to #include “DS1307RTC.h”sketch/OpenSprinkler.h:61:24: fatal error: DS1307RTC.h: No such file or directory #include <DS1307RTC.h>
5. ESP8266ping.h – Try to google Arduino-Ping, i found this https://github.com/BlakeFoster/Arduino-Ping , but i cannot find ESP8266ping.h
So i try to google ESP8266Ping.h, then i found this https://github.com/dancol90/ESP8266Ping , so i use it, then extract and put it in ~/Arduino/libraries/ , the Restart Arduino IDE
Then edit EtherCardW5100.h line 58 and rename #include <Arduino-Ping-master\ESP8266ping.h>` to #include <ESP8266Ping.h>sketch/EtherCardW5100.h:58:45: fatal error: Arduino-Ping-master\ESP8266ping.h: No such file or directory #include <Arduino-Ping-master\ESP8266ping.h>
6. WiFiManager.h – Download https://github.com/tzapu/WiFiManager/archive/0.12.tar.gz , then extract and put it in ~/Arduino/libraries/ , the Restart Arduino IDE
sketch/EtherCardW5100.h:66:72: fatal error: WiFiManager.h: No such file or directory #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
7. Utils.h – Edit OpenSprinkler.h line 87 , rename <strong>Utils.h</strong> to <strong>utils.h</strong>
sketch/OpenSprinkler.h:87:19: fatal error: Utils.h: No such file or directory #include "Utils.h"
8. Time.h and DS1307RTC.h in OpenSprinkler_ESP8266_V_2_1_6.ino, so edit it, rename from <strong><Time.h></strong> to <strong>”Time.h”</strong> then <strong><DS1307RTC.h></strong> to <strong>”DS1307RTC.h”</strong>
/home/sukanime/Arduino/OpenSprinkler_ESP8266_V_2_1_6/OpenSprinkler_ESP8266_V_2_1_6.ino:84:19: fatal error: Time.h: No such file or directory #include <Time.h>
/home/sukanime/Arduino/OpenSprinkler_ESP8266_V_2_1_6/OpenSprinkler_ESP8266_V_2_1_6.ino:86:24: fatal error: DS1307RTC.h: No such file or directory #include <DS1307RTC.h>
9. EEPROM_ESP.h – Edit Eeprom_ESP.cpp , rename <strong>EEPROM_ESP.h</strong> to <strong>Eeprom_ESP.h</strong>
sketch/Eeprom_ESP.cpp:3:24: fatal error: EEPROM_ESP.h: No such file or directory #include "EEPROM_ESP.h"
10. Gpio.h – Edit OpenSprinkler.cpp line 25, rename <strong>Gpio.h</strong> to g<strong>pio.h</strong>
sketch/OpenSprinkler.cpp:25:18: fatal error: Gpio.h: No such file or directory #include "Gpio.h"
TeguhTeknisiParticipantHi @pbecchi
Thanks for the reply.
I Will Use 8 Channel Relay Module, so it have LOW On,
And I will use OLED SSD1306,
it will glad if could change the code.I will try to compile it again with Arduino IDE 1.8.3 64 bit + esp8266 v2.3.0 on Kubuntu Linux 17.04.
Because Linux is case sensitif, and using / for path, i got a lot of work when compile your.FYI, I can compile OpenSprinkler-Firmware from Ray commit be0369d , without much work.
my arduino library is only:
Adafruit_Circuit_Playground, Adafruit-GFX-Library, arduino_424003, Firmata, Robot_Control, Robot_IR_Remote, Robot_Motor, SSD1306
With just that library, i can compile OpenSprinkler-Firmware and upload it with this step:
– then estrak it and rename the folder OpenSprinkler-Firmware-master to OpenSprinkler
– then rename mainArduino.ino to OpenSprinkler.ino
– after that, i put OpenSprinkler folder above to ~/Arduino/
– Download https://github.com/squix78/esp8266-oled-ssd1306/releases version 3.2.7, extract it and rename the folder to SSD1306
then move folder SSD1306 to ~/Arduino/libraries/
– then open OpenSprinkler.ino from the folder ~/Arduino/OpenSprinkler/ with Arduino IDE
– then Compile and Upload it to WeMos D1 MiniFor your mod , Here my step by step:
– I get github ForOS_Bee2_0-OS_Solar-OS_3_0 commit 03f15ae on 7 Jun 2017
– Then rename the folder OpenSprinkler_Arduino_V_2_1_6 to OpenSprinkler_ESP8266_V_2_1_6
– Then move the folder OpenSprinkler_ESP8266_V_2_1_6 to ~/Arduino/
– Then Go to ~/Arduino/OpenSprinkler_ESP8266_V_2_1_6/
– Change the Pin.h to proto 1#define PROTO 1 ///////////////////////board type selection//////////// ///////////////////////////////////////////////////////////////////////// //////////////////////////////proto board 1////////////rear garden////////////////////////////////// #if PROTO==1 // shift register #define SDA_PIN D5 //:redefined #define SCL_PIN D2 //:redefined //#define OPENSPRINKLER_ARDUINO_W5100 //:required for ESP8266 not using shift registers #undef OPENSPRINKLER_ARDUINO_DISCRETE //:shift registers #define SHIFT_REG #define BUTTON_ADC_PIN A0 // A0 is the button ADC input //:analog buttons #define LCDI2C //:i2c LCD #define SPIFFSDFAT //:no sd ....EMULATED ON fLASH #define ADDITIONAL_SENSORS ESP8266_C //:additional sensors to ESP //#undef EEPROM_ESP //modify in libsel.h EEPROM is now on flash #elif PROTO==2
as you can see, in the Pin.h for Proto = 1 using #define SPIFFSDFAT
So i will delete it.#define PROTO 1 ///////////////////////board type selection//////////// ///////////////////////////////////////////////////////////////////////// //////////////////////////////proto board 1////////////rear garden////////////////////////////////// #if PROTO==1 // shift register #define SDA_PIN D5 //:redefined #define SCL_PIN D2 //:redefined //#define OPENSPRINKLER_ARDUINO_W5100 //:required for ESP8266 not using shift registers #undef OPENSPRINKLER_ARDUINO_DISCRETE //:shift registers #define SHIFT_REG #define BUTTON_ADC_PIN A0 // A0 is the button ADC input //:analog buttons #define LCDI2C //:i2c LCD #define ADDITIONAL_SENSORS ESP8266_C //:additional sensors to ESP //#undef EEPROM_ESP //modify in libsel.h EEPROM is now on flash #elif PROTO==2
– Remove file EtherCardW5100_o.cpp and EtherCardW5100_o.h
– Open File OpenSprinkler_ESP8266_V_2_1_6.ino using Arduino IDE
Then Hit Verify….
TeguhTeknisiParticipantTo bad in this forum board doesn’t have a quote reply, so i quote your reply.
@1073137775
Try replacing ‘()’ and ‘!’ with ‘@’ and ‘.’.PCBA
Thanks for the reply, this forum seem “lonely” without you, but i think you are a spamer.
so i hope someone else to reply.
TeguhTeknisiParticipantI Try to Compile Proto = 8
But i got this error:
In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:15: error: 'uint8_t' has not been declared bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:15: error: 'uint8_t' has not been declared bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'uint8_t' has not been declared bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'uint8_t' has not been declared bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:15: error: 'SS' was not declared in this scope bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.h:17: error: 'SS' was not declared in this scope bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.cpp:9: error: redefinition of 'SdFile::SdFile()' SdFile::SdFile() { } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:24: error: 'SdFile::SdFile()' previously defined here SdFile(){} ^ SPIFFSdFat.cpp:10: error: redefinition of 'bool SdFile::open(char*, int)' bool SdFile::open(char nome[], int i) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:25: error: 'bool SdFile::open(char*, int)' previously defined here bool open(char name[], int i){} ^ SPIFFSdFat.cpp:17: error: redefinition of 'void SdFile::close()' void SdFile::close() { MyFile.close(); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:26: error: 'void SdFile::close()' previously defined here void close(){} ^ SPIFFSdFat.cpp:18: error: redefinition of 'void SdFile::seekEnd()' void SdFile::seekEnd() { MyFile.seek(0,SeekEnd); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:27: error: 'void SdFile::seekEnd()' previously defined here void seekEnd(){} ^ SPIFFSdFat.cpp:19: error: redefinition of 'void SdFile::seekSet(int)' void SdFile::seekSet(int pos) { MyFile.seek(pos,SeekSet); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:28: error: 'void SdFile::seekSet(int)' previously defined here void seekSet(int pos){} ^ SPIFFSdFat.cpp:20: error: redefinition of 'bool SdFile::fgets(char*, int)' bool SdFile::fgets(char buf[], int bufflen) { return MyFile.readBytesUntil('\n',buf, bufflen)); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:29: error: 'bool SdFile::fgets(char*, int)' previously defined here bool fgets(char buf[], int bufflen){} ^ SPIFFSdFat.cpp:21: error: redefinition of 'void SdFile::write(char*)' void SdFile::write(char * c) { MyFile.print(c); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:30: error: 'void SdFile::write(char*)' previously defined here void write(char *){} ^ SPIFFSdFat.cpp:22: error: redefinition of 'void SdFile::write(char*, int)' void SdFile::write(char * c, int l) { for (int i = 0; i < l;i++) MyFile.print(c+i); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:31: error: 'void SdFile::write(char*, int)' previously defined here void write(char *, int l){} ^ SPIFFSdFat.cpp:23: error: redefinition of 'void SdFile::write(const char*, int)' void SdFile::write(const char * c, int l) { for (int i = 0; i < l; i++) MyFile.print(c + i); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:32: error: 'void SdFile::write(const char*, int)' previously defined here void write(const char *, int l){} ^ SPIFFSdFat.cpp:26: error: redefinition of 'SdFat::SdFat()' SdFat::SdFat() { SPIFFS_formatted = eeprom_read_byte((void *)SPIFFS_F_BY); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:9: error: 'SdFat::SdFat()' previously defined here SdFat(){} ^ SPIFFSdFat.cpp:27: error: redefinition of 'void SdFat::remove(char*)' void SdFat::remove(char data[]) { SPIFFS.remove(data); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:10: error: 'void SdFat::remove(char*)' previously defined here void remove(char data[]){} ^ SPIFFSdFat.cpp:28: error: redefinition of 'bool SdFat::exists(char*)' bool SdFat::exists(char* buf) { SPIFFS.exists(buf); } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:11: error: 'bool SdFat::exists(char*)' previously defined here bool exists(char* buf){} ^ SPIFFSdFat.cpp:29: error: redefinition of 'bool SdFat::mkdir(char*)' bool SdFat::mkdir(char data[]) {} ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:12: error: 'bool SdFat::mkdir(char*)' previously defined here bool mkdir(char data[]){} ^ SPIFFSdFat.cpp:30: error: redefinition of 'bool SdFat::chdir(char*)' bool SdFat::chdir(char data[]) { int i; while (data[i] != 0) FULLName[i++] = data[i]; FULLName[i] = '\0'; } ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:13: error: 'bool SdFat::chdir(char*)' previously defined here bool chdir(char data[]){} ^ SPIFFSdFat.cpp:31: error: redefinition of 'char* SdFat::vwd()' char * SdFat::vwd() {}//da correggere--------------------------------------------------cerca chiamata /////////// ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:14: error: 'char* SdFat::vwd()' previously defined here char * vwd(){}//da correggere--------------------------------------------------cerca chiamata /////////// ^ SPIFFSdFat.cpp:32: error: prototype for 'bool SdFat::begin(uint8_t, uint8_t)' does not match any in class 'SdFat' bool SdFat::begin(uint8_t csPin = SS, uint8_t divisor = 2) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:15: error: candidate is: bool SdFat::begin(int, int) bool begin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ SPIFFSdFat.cpp:38: error: prototype for 'bool SdFat::cardBegin(uint8_t, uint8_t)' does not match any in class 'SdFat' bool SdFat::cardBegin(uint8_t csPin = SS, uint8_t divisor = 2) { ^ In file included from sketch/SPIFFSdFat.cpp:1:0: SPIFFSdFat.h:17: error: candidate is: bool SdFat::cardBegin(int, int) bool cardBegin(uint8_t csPin = SS, uint8_t divisor = 2){} ^ Multiple libraries were found for "LiquidCrystal_I2C.h" Used: /home/sukanime/Arduino/libraries/LiquidCrystal Not used: /home/sukanime/Arduino/libraries/ESP8266-I2C-LCD1602 Not used: /home/sukanime/Arduino/libraries/ESP8266-I2C-LCD1602 Not used: /home/sukanime/Arduino/libraries/ESP8266-I2C-LCD1602 Not used: /home/sukanime/Arduino/libraries/ESP8266-I2C-LCD1602 Multiple libraries were found for "Dns.h" Used: /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Ethernet Not used: /opt/arduino-1.8.3/libraries/Ethernet Not used: /opt/arduino-1.8.3/libraries/Ethernet Not used: /opt/arduino-1.8.3/libraries/Ethernet Not used: /opt/arduino-1.8.3/libraries/Ethernet exit status 1 'uint8_t' has not been declared
TeguhTeknisiParticipantThanks alot, i can compile & upload it to WeMos D1 Mini using Arduino IDE 1.8.3 after change the Updater.h with https://github.com/OpenGarage/OpenGarage-Firmware/tree/master/Modifications in packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/
Somehow, when i use ESP8266 core 2.2.0 it will compile but afer i upload it, my WeMos D1 Mini Just “Hang” with OpenSprinkler WiFi logo.
When i use ESP8266 core 2.3.0 it will fine.PS: I use Kubuntu 17.04 64 bit.
I use OpenSprinkler-Firmware-master.zip (clone download from github),
– then extract it and rename the folder OpenSprinkler-Firmware-master to OpenSprinkler
– then rename mainArduino.ino to OpenSprinkler.ino
– after that, i put OpenSprinkler folder above to ~/Arduino/
– Download https://github.com/squix78/esp8266-oled-ssd1306/releases version 3.2.7, extract it and rename the folder to SSD1306
then move folder SSD1306 to ~/Arduino/libraries/
– then open OpenSprinkler.ino from the folder ~/Arduino/OpenSprinkler/ with Arduino IDE
– then Compile and Upload it to WeMos D1 Mini
TeguhTeknisiParticipantHi @pbecchi
In this Post https://opensprinkler.com/forums/topic/opensprinkler-on-esp8266/#post-41685
You have build OpenSprinkler with NodeMCU and 74HC595
Because i have alot 74HC595, i want to make it.Please help me, can i have the schematic and the code?
Thanks.
Best Regrads,
TeguhEdit:
I have choose Proto = 1
But still failed to compile….Try to choode Proto = 8 (OSBee)
But still failed.Here the error:
sketch/PCF8574Mio - Copia.cpp:27:6: error: prototype for 'void PCF8574::begin(int)' does not match any in class 'PCF8574' void PCF8574::begin(int address) ^ In file included from sketch/PCF8574Mio - Copia.cpp:21:0: PCF8574Mio.h:35: error: candidate is: void PCF8574::begin(uint8_t) void begin(uint8_t address); ^ In file included from sketch/PCF8574Mio - Copia.cpp:23:0: /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h: In member function 'uint8_t PCF8574::read8()': /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:69:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int) uint8_t requestFrom(int, int); ^ /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Wire/Wire.h:67:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t) uint8_t requestFrom(uint8_t, uint8_t); ^ sketch/PCF8574Mio - Copia.cpp:41:2: error: '_data' was not declared in this scope _data = Wire.read(); ^ sketch/PCF8574Mio - Copia.cpp: At global scope: sketch/PCF8574Mio - Copia.cpp:47:9: error: prototype for 'uint8_t PCF8574::value()' does not match any in class 'PCF8574' uint8_t PCF8574::value() ^ In file included from sketch/PCF8574Mio - Copia.cpp:21:0: PCF8574Mio.h:38: error: candidate is: uint8_t PCF8574::value() const uint8_t value() const { return _dataIn; }; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::write8(uint8_t)': sketch/PCF8574Mio - Copia.cpp:55:2: error: '_data' was not declared in this scope _data = value; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'uint8_t PCF8574::read(uint8_t)': sketch/PCF8574Mio - Copia.cpp:63:10: error: '_data' was not declared in this scope return (_data & (1 << pin)) > 0; ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::write(uint8_t, uint8_t)': sketch/PCF8574Mio - Copia.cpp:71:3: error: '_data' was not declared in this scope _data &= ~(1 << pin); ^ sketch/PCF8574Mio - Copia.cpp:75:3: error: '_data' was not declared in this scope _data |= (1 << pin); ^ sketch/PCF8574Mio - Copia.cpp:78:18: error: '_data' was not declared in this scope PCF8574::write8(_data); ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::toggle(uint8_t)': Multiple libraries were found for "Dns.h" sketch/PCF8574Mio - Copia.cpp:84:2: error: '_data' was not declared in this scope Used: /home/sukanime/.arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/Ethernet _data ^= (1 << pin); ^ sketch/PCF8574Mio - Copia.cpp: In member function 'void PCF8574::shiftRight(uint8_t)': sketch/PCF8574Mio - Copia.cpp:92:2: error: '_data' was not declared in this scope
-
AuthorPosts