Hi, I tried to google but didn't find what I'm looking for so I thought I try here too. Is there a library for the MAX7313?
I'm working on a project that will have 10 buttons (with RGB leds using PWM) and I would like to use I2C for everything. The program will run on a W5100S-EVB-Pico as I also need ethernet.
I can do it with the Arduino IDE but it would have been nice to switch this project to MicroPython. I might try to convert the Arduino library if none is found but I'm not sure I will be successful...
Best regards
Nicke
MAX7313 library available?
Re: MAX7313 library available?
I think you should do so.
https://github.com/eta-systems/MAX7313- ... ax7313.cpp seems to be a good start.
It is not too long and the conversion to micropython should not be too hard.
Once the code for other port expanders e.g. at the curated "awesome micropython" list https://github.com/mcauser/awesome-micropython#io, e.g. for pcf8574: https://github.com/mcauser/micropython- ... pcf8575.py, is understood, transformation for the MAX7313 should not take too long.
Don't hesitate to present your questions and problems arising in this process.
Best regards,
Raul
https://github.com/eta-systems/MAX7313- ... ax7313.cpp seems to be a good start.
It is not too long and the conversion to micropython should not be too hard.
Once the code for other port expanders e.g. at the curated "awesome micropython" list https://github.com/mcauser/awesome-micropython#io, e.g. for pcf8574: https://github.com/mcauser/micropython- ... pcf8575.py, is understood, transformation for the MAX7313 should not take too long.
Don't hesitate to present your questions and problems arising in this process.
Best regards,
Raul