Open sfe-SparkFro opened 3 weeks ago
Refactored python driver to use lists and to have examples and functions that more closely matched arduino lib. It is on this branch:
https://github.com/sparkfun/Qwiic_GPIO_Py/tree/refactor/gpio_lists
@sfe-SparkFro one potential problem I see with my refactor is that the many internal variables (like out_status_0.... out_status_7) have been replaced with lists so I suppose it breaks backwards compatibility. I like the idea of users being able to modify these values like lists but I can revert to the old individual variables if necessary for backwards compatibility is necessary. Another option is to keep those variables as well as the new lists and make sure they always are coherent with each other. Let me know your thoughts
Board
SparkFun Qwiic GPIO
Notes
Arduino Library Python Driver