M5 stick (non C) - Can't find Arduino frimware for the screen
-
Hi guys,
i'm totaly new to the M5 world and i'm struggling to find the software to make it run on arduino.
I can flash the blue led, I can take the Button input but i'm enable to make the screen work with arduino (it works fine in UI Flow).
I can find all the support and the software for the M5StickC but not for the M5stick "classic"/"OLED".Can anyone help me ?
Thanks !
-
Ok after hours and hours of searching here is what i found. This is the bare minimum for writing à simple text on the OLED screen of the M5Stick "non-C" :
#include <U8x8lib.h>
U8X8_SH1107_64X128_4W_HW_SPI u8x8(14,27,33);
void setup() {
u8x8.begin();
}void loop(){
u8x8.setFont(u8x8_font_chroma48medium8_r);
u8x8.setCursor(0,0);
u8x8.print("M5Stick");delay(1000);
} -
I made these examples quite some time ago https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Core/M5Stick/Arduino using u8glib library to display text is quite easy but I could never get my head around the glyph drawing
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login