Hello!
I am trying High-Low Tech's tutorial (http://hlt.media.mit.edu/?p=1229) to program ATTiny85 using Arduino Duemilanove.
I did everything very carefully and double checked also. When I try to upload a BLINK example, I get compiling error.
In file included from /usr/lib/gcc/avr/4.5.3/../../../avr/include/util/delay.h:44:0,
from /usr/lib/gcc/avr/4.5.3/../../../avr/include/avr/delay.h:37,
from /home/x/sketchbook/hardware/attiny45_85/cores/attiny45_85/wiring_private.h:32,
from /home/x/sketchbook/hardware/attiny45_85/cores/attiny45_85/WInterrupts.c:36:
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.5.3/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token
What am i doing wrong?
BTW - I am using ArduinoISP-dev04b.zip that works with ATMega328P-PU.
(using Linux Ubuntu)
wha..what?
I don't understand... I haven't disabled anything
Also, what i noticed -
when i connect all wires from Duemilanove to ATTiny85 and choose Arduino Duemilanove 328 as board in Arduino software, everything works - i can upload scripts to ATMega328.
But when i pick from menu: board ATTiny85 (Arduino as ISP), i get PROGRAMMER NOT RESPONDING / NOT IN SYNC
The following is not directed to you, @D3C3PT1C0N, but to the Arduino folks who continue to leave off the all important step of "disable auto-reset": ARGH! (and a few other expletives not included to keep the board family-friendly plus a long diatribe about adding to the amount of support users need rather than reducing it)
You are instructed to connect a 10 uF capacitor if you have an Uno. Concluded by this: "The capacitor is only needed if you’re using an Arduino Uno, not an Arduino Duemilanove." Unfortunately, the instructions do not indicate what you will need to do if you are using a Duemilanove. Instead of a capacitor between RESET and GND, you will need to connect a 120 ohm resistor between RESET and 5V. Detailed instructions are here...