Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/30/10 13:45
Read: times


 
#179747 - Sequence
Responding to: ???'s previous message
Laura Jones said:
The sequence that I wrote earlier is what I was given and he said it was the lighting sequence for a pelican crossing. Looking from the cars pont of view, the lights are green then a time then they go amber...

You've missed the point.

In your sequence, you said:

TURN ON GREEN LED
DELAY
TURN ON AMBER LED

How many LEDs are now ON?

Remember that a computer only ever does exactly and precisely what you tell it - nothing more, nothing less!

This is fundamental to any form of computer programming - not specific to embedded.


List of 25 messages in thread
TopicAuthorDate
traffic lights            01/01/70 00:00      
   you are thus forgiven, but            01/01/70 00:00      
   Oh, how very British            01/01/70 00:00      
      Menagerie of crossings            01/01/70 00:00      
         Animal crossings...            01/01/70 00:00      
            zebra cross            01/01/70 00:00      
               Zebra crossing project            01/01/70 00:00      
                  trafic light            01/01/70 00:00      
                     Wrong.            01/01/70 00:00      
                        Laura used MCU            01/01/70 00:00      
                           Please read posts carefully!            01/01/70 00:00      
               See the persons in that photo            01/01/70 00:00      
                  Double Pun            01/01/70 00:00      
                     Good one!            01/01/70 00:00      
   delay            01/01/70 00:00      
      Oh dear!            01/01/70 00:00      
      Sequence            01/01/70 00:00      
      Robot?            01/01/70 00:00      
   Smith & Jones?            01/01/70 00:00      
      Too many names?            01/01/70 00:00      
         there once was a TV series ... "alias Smith and Jones"            01/01/70 00:00      
            Alas, Smith & Jones            01/01/70 00:00      
            A word to brighten my day            01/01/70 00:00      
      seems like here            01/01/70 00:00      
         there's demand for that here            01/01/70 00:00      

Back to Subject List