CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2013
    Posts
    3

    Traffic light with THRSim11 68HC11

    How can I make a traffic light that ticks from one light to another every 5 seconds in THRSim11 microprocessor 68HC11. Thanks

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Traffic light with THRSim11 68HC11

    that depends entirely on how the traffic light is connected to the microcontroller.

  3. #3
    Join Date
    Nov 2013
    Posts
    3

    Re: Traffic light with THRSim11 68HC11

    We only have to make it work on THRSim11 all we have is that it need to switch lights every 5seconds and we're storing in 1004. Also we have to make an elevator :s its all just connected to thrsim

  4. #4
    Join Date
    Nov 2013
    Posts
    3

    Re: Traffic light with THRSim11 68HC11

    we're connecting PB0 PB1 PB2

  5. #5
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: Traffic light with THRSim11 68HC11

    As I can't send you the 68HC11 book I have on my shelf I hope this provide at least some help http://www.hc11.demon.nl/thrsim11/68hc11/
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured