03-20-2009 08:47 AM
Yes, Ray caught it wright. I want that the LED turns on when data is refreshed and turns off instantantly, but it can be just in the next comparisson of the program that just gets a "false" because data has no changes. My concern is that what you say, that the LEDmay be turned ON always, but I don't think so because data refreshes every 1 or 2 seconds or less maybe, but not always I receive a good frame to refresh it, and at the beggining of turning ON all the stuff and while the GPS is gettins satellits etc, I don't have any data, so LEDS must be OFF until I start receiving it. 🙂
03-20-2009 10:19 AM
So using the shift register should work for you. Our concern was that the change would be so rapid that although the LED would be flickering, it would be so fast that the eye would perceive it as being either always ON or always OFF.
Do you need help to implement a shift register?
R
03-20-2009 10:33 AM
Well, if the ON period is so short that human eye can't notice it, I would use a retard to turn it OFF.
I know the shift register but I'm not very familiarized with it. I know I need a while loop, but what should be the condition of that loop?
03-20-2009 11:12 AM
To stop a while loop you can have a stop button (simplest way). You can OR the stop button with the status of the error cluster. You can also OR it with whatever other boolean value that should stop the loop.
R
03-20-2009 11:38 AM
03-20-2009 11:59 AM
03-21-2009 08:10 AM
03-21-2009 12:28 PM