PlayRTTTL is the correct command. The Help file is correct with respect to information... we just got a letter missing!
The documentation and the IDE helpers are incorrect. This will be updated in the next release. Been wrong for a long time - thank you for spotting. This means the IDE blue will not highlight the correct command. The next release will fix this.
See the attachments. These examples work. Yes... I just tried and the sound squeaked out! Yuk. I will include in the next release.
Here what i have, wont compile unless i add extra "t" to the rttl but then its no longer highlighted in blue, and doesnt play a thing?
Last edit: Anobium 2016-07-13
Thanks. Great spot.
Something is not correct and it has been like this for a long time - I have reviewed the source code.
Give us a few days to sort.
PlayRTTTL is the correct command. The Help file is correct with respect to information... we just got a letter missing!
The documentation and the IDE helpers are incorrect. This will be updated in the next release. Been wrong for a long time - thank you for spotting. This means the IDE blue will not highlight the correct command. The next release will fix this.
See the attachments. These examples work. Yes... I just tried and the sound squeaked out! Yuk. I will include in the next release.
I used the Chipino Demo-Shield for these tests, see http://www.elproducts.com/demo-shield.html as this also shows the schematic that you need to use.
For more RTTTL sounds see,
http://mines.lumpylumpy.com/Electronics/Computers/Software/Cpp/MFC/RingTones.RTTTL
Anobium
Just tried this on the Xpress Board and it works perfectly, a very tinny sound but recognisable.
The only changes are the
#chip 16f1938
to read
#chip 16f18855
and
#define SWX PORTb.1
to read
#define SWX PORTa.5
and plug the buzzer into the header socket marked INT (RC2).
Cheers
Chris
Last edit: Chris Roper 2016-07-14
If you would like to modify any of the tunes or create your own tunes here is the documentation:
https://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language
You seen the 2016 GhostBuster Movie? That is tinny! It is SO poor!!!!
Anyone else seen it?
"Anyone else seen it?"
Not yet, I saw the trailer and decided I will wait untill it is out on DVD.
I generaly avoid anything that is marketed as 3D as they generaly hope the WoW factor of 3D will cover up for bad production values and plot holes.
Last edit: Chris Roper 2016-07-14
I get a message saying the string is too large, im guessing the 16f690 doesnt have enough memory to run it
If you try a smaller string does it work?