Introduction: “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

Step 1: Structure: Three Movements

  1. Raises its trunk and wiggles it gently, like a trumpet sound "Paoon!"
  2. Moves forward until it detects the color blue with its color sensor — then acts like it's drinking water
  3. Raises its trunk, moves forward for 3 seconds, stops, and lowers its trunk (in the video, it's carrying a banana)

Step 2: Coding

Step 3: 【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