mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
42 lines
1.1 KiB
ReStructuredText
42 lines
1.1 KiB
ReStructuredText
M5Bala
|
|
======
|
|
|
|
M5Stack balance car
|
|
|
|
Quick Start
|
|
~~~~~~~~~~~
|
|
|
|
.. code:: bash
|
|
|
|
git clone https://github.com/m5stack/M5Bala.git
|
|
cd M5Bala
|
|
pio run
|
|
|
|
Installing and compiling the software
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This project used Arduino framework develop, you must install the
|
|
necessary tools and prepare the IDE environment. - Download (and unzip)
|
|
this repository - Download and Install Visual Studio Code
|
|
https://code.visualstudio.com/ - Install the `PlatformIO
|
|
Extension <https://platformio.org/get-started/ide?install=vscode>`__ -
|
|
Install M5Stack `USB
|
|
Driver <https://github.com/m5stack/M5Stack#installing-the-usb-driver>`__
|
|
- Install ESP32 Platform on PlatformIO - Open the M5Bala Project folder
|
|
on PlatformIO - Build your project with *ctrl+alt+b* hotkey or using
|
|
**Build** button on the PlatformIO Toolbar |image|
|
|
|
|
Dependent library
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
- M5Stack - https://github.com/m5stack/M5Stack
|
|
- MPU6050\_tockn - https://github.com/tockn/MPU6050_tockn
|
|
- NeoPixelBus - https://github.com/Makuna/NeoPixelBus
|
|
|
|
MicroPython
|
|
~~~~~~~~~~~
|
|
|
|
- `Examples <./mpy>`__
|
|
|
|
.. |image| image:: ./docs/img/platformio-ide-vscode-build-project.png
|