the definition of your function has been created but you have to call it now with :
translate(slider_value, inMin, inMax, outMin, outMax)
Posts made by joueurgear
-
RE: REMOTE+ Slider for motors
-
RE: drawPng resets m5core2
png[] = { Missing length in [] (it's number a hexa)
ex : const unsigned char batPowerImage[13769]={ -
RE: M5Stack Core2 Factory Demo Upgrade
@surixtm thank you for your feedback, on the github project I am improving versions of this project.
I remind you that I am alone with a learning of C ++ permanently !
The menu icons have been changed to make it more homogeneousThe project has already evolved with the addition of the visible bluetooth application, then a games page has just been created.
I would add the features :D -
RE: drawPng resets m5core2
@tl said in drawPng resets m5core2:
display.drawPng(png, ~0u, 0, 0);
usually with this command you have to add the dimensions, I don't know if that will solve the problem
display.drawPng(png, ~0u, 0, 0, 320, 240);
-
M5Stack Core2 Factory Demo Upgrade
Hello to you !
I just got an M5core2 and I am using Visual Studio Code with the PlatformIO Plugin.
I found the example of the factory demo and I modified it, for the moment it is very basic but it allows to add functions.An Improvement which proposes to integrate:
-
Bluetooth scan / connect
-
Wifi scan / connect
-
Games
-
Music player
-
Calculator
-
Calendar
-
Other applications..
I am learning c ++ so I am a beginner, I share my progress on this improvement!
If people are interested in improving the projecthttps://github.com/joueurgear/M5Stack-Core2-FactoryDemo-Upgrade
-