# 40KHz pwm square wave

**URL:** <https://forum.arduino.cc/t/40khz-pwm-square-wave/294222>\
**Category:** General Guidance\
**Created:** [March 2, 2015, 9:16pm UTC](https://forum.arduino.cc/t/40khz-pwm-square-wave/294222 "2015-03-02T21:16:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [March 2, 2015, 10:04pm UTC](https://forum.arduino.cc/t/40khz-pwm-square-wave/294222/6 "2015-03-02T22:04:29Z")

</div>

Shooter please read the OP message he said:-

> and can anyone please tell me if we can generate a sine wave of 40KHz via arduino.

And that code is never going to work.

---

_[View the full topic](https://forum.arduino.cc/t/40khz-pwm-square-wave/294222)._
