14.| PYTHON | Tilt Detection & Audio Playback! |
Автор: Learn As You Explore
Загружено: 19 апр. 2025 г.
Просмотров: 76 просмотров
🐍🤸🔊 Let’s detect tilt, and make the robot play different sounds based on its tilt direction!! 🚀As always, we’ll upload, and test the program on the robot!! You’ll learn how to find the API for tilt detection as well as audio playback and use them in your very own Python program! Don’t miss it!!
⏮️ Connecting the mBot2 to your computer: • 3. Upload your code to the robot | mB...
🗒️ API Documentation Links:
1. CyberPi Python API Docs: https://www.yuque.com/makeblock-help-...
2. mBuild Python API Docs: https://www.yuque.com/makeblock-help-...
3. mBot2 Shield Python API Docs: https://www.yuque.com/makeblock-help-...
⏰Scroll down for Timestamps!! 👇
🧑🏫 Are you an educator? Get a free classroom-ready mBot2 lesson pack:
👉 https://learnasyouexplore.com/#resour...
🤖 Need an mBot2?
Grab one here & support my channel: https://amzn.to/425teDT
💡 As an Amazon Associate, I earn from qualifying purchases. #ad #commissionsearned
🎥 Want to support my work?
If you found this video helpful, you can fuel my next video with a coffee! You can give as little as just a dollar. ❤️
☕ https://buymeacoffee.com/learnasyouex...
⏰ Timestamps:
0:00 - Start here & Preview of this video.
0:19 - Want to support me? Here’s how you can!
0:40 - Defining the project goals in code comments.
2:10 - Recalling previously used APIs.
3:22 - Identifying list of APIs we need to find.
3:48 - Finding the tilt APIs from online docs.
5:28 - Finding the audio API from online docs.
6:59 - Choose audio tracks to use for each tilt direction.
7:39 - Finding the display clear API from online docs.
8:07 - Building the Python program.
10:46 - Uploading the Python program to mBot2.
11:12 - Testing on the mBot2.
11:59 - Congratulations, great job today! 👏
12:23 - Other helpful videos.

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: