Thread: Please help me
View Single Post
  #8  
Old 10-23-2020, 02:14 PM
Mike(Mont) Mike(Mont) is offline
Guru
 
Join Date: May 2007
Posts: 2,124
Default

Easiest way to go.

tone(pin, frequency in Hz);

So
tone(7, 5000);
would send a 5000Hz signal output to pin #7

Unfortunately you can only use whole numbers as a frequency and the range is 31-65535Hz.
Reply With Quote