Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:35 10 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PWM command

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 01:36pm 27 Jun 2017
Copy link to clipboard 
Print this post

I want to generate a continuous tone for a piezo but when I use
PWM 1,3000,50
the tone is in short bursts, I have altered the duty cycle to no avail.
I remember doing it once before but forgotten how.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 03:08pm 27 Jun 2017
Copy link to clipboard 
Print this post

OK problem solved. I was using a small amplifier board and the MM signal must have been overloading it causing it to cut in and out.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 03:11pm 27 Jun 2017
Copy link to clipboard 
Print this post



Well here ya go anyways Edited by hitsware 2017-06-29
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 05:28pm 27 Jun 2017
Copy link to clipboard 
Print this post

Yes, I have finally learnt to read the manual BEFORE I post.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025