iot-playground / Arduino

ESP8266 EasyIoT library and sensor examples
http://iot-playground.com/
337 stars 298 forks source link

How do I D/L this library? #2

Open tytower opened 9 years ago

tytower commented 9 years ago

env GIT_SSL_NO_VERIFY=tru git clone https://github.com/iot-playground/Arduino/tree/master/Esp8266EasyIoT

Cloning into 'Esp8266EasyIoT'... error: The requested URL returned error: 403 while accessing https://github.com/iot-playground/Arduino/tree/master/Esp8266EasyIoT/info/refs fatal: HTTP request failed

iot-playground commented 9 years ago

go to https://github.com/iot-playground/Arduino and press Download zip button

baarini commented 8 years ago

Hi,

I tried to simulate DS18B20_temperature_sensor. I got the below error: "...\Documents\Arduino\libraries\Arduino_master\ESP8266ArduinoIDE\DS18B20_temperature_sensor\DS18B20_temperature_sensor.ino:16:25: fatal error: ESP8266WiFi.h: No such file or directory

include "

I copied the ESP8266WIFI.h & ESP8266WIFI.cpp in "...\Arduino\libraries\Arduino_master"; restarted IDE & simulated: still the same error exists.

Could you help please? thanks in advance

CountParadox commented 8 years ago

download whole library as zip, extract to 'ESP8266' folder (inside this will be x.h etc. then put THIS folder in the libraries folder, and restart IDE and try again.

baarini commented 8 years ago

I did the same steps and still the errors persists. But I found the reason; downloaded .h file is "ESP8266wifi.h" while in the .pde file the included file is "#include<ESP8266WIFI.h". You can notice that the last 4 letters are upper case & lower case respectively in the two files name (wifi & WIFI). I corrected it & simulated: succeeded.

Thanks

CountParadox commented 8 years ago

Congrats, have fun! On 25 Mar 2016 8:17 AM, "baarini" notifications@github.com wrote:

I did the same steps and still the errors persists. But I found the reason; downloaded .h file is "ESP8266wifi.h" while in the .pde file the included file is "#include<ESP8266WIFI.h". You can notice that the last 4 letters are upper case & lower case respectively in the two files name (wifi & WIFI). I corrected it & simulated: succeeded.

Thanks

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/iot-playground/Arduino/issues/2#issuecomment-201023780

taher143 commented 8 years ago

Hello, I have compiled Web server Project with Arduino IDE. I have successfully uploaded the program to ESP-01 module. but after restarting the ESP-01, getting garbage over Arduino serial monitor. I'm Using Arduino UNO board(ATmega328 removed!) to Flash ESP. Serial COM Port is continues Connectin-Disconnectin while ESP is powered UP. Is there an issue with my ESP? or any connection? GPIO and REST pins are left OPEN.

alibay58 commented 8 years ago

Hi,

I want to use ESP8266_dimmer example. It was given not found error when I compile below side.

include <avr/eeprom.h> I managed it changing to #include

But now it gives another error and I couldn't managed to solve problem. Here is the error; / Arduino:1.6.10 (Windows 7), Kart:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (3M SPIFFS), ck, Disabled, None" sketch\Esp8266EasyIoT.cpp: In member function 'void Esp8266EasyIoT::begin(void ()(const Esp8266EasyIoTMsg&), int, Stream, Stream)':

Esp8266EasyIoT.cpp:58: error: 'eeprom_read_block' was not declared in this scope eeprom_readblock((void)&nodeId, (void)EEPROM_NODE_ID_ADDRESS, sizeof(uint16_t)); sketch\Esp8266EasyIoT.cpp: In member function 'bool Esp8266EasyIoT::process()': Esp8266EasyIoT.cpp:231: error: 'eeprom_write_block' was not declared in this scope eeprom_writeblock((void)&nodeId, (void)EEPROM_NODE_ID_ADDRESS, sizeof(uint16_t));
exit status 1 'eeprom_read_block' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. */

Please help me how to solve this error.

marianodonal commented 6 years ago

I cannot install library, when i try to compile give me a error: sketch\Esp8266EasyIoT.h:28:24: fatal error: avr/eeprom.h: No such file or directory #include <avr/eeprom.h> I need help. Thanx in advance