Frequency
Hello,
I was told that I cannot produce a 1 mhz square wave on a BSII. I have the sx28 kit and I was wondering if I could produce a 1 mhz square wave with it using a 50 mhz resonator? Would I used PWM? Any samples would help (circuit and code).
Thanks,
Curtis
I was told that I cannot produce a 1 mhz square wave on a BSII. I have the sx28 kit and I was wondering if I could produce a 1 mhz square wave with it using a 50 mhz resonator? Would I used PWM? Any samples would help (circuit and code).
Thanks,
Curtis
Comments
Just make the interrupt rate twice the desired frequency.
Note that since this is done in the interrupt, you can have other code running at the same time.
Bean
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
Post Edited (Bean (Hitt Consulting)) : 11/25/2008 6:30:09 PM GMT
It looks easy.
Curtis