nickgammon / MAX7219_Dot_Matrix

Arduino library for MAX7219 display chip used with 8x8 dot-matrix display
37 stars 17 forks source link

A port for ESP8266 NodeMCU? #1

Open marcelstoer opened 9 years ago

marcelstoer commented 9 years ago

Sorry, not a real issue but a support request.

Some guy tried to port your code to NodeMCU (Lua) for the ESP8266 - but failed: https://github.com/nodemcu/nodemcu-firmware/issues/50#issuecomment-75832880. I then created a dedicated issue for this in NodeMCU list. So, if you happen to have any insights or - even better - a working port for the ESP8266 I'd be happy to learn about this.

nickgammon commented 9 years ago

As I commented on the linked issue, I think you should be asserting and de-asserting slave select in order to latch the changes.

alfem commented 5 years ago

I am using this port (in a nodemcu) successfully:

https://github.com/SensorsIot/MAX7219-4-digit-display-for-ESP8266

Everything works, but if I disconnect the nodemcu from my laptop -after programming it- and plug it again, only one or two 8x8 matrix work. When I reload the program (using the Arduino IDE), it works perfect again.

Maybe some kind of lack of full reset needed (just guessing).

nickgammon commented 5 years ago

Without seeing the schematic it is hard to say, but you are probably right.