Basic stamp + LED
Ayla
Posts: 1
Hello i am making a program in basic stamp to read the temperature.
I would like to lighten up a LED (green) when the LCD is working and when i will read the temperature of the LCD.
Does anyone know what code do i have to use for this LED to lighten up in basic stamp language?
Thx (and sorry for my bad english)
I would like to lighten up a LED (green) when the LCD is working and when i will read the temperature of the LCD.
Does anyone know what code do i have to use for this LED to lighten up in basic stamp language?
Thx (and sorry for my bad english)
Comments
Does your LED have a built in resistor?· If so, it can be connected directly to a Stamp pin.· If not use something like a 330 ohm resistor in series with the LED.· Plug one end into +5v and the other into -5v and if it doesn't work, reverse it.· Then put the + side to the Stamp pin, say pin 3.· In the Stamp program write:
HIGH 3
Run the program and·that's it, based on your question.· It works with any color LED.
I don't understand what you mean by reading the temperature so if your question remains unanswered, provide more details.
Kirk Fraser