Just installed Stino2017 under ST 3 under windows 7. I tried to compile a project that runs ok using the arduinio IDE. When using Stino I would get an error "XXX not defined defined in this scope."
It boiled down to the following:
//test.ino
typedef struct _alarmEntry {
short hours;
short minutes;
short seconds;
int id;
} AlarmEntry;
Just installed Stino2017 under ST 3 under windows 7. I tried to compile a project that runs ok using the arduinio IDE. When using Stino I would get an error "XXX not defined defined in this scope."
It boiled down to the following:
//test.ino
typedef struct _alarmEntry { short hours; short minutes; short seconds; int id; } AlarmEntry;
AlarmEntry lightsOnAlarm = { 4, 0, 0, -1 }; AlarmEntry lightsOffAlarm = { 23, 0, 0, -1};
// this does not compile in Stino but does in Arduino IDE void eek(AlarmEntry x) {
}
// this compiles in Stino //void eek( struct _alarmEntry x) {
//}
// this compiles in Stino and it should not //eek(AlarmEntry x ) {
//}
int led = 13;
void setup() {
}
void loop() {
}