Re: LPT square wave
Generating SPI with software using the PC printer port is quite easy,
just follow the timing diagram. The clock doesn't have to be a
conventional square wave, just drive it high and low at the correct
time with the data line held high or low. Connecting a 74HC595 with
LEDs on the outputs to the printer port can be useful when debugging
the software, the 74HC595 is SPI-compatible and makes it easy to see
when you have got it right. I have one mounted on a small PCB with the
LEDs.
Thanks for the answer. Can you tell me is it better to use some kind of
timer or just plain delays?
.
Relevant Pages
- Re: Adding 60 LEDs to digital clock to mimic second hand
... circle of a clock face. ... LEDs must be off at the 12 O-Clock ... seconds display and central 7-segment-digits display. ... if you like that better by setting or clearing the data input before ... (sci.electronics.design) - Re: TZ gumball lamps - warm white?
... Joseph A. 'Tony' Dziedzic thought about it a bit, ... >>I have the opportunity to build some gumball lamp sets in warm white. ... >>that this version will work best with an unmodified clock, ... >>look of the regular LEDs is the right way to go. ... (rec.games.pinball) - Re: Adding 60 LEDs to digital clock to mimic second hand
... Ohm resistors in series with each segment. ... circle of a clock face. ... LEDs must be off at the 12 O-Clock ... seconds display and central 7-segment-digits display. ... (sci.electronics.design) - Re: Bad switch debouncer, or something else?
... On power-up, all LEDs are on, as expected. ... The ensuing expected behavior would be as follows: A press of the clock ... pressed/released state of the signal button. ... a .1uF ceramic cap on each IC's +V pin to ground, ... (sci.electronics.design) - Bad switch debouncer, or something else?
... On power-up, all LEDs are on, as expected. ... The ensuing expected behavior would be as follows: A press of the clock ... pressed/released state of the signal button. ... a .1uF ceramic cap on each IC's +V pin to ground, ... (sci.electronics.design) |
|