Skip to content

colas-sebastien/M5StickC-JoyC-lego-powerup-batmobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M5StickC JoyC Lego PoweredUp Batmobile

Introduction

The Goal of this project is to control your Lego Batmobile (Model 76112) thanks to your M5StickC and its JoyC Hat.

Donwload

git clone https://github.com/colas-sebastien/M5StickC-JoyC-lego-powerup-batmobile.git

Software configuration

  • Install Arduino IDE and follow the official configuration on M5Stack site
  • Install the Leoino library from the library manager
  • Upload the code on your M5StickC

Play !!!!

Libraries compatibility issue

Unfortunatly M5StickC and Legoino libraries are not fully compatible because of the color definition. So if you want to use color on your Hub or on your stick I recommend to modify the enum in the Lpf2Hub.h file in Legoino library. After you can ucomment lines 48 to 56 in the ino file of the project.

typedef enum Color
{
  LEGO_BLACK = 0,
  LEGO_PINK = 1,
  LEGO_PURPLE = 2,
  LEGO_BLUE = 3,
  LEGO_LIGHTBLUE = 4,
  LEGO_CYAN = 5,
  LEGO_GREEN = 6,
  LEGO_YELLOW = 7,
  LEGO_ORANGE = 8,
  LEGO_RED = 9,
  LEGO_WHITE = 10,
  LEGO_NONE = 255
};

Video

Video

Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages