Content originally posted in LPCWare by tmltml51 on Thu Nov 15 00:34:38 MST 2012
I add a c + + files in my project. when I compile them ,it would error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JPEGCamera'
my program:
#ifndef JPEGCamera_h
#define JPEGCamera_h
//#include <avr/pgmspace.h>
//#include "WProgram.h"
class JPEGCamera
{
public:
JPEGCamera();
void begin(void);
int reset(char * response);
int getSize(char * response, int * size);
int takePicture(char * response);
int stopPictures(char * response);
int readData(char * response, int address);
private:
int sendCommand(const char * command, char * response, int length);
};
#endif
What are its problems?
how to solve it?
thanks