graph led with 10 segments
Badger
Posts: 184
Hello
is there any ware in nuts and bolds that shows a person how to set up an led that shows like a bar graph.
please let me know at this moment dont have time to search need to go to dayton ohio for doc appt. 90 min drive
Phil
is there any ware in nuts and bolds that shows a person how to set up an led that shows like a bar graph.
please let me know at this moment dont have time to search need to go to dayton ohio for doc appt. 90 min drive
Phil
Comments
Now you can light 10 leds and do what you want -- which is what? Are you displaying readings from a sensor of some kind, e.g. sound levels, battery charge, tach, what? Just doing cool LED patterns?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
thanks for the info. but i dont quite understand about the resistors all being on 2 ports. do you mean like if i put on port 1 to 10 i would put 5 resisters on port 1 and 5 resistors on port 10 .. sorry i am a newbie and i a trying hard so please be patient with me.
Badger
For every LED. Then you can turn them on and off by making all the pins outputs and changing OUTL and OUTH (this lets you set all leds at once).
Say you have 5 leds on pins 0-4 and another 5 on pins 8-12 with resistors on all of them.
Reading the sections in the Pbasic Manual about DIRS, OUTS, INS will help. Plus there are a number of good examples about hooking up an LED so you don't pull too much current through your Stamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
thanks for the detailed explanation that is really nice.. i am doing this on my own from scratch by reading things as fast as i can. I will review that pbasic manual as you suggested and observe the grouping of pins as you explained..
again thanks and have a good eve..
if i have anymore questions i will post them and see what comes back my way
Bad Badger