Can a Python script import micropython libraries as well as tkinter libraries?


I have a router XBee3 with an I2C bus setup that has an i2c mcp23017 I/o expander as a slave on the bus.

My question is can you have a python file that imports the micropython library machine functionalities. Further can you also import tkitner gui libraries. and, for example, create a quick tkinter gui window that has a button that set one of the slave’s output ports ON and OFF?

1 Like

Not that I am aware of.