I’m new to the particle environment and have been playing around with the grove starter kit, plugging in various peripherals and flashing the Argon and getting sensor data and stuff. Sadly, it appears as though I can only include one package at a time before compilation fails, claiming that the second package doesn’t exist. If I create a new app and import the second (otherwise failing) package on it’s own, the code compiles/flashes just fine, so the problem wouldn’t appear to be with the packages themselves.
For instance:
// This #include statement was automatically added by the Particle IDE.
#include <Grove-Ultrasonic-Ranger.h>
#include <HttpClient.h>
#define ULTPIN D2
http_request_t request;
http_response_t response;
I cannot include both Grove-Ultrasonic-Ranger.h and HttpClient.h
In case it’s relevant, I’m doing this on the webbrowser IDE and don’t have any local file structure or anything (like I said, I’m new to this so I’m not sure if that’s possible or necessary or what)
Thanks for reading and thanks twice if you have any answers/advice to give me
@ScruffR I see you’re right about that. I’ve imported it properly and now it is working Thanks for that.
While we are on the subject, I get the same error when importing both the Grove-Ultrasonic-Sensor and the Temperature and Humidity sensor. These are both located and imported from the menu as expected.