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

Inquiry and support for Freematics products
Post Reply
kozoke
Posts: 1
Joined: Wed May 18, 2016 1:02 pm

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

Post 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).
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

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

Post by stanley »

You need to find a working MPU6050 library for ESP8266. The library you are using is for AVR Arduino only.
Post Reply