Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: tiny2313 pullups

2009-09-30 by John Samperi

At 10:44 AM 30/09/2009, you wrote:
>That is my question.

No, that's OUR question. You said

"I set DDRx to 0x00 and PORTx to 0xFF."

But nowhere in your code you seem to be doing this.

main()
{
         PORTA = 0x7C;
         PORTB = 0xF4;
         PORTD = 0x04;

         DDRA = 0x03;
         DDRB = 0x04;
         DDRD = 0x03;

So again WHICH pins are you talking about?



Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.