Skip to content

Work with M5StickC #59

Open
Open

Description

@meganetaaan
No description provided.

Activity

  1. ltaoist commented on Dec 18, 2022

    @ltaoist

    Any news?

  2. mongonta0716 commented on Dec 18, 2022

    @mongonta0716
    Collaborator

    M5Stack-Avatar is M5Unified as of v0.8.0 and will work if you adjust the scale and position. The following source is for M5StickCPlus.

    #include <M5Unified.h>
    #include <Avatar.h>
    
    using namespace m5avatar;
    
    Avatar avatar;
    
    void setup()
    {
      M5.begin();
      M5.Lcd.setRotation(3);
      avatar.setScale(0.6);
      avatar.setPosition(0, 20);
      avatar.init(); // start drawing
    }
    
    void loop()
    {
      // avatar's face updates in another thread
      // so no need to loop-by-loop rendering
    }
    
    
  3. ltaoist commented on Dec 18, 2022

    @ltaoist

    Vvvvv!

    Thanks I will run it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions