Matrix M5.dis
- 
					
					
					
					
 I just purchased some M5 Atom Matrix devices and I want to start programming the LEDs. Where do I find documentation for the M5.dis API? The sample code does very little and I can't find any reference to M5.dis in the docs I've been able to find. 
- 
					
					
					
					
 Hey are you programming in arduino or uiflow? you can check out these videos to get started 
- 
					
					
					
					
 Thanks, but that doesn't answer my question. I'm looking at the sample apps and I see references to M5methods, andM5.disbut I cannot find reference documentation for them anywhere.Where are the reference docs for the M5SDK? What are the methods, properties, etc. for theM5.disobject?
- 
					
					
					
					
 
- 
					
					
					
					
 @felmue Thanks, yes, I have - but that's not documentation for M5.disobject, that's documentation for some methods in a utility library that isn't even loaded by the M5 library.led-matrix:14:10: error: 'class LED_Display' has no member named 'fillpix' M5.dis.fillpix(CRGB::Black); ^ exit status 1 'class LED_Display' has no member named 'fillpix'I'm trying to figure out how to work with the matrix display on the Atom Matrix and I can't find any examples, end to end, that work. I found a reference to M5.disbut I'm just not seeing anything that references it or real examples of how to use it.I tried using FastLED which is what the utility/LED_DisPlay.hcode uses under the covers, even submitted some PRs today to tighten up that code, but as soon as I make any call to FastLED to update the display or show pixels, the sketch crashes.
- 
					
					
					
					
 Not sure why, but the sketch was crashing for me as well, until I commented out the include M5Atom.h and m5.begin lines. 
- 
					
					
					
					
 Hi John The M5.disobject is defined inM5Atom.has a member ofM5Atomclass:class M5Atom { ... LED_DisPlay dis; ... } extern M5Atom M5;For the M5Atom examples to compile I had to add M5AtomandFastLEDlibraries to the project. (In PlatformIO I can simply drop the two libaries into thelibdirectory of the project. Not sure how that works with Arduino IDE, sorry.)Felix 
- 
					
					
					
					
 @felmue aaah, OK, I missed that when I looked at the source. Thanks. I'm loading M5Atom.handFastLED.hand its just not working for me.
- 
					
					
					
					
 @johnwargo If anyone comes across this and is looking for functioning Arduino/PlatformIO code for the M5 Atom Matrix display, there's some on github here: 
 https://github.com/stevesch/atom-waves
- 
					
					
					
					
 You can try neopixel library (probally from adafruit) 



