m5stack-avatar
m5stack-avatar copied to clipboard
Work with M5StickC
Any news?
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
}
Vvvvv!
Thanks I will run it