Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Problem with code(simulates in AVR Studio fine, but not in real life)

2009-06-10 by David VanHorn

On Tue, Jun 9, 2009 at 10:45 PM, John
Samperi<samperi@ampertronics.com.au> wrote:
> At 11:25 AM 10/06/2009, you wrote:
>>the LEDs kinda freak out.
>
> Do you have the necessary pull up or pull down resistors on the switches?
>
> Regards

That, and debouncing would be where I'd look.

I generally avoid doing things directly off switches, preferring to
scan them every few milliseconds, and use that.

-- 
There is no computer problem which cannot be solved by proper
application of a sufficiently large hammer.

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.