Skip to content

cmasenas/SineWaveDue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SineWave

Sine wave library for Arduino. Produces a sine signal and passes the output to a DAC pin.

Features:

  • Produces a sine wave using a high sampling frequency.
  • Uses a 50 microsecond sample time as the default.
  • Uses DAC0 as the default output pin.
  • Can produce two tones at once.
  • Can produce very low frequencies (below 1 Hz, low enough to blink an led) by increasing the sample time.

A neat thing to try is to connect the sine wave DAC output pin to an ADC input pin to demonstrate data conversion full circle.

About

Sinewave library for the Arduino Due

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages