Generate a siren sound

For general Flowcode discussion that does not belong in the other sections.
Post Reply
siliconchip
Posts: 9
http://meble-kuchenne.info.pl
Joined: Wed Dec 16, 2020 10:38 am
Has thanked: 1 time

Generate a siren sound

Post 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

Steve-Matrix
Matrix Staff
Posts: 1674
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 237 times
Been thanked: 396 times

Re: Generate a siren sound

Post 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

Post Reply