Hi all, I'm trying to program a ATtiny13A just have a play.
I'm using my good old Mega2560 for programming,
I have given this tut ago, but I'm struggling
With GitHub - tekstop/attiny at Arduino1
*** modified boards.txt [ATtiny13 can be programmed using Arduino as ISP]
*** NOTE: A change has to be made to the wiring.c file in the arduino core for this to work correctly. The wiring.c file has an error where it does not set the correct TIMER for ATTiny13 only. This change will not impact any other boards.in arduino1/hardware/arduino/cores/arduino/wiring.c
Line 44 should be supplemented with an additional condition for ATtiny13
#if defined(AVR_ATtiny24) || defined(..) ... [Add this] || defined(AVR_ATtiny13)
SIGNAL(TIM0_0VF_vect)
....
Do I need to add this or has it been done? I'm confused.
#if defined(__AVR_ATtiny24__) || defined(..) ... [Add this] || defined(__AVR_ATtiny13__)
SIGNAL(TIM0_0VF_vect)
Pin 9 LED is fading, indicating the program is working.
When I open serial monitor I input
Burn Bootloader > Arduino as ISP
Pin 9 LED stays on, and Pin 8 LED light's up, Pin 7 has remained off.
My wires check out, what can I do to figure out what I have missed or done wrong.
// pin name: not-mega: mega(1280 and 2560)
// slave reset: 10: 53
// MOSI: 11: 51
// MISO: 12: 50
// SCK: 13: 52
Is there anything more I can add to help you guys out to help me?
Cheers.