/ext-petoi_robot

Primary LanguagePythonMIT LicenseMIT

Petoi Mind+ Expansion Library

A block-based drag-and-drop programming tool for Petoi robots.


Table of Contents

URL

  • Project URL : https://github.com/PetoiCamp/Petoi_MindPlusLib

Summary

Use the user library of Mind+V1.7.3 and above to load this extension to control the Petoi robot. It allows to schedule movements, play music, and access to the GPIO pins.

How to use

Download and install Mind+ Desktop app.

Input the project URL: https://github.com/PetoiCamp/Petoi_MindPlusLib in the interface to import this library as follows: image image image

For Mac, you need to add these library files in /Users/{your username}/Documents/mindplus-py/environment/Python3.6.5-64/lib/python3.6/site-packages/

image

image

Examples

The following examples can be found in examples/ folder and opened by the Mind+ APP directly.

Write the value of digital pin (/examples/WriteDigital.mp)

WriteDigital

Write the value of analog pin ((/examples/WriteAnalog.mp)

WriteAnalog

Read the value of analog pin ((/examples/ReadAnalog.mp)

ReadAnalog

Control the robot's joints and play melody ((/examples/Robot.mp)

Robot

License

MIT

Supported targets

MCU JavaScript Arduino MicroPython Python
arduino
esp32

Release Logs

  • V0.0.1 Basic functions completed.

Link to the online store for the robots' hardware.