Closed xpsheng closed 1 year ago
Flet app is a regular Python app, so if you know a Python library working with USB you can use it in your Flet program.
A good package that you can play with for USB hardware circuit board programming is Adafruit CircuitPython API https://circuitpython.org/ Docs at https://docs.circuitpython.org/en/latest/docs/index.html Looks like fun, I almost feel like tinkering around with it to resurrect one of my old projects. There's also python libraries out there for Arduino control if that's what you're looking for.
you can use pyserial
for communication with USB CDC, as @FeodorFitsner said it is a regular python App where you can use whatever python library you want.
Thanks a lot for your comments there to have more tips! This issue could be closed.
Flet app is a regular Python app, so if you know a Python library working with USB you can use it in your Flet program.
As assumed flet DOESNT work to access serial USB devices device access - Its a know Issue https://stackoverflow.com/a/51645803
flet build apk -vv
How do i add termios.so into our flet app to do access serial read/write?
As pointed in the below link, https://github.com/frmdstryr/kivy-android-serial
Flet is a very good framework to develop some testing tools. Besides pure SW, could flet support some connection with HW? e.g. USB CDC, UVC etc.