Page 1 of 1

Generate a siren sound

Posted: Wed Dec 10, 2025 10:03 am
by siliconchip
Hi
Im able to generate a sound on a piezo sounder and by changing PR2 -rollover im able to change the tone but i cant manage to get a 2 tone to work im toggling an output to run the piezo i would upload a picture but unsure how to do it :oops: any help please

Cheers bob

Re: Generate a siren sound

Posted: Wed Dec 10, 2025 5:07 pm
by Steve-Matrix
You can probably change the PR2 value programmatically, but you may need to use C code in an icon. This post in our old forums might be of use:
https://flowcode.co.uk/mmforums/viewtop ... 047#p36047