I tried this code and it worked in arduino IDE for ESP32. Note: I used it to generate 200kHz and had steps in the output wave. Do change as per your need.
// Function generator Sin
// (C) Helmut Weber
//
// Provided as is as example
// Free for everyone
//
// 50 Hz - 200000Hz: frequency error ~ 1 ...
Search found 2 matches
- Thu Apr 23, 2020 8:52 am
- Forum: Sample Code
- Topic: Sinus Signal Generator from 18Hz to 250kHz
- Replies: 10
- Views: 89420
- Thu Jan 16, 2020 7:47 am
- Forum: Sample Code
- Topic: Sinus Signal Generator from 18Hz to 250kHz
- Replies: 10
- Views: 89420
Re: Sinus Signal Generator from 18Hz to 250kHz
I am new to esp32 and am using Arduino IDE. Can anyone suggest how this code can be written in Arduino IDE?