uniquepete
New Member
Posts: 4
Raspberry Pi: Yes
Other Device: Mac, Arduina, ESP8266, ESP32
|
Post by uniquepete on May 1, 2018 20:10:16 GMT -8
Sorry if this is a trivial question, but I am trying to compile the INA3221_Test sketch to load onto an ESP8266 NodeMCU controller, using the Arduino IDE (1.8.5), to interface with the INA23221 Breakout Board.
Straight up, the compiler can't find the file Particle.h. My searches seem to suggest that Particle is a different development environment, and it's not obvious to me (admittedly a relative newbie) where the Particle.h file comes from or what it contains.
Can someone point me in the right direction to find out about this, or let me know what I need to do to overcome this issue?
Thanks.
|
|
uniquepete
New Member
Posts: 4
Raspberry Pi: Yes
Other Device: Mac, Arduina, ESP8266, ESP32
|
Post by uniquepete on May 1, 2018 20:46:34 GMT -8
Funny how asking for help (explaining the problem) frees up (or maybe stimuilates) the grey matter...
I replaced the
#include Particle.h with
#include Arduino.h #include Wire.h in the SDL_Arduino_INA3221.cpp file, and just commented out to the corresponding #include in the sketch and SDL_Arduino_INA3221.h files, and everything seems to be OK.
I'm still happy to hear if this was not the right thing to do, for any reason.
Thanks
|
|
|
Post by SDL on May 2, 2018 7:14:32 GMT -8
Agreed, You did the right thing. I checked our archive and we don't have "Particle.h" anywhere? I'm not sure where you got that file that had that header in the program.
BP
|
|