Ramp Pulse Generator |
|
|
; ATtiny45 ; --v-- ; rst pb5 -| |- vcc ; pi pb3 -| |- pb2 sck ; po pb4 -| |- pb1 miso ; gnd -| |- pb0 mosi scope ; ----- ; 8Mhzhttp:files/DownloadParts/ramp.asm Select the desired output by un-commenting the desired function call in main. Produce negative pulses by reversing the ramp calls in pulse: rcall rampup rcall rampdownA neat trick is to pool the outputs of two pulse generators, one positive going and the other negative going. This produces a variety of waveforms as the two computers phase drift. Ramp --+ | Ramp --+-->
|
Last edited February 29, 2008 Return to WelcomeVisitors |