I trying to program a ATtyny85 using a Arduino board
with arduino IDE version 1 and gives compile errors, ( OUTPUT is not declare )
after trying few solutions I decided to download arduino .22
and give a try, and it works. if you guys have an idea of how to fix this issue is very welcome
i just try your cores and did not compile Here is the error
LIGHSENSOR_at86.cpp:1:21: error: Arduino.h: No such file or directory
LIGHSENSOR_at86.cpp: In function 'void setup()':
LIGHSENSOR_at86.pde:-1: error: 'OUTPUT' was not declared in this scope
LIGHSENSOR_at86.pde:-1: error: 'pinMode' was not declared in this scope
LIGHSENSOR_at86.cpp: In function 'void loop()':
LIGHSENSOR_at86.pde:-1: error: 'analogRead' was not declared in this scope
LIGHSENSOR_at86.pde:-1: error: 'LOW' was not declared in this scope
LIGHSENSOR_at86.pde:-1: error: 'digitalWrite' was not declared in this scope
LIGHSENSOR_at86.pde:-1: error: 'HIGH' was not declared in this scope
LIGHSENSOR_at86.pde:-1: error: 'digitalWrite' was not declared in this scope
If the code fails to compile with every ATtiny core, it could be that you set the core up wrongly? Simply extract the .zip file into the hardware file in the arduino file, then open up the IDE. If that's what you've done, then I'm out of iteas...