Welcome, Guest
Username: Password: Remember me

TOPIC: ESP8266 WiFi gas sensor failure

ESP8266 WiFi gas sensor failure 1 year 7 months ago #2191

  • subsix
  • subsix's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
hello,

when i try to compile and load sketch to ESP8266 ( iot-playground.com/2-uncategorised/53-es...s-sensor-arduino-ide ) i got:

C:\arduino-1.6\libraries\arduino-base64\Base64.cpp:2:26: fatal error: avr/pgmspace.h: No such file or directory
#include <avr/pgmspace.h>
^
compilation terminated.


#include <ESP8266WiFi.h> and #include <Base64.h> are in libraries folder, Base64 come from: github.com/adamvr/arduino-base64


thx
The administrator has disabled public write access.

ESP8266 WiFi gas sensor failure 1 year 7 months ago #2209

  • Dhoerauf
  • Dhoerauf's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Thank you received: 2
  • Karma: 0
I just got this to work last night. In the Base64 library open the Base64.cpp. Change the <avr/pgmspace.h> to "pgmspace.h" save and close. copy pgmspace.h into folder called pgmspace in your normal arduino libraries folder. If open close and reopen Arduino IDE. It compiles fine.

I also had to connect my GPIO0 like i was flashing firmware. All worked out great.
The administrator has disabled public write access.
The following user(s) said Thank You: subsix

ESP8266 WiFi gas sensor failure 1 year 7 months ago #2212

  • subsix
  • subsix's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
i will check Dhoerauf, thx you
The administrator has disabled public write access.
Time to create page: 0.276 seconds
Powered by Kunena Forum