You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
technobly / rtttl Public
A RTTTL (RingTone Text Transfer Language) song player for Particle devices
Notifications You must be signed in to change notification settings
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to fileTo play the output on a small speaker (i.e. 8 Ohms or higher), simply connect a 220 - 1k ohm resistor from the output pin (D0) to the speaker, and connect the other side of the speaker to ground. Or use a Particle Internet Button which has an on-board tiny speaker already connected to D0.
You can get more RTTTL songs from: http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation or just search google for "your song RTTTL" or "your song RTTL".
particle compile photon examples/demo1/demo1.cpp src/RTTTL.cpp src/RTTTL.h --target 3.3.1 --saveTo play.bin; particle usb dfu; particle flash --usb play.bin
particle compile photon examples/demo2/demo2.cpp src/RTTTL.cpp src/RTTTL.h --target 3.3.1 --saveTo play.bin; particle usb dfu; particle flash --usb play.bin
particle compile photon examples/demo3/demo3.cpp src/RTTTL.cpp src/RTTTL.h --target 3.3.1 --saveTo play.bin; particle usb dfu; particle flash --usb play.bin
A RTTTL (RingTone Text Transfer Language) song player for Particle devices