Shop OBEX P1 Docs P2 Docs Learn Events
What Do the LED's control — Parallax Forums

What Do the LED's control

LisrusLisrus Posts: 1
edited 2011-04-05 09:05 in General Discussion
I'm going insane here, ive been told how to turn on and off the LED's. CAN SOMEONE JUST TELL ME WHAT THEY DO!!?

Comments

  • lanternfishlanternfish Posts: 366
    edited 2011-04-05 01:00
    Flash on and off? so probably nothing.
  • electrosyselectrosys Posts: 212
    edited 2011-04-05 06:30
    Flashing the LED (or sometimes calls "Hello world") is the very first lesson and the first step to the microcontrollers world. That is for learning to control the individual Pins on the microcontroller, latter on the "LED" could be a transistor that turns a DC motor or a relay to do something else, or back-light of the LCD and so many other things!
  • sam_sam_samsam_sam_sam Posts: 2,286
    edited 2011-04-05 07:40
    Welcome to the forum

    Try this little code routine

    This is on Pin 0
     
    ' {$STAMP BS2}
    ' {$PBASIC 2.5}
     
    DO
    HIGH 0
    PAUSE 500
    LOW 0
    PAUSE 500
    LOOP
    
  • TtailspinTtailspin Posts: 1,326
    edited 2011-04-05 07:58
    Light, is what a Light Emitting Diode control's... and WHO told you how to turn the LED's on and off?
    Could You post the code You have allready tried? err, I am assuming you did try some code.

    On second thought...
    lisrus, did you forget to include the link to "where ever" in your very first post?
    I think that it would be a crying shame if you did...
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-04-05 09:05
    That's an easy one.. LEDs control humans...


    As said, post up some code and we'll help you with the secrets of mind control. :)

    OBC
Sign In or Register to comment.