How can I make an output give a (-) or (+) pulse?
TECH GEEK
Posts: 6
How can I make an output channel, (P0-P15) give a (-) or (+) pulse?
I have two boards I need to do this with:
I have two boards I need to do this with:
- "BS2" (Rev F) on a "Board of Education" (Rev C)
- & an "OEM Basic Stamp 2" (Rev A1)
Comments
1st of all you need to have seen these videos on youtube: http://www.youtube.com/watch?v=yst4eL0-Eco
I am trying to make a "RGB 4x4x4 LED cube." The main problem that I've run into is the amount of ports I need.
I know that a RGB 4x4x4 LED cube has:
- 3 sub-LEDs per RGB-LED
- 4 main-LEDs per row
- 4 rows per layer
- 4 layers
- 64 RGB-LEDs (A total of 192 pins to control...)
I know that i do not need 192 ports to to control the cube.I also know how to idealy control the cube with only 23 ports.
(16 collum ports + 4 layer ports + 3 ports for RGB selection)
see this video http://www.youtube.com/watch?v=lFDcdN47V5s&NR=1&feature=fvwp
!!!SKIP to point 2:45 to see the important info!!!
What I need help with is getting either all 23 ports to work off 1 board that has 16 ports -OR- 23 ports to work off 2 board with both boards turning on/off the ports in sync with each other...
Per Mike, a Stamp can't make a -5V pulse; external hardware would be required. If by +/- pulses you meant HIGH/LOW, remember that a PULSOUT command inverts a pin for the specified time. So if the pin was originally HIGH, a PULSOUT will drive the pin LOW temporarily, and vice versa.