Arduino due waveform generator

My assignment to implement codes for a function generator just as in (only square wave);

https://www.arduino.cc/en/Tutorial/DueSimpleWaveformGenerator  

its frequency must be between 1Hz and 10Khz (and how it is controlled must be explained)

no need for buttons or potentiometer as in the example, because we will control the frequency by sending data via bluetooth.

to sum up, create a function generator (square wave)  such that, we will control 3 variable, its amplitude, duty cycle and frequency (1 Hz to 10 Khz). by simply changing these variables (in the code), we will change functions frequnecy, amplitude and duty cycle.

Leave a Comment

Your email address will not be published. Required fields are marked *

Is this question part of your Assignment?

Get expert help

Girl in a jacket


We are a team of academic consultants with extensive experience in writing academic papers for college students in the US, Canada, UK, AU, and other parts of the world.

We help students with both technical and non-technical assignments across all majors & academic disciplines.

Unlike what our name suggests, we research and draft everything word for word. We do not use AI or any rewriting tool! We provide Turnitin reports for AI & Turnitin alongside every paper.

Need help? Send us your assignment now!

description here description here description here