At 11:47 AM 29/12/2006, you wrote: > out r31, 0x2f ; store in timer/counter 1 You have them back to front :) Try out 0x2f,r31 ; store in timer/counter 1 Better use the actual register name (TCNT1 ??) rather than the address as it may change in another chip so that you will be able to reuse your code. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john@ampertronics.com.au Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************
Message
Re: [AVR-Chat] invalid number?
2006-12-29 by John Samperi
Attachments
- No local attachments were found for this message.