[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Simple Project / Demo for Tiny13 (iocompat.h)
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Simple Project / Demo for Tiny13 (iocompat.h) |
Date: |
Mon, 21 Sep 2009 18:21:43 +0200 |
User-agent: |
Mutt/1.5.11 |
As Zitt Zitterkopf wrote:
> Does anyone have a iocompat.h file which is compatible with the
> Tiny13 so that I can begin playing with the demo?
Sorry, that demo has been written for devices where timer 1 offers a
16-bit timer. The ATtiny13 only offers an 8-bit timer, so rewriting
the demo might be possible, but involves more than just adding a
set of #defines to a header file.
I suggest you simply copy the code over, and try porting it yourself
as an exercise. Most of the things should be similar.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)