@julian Exactly what I need, many thanks
Best posts made by CHB
Latest posts made by CHB
-
M5Stack Faces II Led drive
Hello,
I use the Adafruit_NeoPixel for drive the 10 Leds (2x5) in my Faces II base
After the begin(), show() functions, all leds are off, but when I want to change a pixels and make a show() the first LED stay on event I put all pixels(index) to 0
Any know this worry ?
My code is this#include <Adafruit_NeoPixel.h>
#define M5STACK_FIRE_NEO_NUM_LEDS 10
#define M5STACK_FIRE_NEO_DATA_PIN 15
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(M5STACK_FIRE_NEO_NUM_LEDS, M5STACK_FIRE_NEO_DATA_PIN, NEO_GRB + NEO_KHZ800);
vois setup() {
pixels.begin();
pixels.show();
}void setPixels(int r, int g, int b) {
for(int i=0; i<10; i++) pixels.setPixelColor(i, pixels.Color(r, g, b));
pixels.show();
}void loop() {
setPixels(0, 100, 0);
delay(500);
setPixels(0, 100, 0);
delay(500);
setPixels(0, 100, 0);
delay(500);}
-
Extended ascii character for international symbol like àéèöäü
Hello, I use the FreeSans12pt7b and in the https://rop.nl/truetype2gfx/ I can show the àéè characters but in the ez.canvas that don't display the extended char
Any solution ?
Thanks for help -
Stack smashing protect failure!
Hello guys,
I use Visual Studio Code with Platformio and M5stack Core/Arduino and this error "Stack smashing protect failure!" appear always at the end of a function on the } line
I have read a lot on internet and seems it's a Stack protect level procedure that make this problem, any know how to resize Stack on a M5Stack/arduino software ?
Or how to print the Stack size and free space ?
Many thanks for your helpMy Platformio.ini
[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduino -
Visual keyboard
Hello, any has already made a visual keyboard that can be used with the 3 buttons for input a value ? example for input a password or other informations