Hello,
So I've been trying to get tone() to work on my attiny44. I originally started out with HLT's solution but then I realized that it doesn't support tone(). So then after googling and searching through this forum, I found that I can use the cores from this website: Google Code Archive - Long-term storage for Google Code Project Hosting..
I have Arduino 1.06 and have followed the steps mentioned in the README file, where all I have have copied over are the attiny44at1 and attiny44at8 options over to boards.txt. At this point I tried testing it with the blink sketch but nothing showed up the LED. Thinking that I might have a faulty tiny44, I tried using HLT's version and the blink sketch worked.
So now I can't seem to figure out why the cores aren't working at all. I am new at this too, but any help would be greatly appreciated.
EDIT: I found that the pin definitions between the HLT and tiny-core were different. Digital pin 0 was defined to be pin 13 in HLT, but it was defined to be pin 2 for the tiny-core.
###########################################################################
attiny44at8.name=ATtiny44 @ 8 MHz (internal oscillator; BOD disabled)
# The following do NOT work...
# attiny44at8.upload.using=avrispv2
# attiny44at8.upload.using=Pololu USB AVR Programmer
# The following DO work (pick one)...
attiny44at8.upload.using=arduino:arduinoisp
# attiny44at8.upload.protocol=avrispv2
# attiny44at8.upload.using=pololu
attiny44at8.upload.maximum_size=4096
# Default clock (slowly rising power; long delay to clock; 8 MHz internal)
# Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms; [CKSEL=0010 SUT=10]; default value
# Brown-out detection disabled; [BODLEVEL=111]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]
attiny44at8.bootloader.low_fuses=0xE2
attiny44at8.bootloader.high_fuses=0xD7
attiny44at8.bootloader.extended_fuses=0xFF
attiny44at8.bootloader.path=empty
attiny44at8.bootloader.file=empty44at8.hex
attiny44at8.build.mcu=attiny44
attiny44at8.build.f_cpu=8000000L
attiny44at8.build.core=tiny
# attiny44at8.build.core=empty
###########################################################################
###########################################################################
attiny44at1.name=ATtiny44 @ 1 MHz (internal oscillator; BOD disabled)
# The following do NOT work...
# attiny44at1.upload.using=avrispv2
# attiny44at1.upload.using=Pololu USB AVR Programmer
# The following DO work (pick one)...
attiny44at1.upload.using=arduino:arduinoisp
# attiny44at1.upload.protocol=avrispv2
# attiny44at1.upload.using=pololu
attiny44at1.upload.maximum_size=4096
# Default clock (slowly rising power; long delay to clock; 8 MHz internal; divide clock by 8)
# Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms; [CKSEL=0010 SUT=10]; default value
# Divide clock by 8 internally; [CKDIV8=0]
# Brown-out detection disabled; [BODLEVEL=111]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]
attiny44at1.bootloader.low_fuses=0x62
attiny44at1.bootloader.high_fuses=0xD7
attiny44at1.bootloader.extended_fuses=0xFF
attiny44at1.bootloader.path=empty
attiny44at1.bootloader.file=empty44at1.hex
attiny44at1.build.mcu=attiny44
attiny44at1.build.f_cpu=1000000L
attiny44at1.build.core=tiny
# attiny44at1.build.core=empty
###########################################################################
- D