Code Monkey home page Code Monkey logo

Comments (11)

alexander-daniel avatar alexander-daniel commented on June 29, 2024

Please make sure you have installed the libraries to the correct locations. Give #3 this solution a try and let me know!
Thanks!

from arduino-api.

andershf avatar andershf commented on June 29, 2024

Thanks for the quick response @alexander-daniel

Here's a screenshot of the location: http://goo.gl/esM6dW

from arduino-api.

alexander-daniel avatar alexander-daniel commented on June 29, 2024

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.

from arduino-api.

andershf avatar andershf commented on June 29, 2024

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?

from arduino-api.

krishnaprasanth26 avatar krishnaprasanth26 commented on June 29, 2024

@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

from arduino-api.

alexander-daniel avatar alexander-daniel commented on June 29, 2024

Yup! I'll give it a go on our windows machine today and let you know. Thanks!

from arduino-api.

krishnaprasanth26 avatar krishnaprasanth26 commented on June 29, 2024

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
#36 (comment).

from arduino-api.

alexander-daniel avatar alexander-daniel commented on June 29, 2024

@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?

from arduino-api.

krishnaprasanth26 avatar krishnaprasanth26 commented on June 29, 2024

@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
)

from arduino-api.

krishnaprasanth26 avatar krishnaprasanth26 commented on June 29, 2024

@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]);

}

from arduino-api.

michaelproino avatar michaelproino commented on June 29, 2024

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?

from arduino-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.