“Paoon!”SPIKE Prime Elephant: Cute Robot Moves With C!
by AfrelEdTech in Circuits > Robots
8 Views, 0 Favorites, 0 Comments
“Paoon!”SPIKE Prime Elephant: Cute Robot Moves With C!

We created an elephant using SPIKE Prime and tried moving it using C language!
Supplies


SPIKE Prime
B: Color Sensor
C: Motor for Nose
D:Motor for walking
Structure: Three Movements
- Raises its trunk and wiggles it gently, like a trumpet sound "Paoon!"
- Moves forward until it detects the color blue with its color sensor — then acts like it's drinking water
- Raises its trunk, moves forward for 3 seconds, stops, and lowers its trunk (in the video, it's carrying a banana)
Coding



【Free Trial】Start C Language Programming With Afrel's Educational Materials

Are you intrigued by the idea of programming your SPIKE™ Prime with C? Did you know that Afrel is a key information provider for SPIKE™ Prime?
To meet the demand of those who want to "learn more about SPIKE™ Prime " and "try programming in C," Afrel has developed and sells educational materials for learning C language programming with SPIKE™ Prime.
Stepping up from Python to C is an excellent opportunity to further enhance your programming skills. Learning C will give you a deeper understanding of how computers work and enable more advanced control.
Afrel's C language materials are designed for beginners, ensuring a smooth learning experience. Why not take this chance to discover the joy of controlling SPIKE™ Prime with C and expand your programming horizons?
If you're ready to tackle C language programming, click the link below for more details.
Learn more about SPIKE™ Prime C Language Programming Materials here