Replies: 2 comments 6 replies
-
You should only create the actual |
Beta Was this translation helpful? Give feedback.
5 replies
-
Using this helpful example, I have a working solution that I think will serve well in distributing this software. Belay is an impressive accomplishment. The support that you provide is equally impressive. Many thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have multiple devices performing different functions using micropython on the RP2040. One device has analog input code and timer code. Another device uses the PIO state machine and analog input code. Another device uses the PIO state machine and SPI bus.
We would like to maintain the analog input code and the PIO state machine code in separate code bases and “import” them so we don’t break DRY. It turns out this is rather tricky to do. If I open a device and want to apply the analog code and the PIO code with the belay setup method, there are device conflicts. The decorator does not seem to work with already established/connected devices.
I should also point out that it is a strong project goal to not install any code on the device itself, but rather to load all of it at runtime.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions