Intermittent compiler complaints of 'Point' does not define a type
what perplexing same typedef structures working earlier before added more processes application.
point , command defined follows:
also add puzzlement 'command' being accepted datatype , if library included have have inclusion appear after typedefs or neither 1 sets.
point , command defined follows:
code: [select]
typedef struct point
{
int x;
int y;
}point;
typedef struct command
{ //0 based offsets:
word verb; //zero , first bytes of serial stream.
point begin; //third sixthth bytes (x) eighth eleventh bytes (y) of serial stream.
point finish; //thirteenth sixteenth bytes (x) eighteeenth twenty-first bytes (y) of serial stream.
point ac; //twenty-third twenty-sixth bytes (x) twenty-eighth thirty-first bytes (y) of serial stream.
unsigned int ba; //thirty-third thirty-sixth bytes of serial stream.
unsigned int ea; //thirty-eighth fourty-first bytes of serial stream.
unsigned int td; //fourty-third fourty-sixth bytes of serial stream.
boolean bias; //fourty-eighth byte of serial stream.
float scalor; //scaling factor motor movement.
boolean major; //if true x has major displacement.
}command;
also add puzzlement 'command' being accepted datatype , if library included have have inclusion appear after typedefs or neither 1 sets.
what mean 'intermittent'? same sketch compiles ok , fails?
what mean 'added more processes application'?
all can guess far using library declares point else.
what mean 'added more processes application'?
all can guess far using library declares point else.
Arduino Forum > Using Arduino > Programming Questions > Intermittent compiler complaints of 'Point' does not define a type
arduino
Comments
Post a Comment