LPT square wave
- From: rpodraza@xxxxxxxxx
- Date: 3 Oct 2006 11:13:17 -0700
Hi,
I'm trying to write a program in C++ to communicate with an AVR
microcontroller's SPI via the LPT port.
I have to generate a clock (SCK) signal on one of the pins of the LPT.
I am using the WinIO library. I'd like to have way to create a square
wave of a given frequency (within some limit of course).
My question is: what is the best way to generate such signal and what
is the maximum frequency one can obtain? Excluding of course such code:
Code:
for (;;) {
pin = 0; pin = 1;
}
.
- Follow-Ups:
- Re: LPT square wave
- From: Leon
- Re: LPT square wave
- From: mrdarrett
- Re: LPT square wave
- From: Jonathan Kirwan
- Re: LPT square wave
- Prev by Date: Re: Voltage regulator instability
- Next by Date: Re: terrifying
- Previous by thread: Re: opamp selector
- Next by thread: Re: LPT square wave
- Index(es):
Relevant Pages
|