hello arduino people, im new , im having trouble project
http://www.instructables.com/id/plotly-arduino-data-visualization/?allsteps
bellow code used:
#ifndef plotly_streaming_ethernet_h
#define plotly_streaming_ethernet_h
#include "arduino.h"
#include <avr/pgmspace.h>
#include <spi.h>
#include <ethernet.h>
class plotly
{
public:
plotly(char *username, char *api_key, char* stream_tokens[], char *filename, int ntraces);
ethernetclient client;
bool init();
void openstream();
void closestream();
void reconnectstream();
void jsonstart(int i);
void jsonmiddle();
void jsonend(char *token);
void plot(unsigned long x, int y, char *token);
void plot(unsigned long x, float y, char *token);
int log_level;
bool dry_run;
int maxpoints;
bool world_readable;
bool converttimestamp;
char *timezone;
char *fileopt;
private:
void print_(int d);
void print_(unsigned long d);
void print_(float d);
void print_(char *d);
void print_(const __flashstringhelper* d);
int len_(int i);
int len_(unsigned long i);
int len_(char *i);
unsigned long fibonacci_;
char *username_;
char *api_key_;
char** stream_tokens_;
char *filename_;
int ntraces_;
};
#endif
i uploaded scetch bellow arduino ide , compiled said
arduino: 1.6.1 (windows 8.1), board: "arduino mega or mega 2560, atmega2560 (mega 2560)"
c:\users\joemat~1\appdata\local\temp\build8295761086660840712.tmp/core.a(main.cpp.o): in function `main':
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:34: undefined reference `setup'
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:44: undefined reference `loop'
collect2.exe: error: ld returned 1 exit status
error compiling.
report have more information with
"show verbose output during compilation"
enabled in file > preferences.
http://www.instructables.com/id/plotly-arduino-data-visualization/?allsteps
bellow code used:
#ifndef plotly_streaming_ethernet_h
#define plotly_streaming_ethernet_h
#include "arduino.h"
#include <avr/pgmspace.h>
#include <spi.h>
#include <ethernet.h>
class plotly
{
public:
plotly(char *username, char *api_key, char* stream_tokens[], char *filename, int ntraces);
ethernetclient client;
bool init();
void openstream();
void closestream();
void reconnectstream();
void jsonstart(int i);
void jsonmiddle();
void jsonend(char *token);
void plot(unsigned long x, int y, char *token);
void plot(unsigned long x, float y, char *token);
int log_level;
bool dry_run;
int maxpoints;
bool world_readable;
bool converttimestamp;
char *timezone;
char *fileopt;
private:
void print_(int d);
void print_(unsigned long d);
void print_(float d);
void print_(char *d);
void print_(const __flashstringhelper* d);
int len_(int i);
int len_(unsigned long i);
int len_(char *i);
unsigned long fibonacci_;
char *username_;
char *api_key_;
char** stream_tokens_;
char *filename_;
int ntraces_;
};
#endif
i uploaded scetch bellow arduino ide , compiled said
arduino: 1.6.1 (windows 8.1), board: "arduino mega or mega 2560, atmega2560 (mega 2560)"
c:\users\joemat~1\appdata\local\temp\build8295761086660840712.tmp/core.a(main.cpp.o): in function `main':
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:34: undefined reference `setup'
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:44: undefined reference `loop'
collect2.exe: error: ld returned 1 exit status
error compiling.
report have more information with
"show verbose output during compilation"
enabled in file > preferences.
hello arduino people, im new , im having trouble project
http://www.instructables.com/id/plotly-arduino-data-visualization/?allsteps
bellow code used:
#ifndef plotly_streaming_ethernet_h
#define plotly_streaming_ethernet_h
#include "arduino.h"
#include <avr/pgmspace.h>
#include <spi.h>
#include <ethernet.h>
class plotly
{
public:
plotly(char *username, char *api_key, char* stream_tokens[], char *filename, int ntraces);
ethernetclient client;
bool init();
void openstream();
void closestream();
void reconnectstream();
void jsonstart(int i);
void jsonmiddle();
void jsonend(char *token);
void plot(unsigned long x, int y, char *token);
void plot(unsigned long x, float y, char *token);
int log_level;
bool dry_run;
int maxpoints;
bool world_readable;
bool converttimestamp;
char *timezone;
char *fileopt;
private:
void print_(int d);
void print_(unsigned long d);
void print_(float d);
void print_(char *d);
void print_(const __flashstringhelper* d);
int len_(int i);
int len_(unsigned long i);
int len_(char *i);
unsigned long fibonacci_;
char *username_;
char *api_key_;
char** stream_tokens_;
char *filename_;
int ntraces_;
};
#endif
i uploaded scetch bellow arduino ide , compiled said
arduino: 1.6.1 (windows 8.1), board: "arduino mega or mega 2560, atmega2560 (mega 2560)"
c:\users\joemat~1\appdata\local\temp\build8295761086660840712.tmp/core.a(main.cpp.o): in function `main':
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:34: undefined reference `setup'
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:44: undefined reference `loop'
collect2.exe: error: ld returned 1 exit status
error compiling.
report have more information with
"show verbose output during compilation"
enabled in file > preferences.
http://www.instructables.com/id/plotly-arduino-data-visualization/?allsteps
bellow code used:
#ifndef plotly_streaming_ethernet_h
#define plotly_streaming_ethernet_h
#include "arduino.h"
#include <avr/pgmspace.h>
#include <spi.h>
#include <ethernet.h>
class plotly
{
public:
plotly(char *username, char *api_key, char* stream_tokens[], char *filename, int ntraces);
ethernetclient client;
bool init();
void openstream();
void closestream();
void reconnectstream();
void jsonstart(int i);
void jsonmiddle();
void jsonend(char *token);
void plot(unsigned long x, int y, char *token);
void plot(unsigned long x, float y, char *token);
int log_level;
bool dry_run;
int maxpoints;
bool world_readable;
bool converttimestamp;
char *timezone;
char *fileopt;
private:
void print_(int d);
void print_(unsigned long d);
void print_(float d);
void print_(char *d);
void print_(const __flashstringhelper* d);
int len_(int i);
int len_(unsigned long i);
int len_(char *i);
unsigned long fibonacci_;
char *username_;
char *api_key_;
char** stream_tokens_;
char *filename_;
int ntraces_;
};
#endif
i uploaded scetch bellow arduino ide , compiled said
arduino: 1.6.1 (windows 8.1), board: "arduino mega or mega 2560, atmega2560 (mega 2560)"
c:\users\joemat~1\appdata\local\temp\build8295761086660840712.tmp/core.a(main.cpp.o): in function `main':
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:34: undefined reference `setup'
c:\program files (x86)\arduino\hardware\arduino\avr\cores\arduino/main.cpp:44: undefined reference `loop'
collect2.exe: error: ld returned 1 exit status
error compiling.
report have more information with
"show verbose output during compilation"
enabled in file > preferences.
Arduino Forum > Using Arduino > Programming Questions > Ploty DHT22 (im so confused)
arduino
Comments
Post a Comment