arduino-api
arduino-api copied to clipboard
plotly_streaming_ethernet.h: No such file or directory
Following this tutorial: https://plot.ly/arduino/dht22-temperature-tutorial/
Extracted the library (arduino-api-master) under Arduino/libraries/ and renamed it to "Plotly"
Get the following error: dht22_ethernet.ino:3:39: fatal error: plotly_streaming_ethernet.h: No such file or directory compilation terminated. Error compiling.
Please make sure you have installed the libraries to the correct locations. Give https://github.com/plotly/arduino-api/issues/3 this solution a try and let me know! Thanks!
Thanks for the quick response @alexander-daniel
Here's a screenshot of the location: http://goo.gl/esM6dW
Great, thanks. Try moving the individual plotly libraries outside of the Plotly
folder. Let me know if that works. Each folder within that Plotly
folder is its own library, so it needs to go up one level!
Let me know if that works.
Thanks @alexander-daniel now I get the error as in issue #3
Since I'm using Windows I didn't quite understand the solution in the thread. Could you please give me a quick guide?
@alexander-daniel i am facing a similar problem as what @andershf is facing now,im using a windows pc ,please give me a possible solution .thanks in advance
Yup! I'll give it a go on our windows machine today and let you know. Thanks!
Hi i am trying to use plotly for streaming my sensor data through GSM/GPRS shield ,i am currently using a ARDUINO IDE 1.6.0 in my windows 7, 32 bit OS .As i tried to compile my program using the same it returned an error stating that avr/dtostrf.h: No such file or directory.i took some suggestion to fix this problem by installing IDE 1.0.6 and the program for streaming through Ethernet worked absolutely fine, but i still keep facing a problem in compiling the example program for streaming through GPRS that you have provided in Github .kindly help me to fix this problem ,i am eagerly waiting for solution for this problem from your team, thanks in advance
On Fri, Mar 6, 2015 at 8:30 PM, Alejandro [email protected] wrote:
Yup! I'll give it a go on our windows machine today and let you know. Thanks!
— Reply to this email directly or view it on GitHub https://github.com/plotly/arduino-api/issues/36#issuecomment-77572064.
@prasanthratso So ethernet compiles and works,but GPRS does not?
What is the error output you're receiving when you try to compile the GPRS sketch on 1.0.6?
@alexander-daniel it returns me the below errors
C:\Program Files\Arduino\libraries\GSM\GSM3ShieldV1ModemVerification.cpp: In member function 'String GSM3ShieldV1ModemVerification::getIMEI()': C:\Program Files\Arduino\libraries\GSM\GSM3ShieldV1ModemVerification.cpp:72: error: conversion from 'int' to 'String' is ambiguous C:\Program Files\Arduino\hardware\arduino\cores\arduino/WString.h:61: note: candidates are: String::String(const FlashStringHelper) C:\Program Files\Arduino\hardware\arduino\cores\arduino/WString.h:59: note: String::String(const char)
@alexander-daniel i have used the below program to compile
#include <GSM.h> #include "plotly_streaming_gsm.h"
// Sign up to plotly here: https://plot.ly // View your API key and streamtokens here: https://plot.ly/settings #define nTraces 2 // View your tokens here: https://plot.ly/settings // Supply as many tokens as data traces // e.g. if you want to ploty A0 and A1 vs time, supply two tokens char *tokens[nTraces] = {"token_1", "token_2"}; // arguments: username, api key, streaming token, filename plotly graph = plotly("plotly_username", "plotly_api_key", tokens, "your_filename", nTraces);
void gsm_connect(){ // ... }
void setup() {
// Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only }
gsm_connect();
graph.fileopt="overwrite"; // See the "Usage" section in https://github.com/plotly/arduino-api for details bool success; success = graph.init(); if(!success){while(true){}} graph.openStream(); }
unsigned long x; int y;
void loop() { graph.plot(millis(), analogRead(A0), tokens[0]); graph.plot(millis(), analogRead(A1), tokens[1]);
}
Hi, I have the same problem ; No such file or directory compilation terminated. Error compiling.
I add the library in zip format, correctly but when I try to run example code, this error occurs, can you help me?