This project uses a Schedule block to schedule a birthday message on Cloudio's OLED and play an audio message on the speakers.
• Cloudio - Raspberry Pi setup
• Speaker
Connect the speaker to Raspberry Pi's audio jack.
Note: Please be sure to select the day with respect to the date of upload - for example, if the code is uploaded on Sunday, 1st Jan, and you want to display and play the birthday message on 4th Jan, you'll need to set the day to Wednesday.
This project plays a recorded audio message on the speakers connected to Raspberry Pi, and displays a message on Cloudio's OLED screen.
For this, use a
The final project is shown below.
Upload the project
Once the project has been uploaded, be sure to leave Cloudio powered on, and with speakers connected to it.
Note:
Be sure to set the right day based on the date on which you're uploading this project.
You can modify this project to schedule events to run events up to be run on certain days of the week. You can also set these to be recurring instances.
Refer the working of the Schedule block to know more.