Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] strange display

2006-11-06 by Dennis Clark

I suggest that you check for an uninitialized variable.  A reset will 
leave you in a bad state, a power cycle may not.

DLC

np np wrote:
> Could be in your initialisation.
>    
>    
>   
> 
> Moataz Hussein <husseinmoataz@yahoo.com> wrote:
>           
> 
> I am testing a simple countdown timer 99 to 0 which is
> displayed on 2 seven segment displays connected to the
> Atmega 8. number conversion is by a lookup table
> stored in registers 0 -9 in the init section.
> am using Atmega 8L, internal RC.
> 
> The problem is that sometimes it starts with strange
> combinations on the display (you feel that the error
> is in the conversion) and continues chaging display at
> correct times. other times it works fine.
> 
> I tried reset when it get the error but it resets
> itself to the initial wrong display.
> 
> what can I do?? any suggestions?
> 
> Moataz
> 
> __________________________________________________________
> We have the perfect Group for you. Check out the handy changes to Yahoo! Groups 
> (http://groups.yahoo.com)
> 
> 
> 
>          
> 
>  Send instant messages to your online friends http://uk.messenger.yahoo.com 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
> 

-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

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.