L Lee Ingram Member Licensed User Longtime User Mar 9, 2017 #1 This seems like a dumb question. Is it possible to generate a 38 khz square wave on one pin and still be able to use the other I/O pins?
This seems like a dumb question. Is it possible to generate a 38 khz square wave on one pin and still be able to use the other I/O pins?
R Roycefer Well-Known Member Licensed User Longtime User Mar 9, 2017 #2 This might be of some interest: https://arduino-info.wikispaces.com/Arduino-PWM-Frequency Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2017 #3 Also this: http://playground.arduino.cc/Main/TimerPWMCheatsheet It should be simple to change pin 9 frequency to 31372 hz. Upvote 0
Also this: http://playground.arduino.cc/Main/TimerPWMCheatsheet It should be simple to change pin 9 frequency to 31372 hz.
L Lee Ingram Member Licensed User Longtime User Mar 9, 2017 #4 Thank you for the info. I would like the pin to be constantly output 38khz. Having the 38khz running in the background, and use other pin for detecting reflections. Upvote 0
Thank you for the info. I would like the pin to be constantly output 38khz. Having the 38khz running in the background, and use other pin for detecting reflections.