M5atom matrix: dimmable light
kilam last edited by kilam
Just to share a simple project (2 minutes) with an M5atom Matrix and an arduino module k-018 (https://arduinomodules.info/ky-018-photoresistor-module/). Just plug the module in the M5atom (the S pin of the module must be plugged in the g25 , no way to plug it reverse) and upload the code, the M5atom matrix will be brighter as the light decreases. 5 led brightness and 5 different colors (changing color by clicking the screen)
I have encountered several problems with the leds: The screen has strange behaviour with some colors (especially with some predefined colors) and is white when the brightness is at 5. I don't know why, if someone has any explanation, please can you tell me?
The source code and photos are here :
A video about the project:
Hi. for the time being. we don't suggest you use
#include <FastLED.h>with the Atom lib. because the Atom lib already included it. they have some conflict. (we still not fix it yet.)
kilam last edited by
I have removed de fastled library, it works but the problems remain.