Uploaded August 2020 | Updated September 2026, 2 days ago
Here's a video to show that you can paste any python code inside a Python project in the SPIKE Prime app. You can download the code here: antonsmindstorms.com/product/spike-prime-swing-monkey-building-instructions-pdf-download
The original code I developed for the Swing Monkey in VS Code works here too. I also made a version of the code with the official API LEGO Python motor commands.
When this Monkey does 360 turns, you need a real fast control loop to keep it going. The performance of the SPIKE Prime hardware is adequate for this if you run it with Python.
Please like and ask any questions you have in the comments!
Get the T-Shirt on: https://shop.spreadshirt.nl/antons-mindstorms/
Support my work on: patreon.com/antonsmindstorms
For complete building instructions and in-depth articles go to:
antonsmindstorms.com
Here's a video to show that you can paste any python code inside a Python project in the SPIKE Prime app. You can download the code here: antonsmindstorms.com/product/spike-prime-swing-monkey-building-instructions-pdf-download
The original code I developed for the Swing Monkey in VS Code works here too. I also made a version of the code with the official API LEGO Python motor commands.
When this Monkey does 360 turns, you need a real fast control loop to keep it going. The performance of the SPIKE Prime hardware is adequate for this if you run it with Python.
Please like and ask any questions you have in the comments!
Get the T-Shirt on: https://shop.spreadshirt.nl/antons-mindstorms/
Support my work on: patreon.com/antonsmindstorms
For complete building instructions and in-depth articles go to:
antonsmindstorms.com










