Results 1 to 2 of 2
  1. #1
    Member
    everknown is offline

    Posts
    64

    Traffic Light Project

    Need help with Traffic light debugging
    Issue:
    -The orange light isn't flickering each 500ms

    What's happening:
    On Maintenance mode( ONDERHOUD_ON) the Orange light goes off and won't come back on.

    Code: [Java] TraficLight - Pastebin.com

    Translation of certain words from Dutch to English:

    Rood => RED
    Groen => GREEN
    Oranje =>ORANGE

    Veilig => SAFE STATE
    Onveilig => NOT SAFE STATE
    setVeilig => Turn to SAFE STATE
    setOnveilig => Turn to NOT SAFE

    How it works:
    GUI:
    SafeButton => Red->Green by switchTimer 2000ms
    NotSafeButton => Orange->Red by switchTimer 2000ms
    Maintenance BUTTON =>Test_on is active & SafeButton and NOTSAFE button goes inactive & Problem above mentioned
    Test_on=> All lights goes ON && Maintenance mode button inactive
    Test_off => All lights goes OFF && Maintenance mode button goes active
    Maintenance BUTTON =>Waiting for click to turn it off and make SAFE & NOTSAFE button active. Here it should keep turning on and off the
    Orange light too.


    <!==========EDIT==============>
    Close thread please, already solved it at school. Had to do with wrong order.
    Last edited by everknown; 06-07-2014 at 09:11 PM.

  2. #2
    Member
    NiceSwan is offline

    Posts
    48
    I have absolutely no idea what this means.

    #OverAndOut

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •