Page 1 of 1

avr/pgmspace.h no such file - ESP 8266 12e

Posted: Sat May 21, 2016 3:50 pm
by kozoke
Hi,
I received the error message below when I try to upload the "OBD_I2C_test" to an ESP 8266 12e dev board. Any idea what may be causing this? The avr/pgmspace.h file exists but not sure why it does not work. Any thoughts appreciated.

Error Message below________________________________________________________________________________________

C:\#####\Arduino\libraries\MPU9150/MPU9150.h:41:26: fatal error: avr/pgmspace.h: No such file or directory

#include <avr/pgmspace.h>
^
compilation terminated.

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Re: avr/pgmspace.h no such file - ESP 8266 12e

Posted: Thu May 26, 2016 1:09 pm
by stanley
You need to find a working MPU6050 library for ESP8266. The library you are using is for AVR Arduino only.