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