As a first function, this code will read a phrase that is indicated with the ‘say’ function, and then with the timer function, its function is that every 5 seconds it will read the number of minutes at that moment.
JSON code:
{ "do": [ { "say": { "text": "I'm going to read the minutes", "voice": "Salli" } }, { "timer": { "do": [ { "say": { "text": "It's", "voice": "Salli" } }, { "say": { "text": "minute", "voice": "Salli" } } ], "every": 5, "id": 0, "play": -1 } } ]}Lesson 5: Radio
This code has two main functions indicated, one is when the square button is pressed, and the other is when the circle is pressed. So when we press square what it does is turn on the radio, and when we press circle we stop the radio.JSON code: