Replies: 2 comments 2 replies
-
It can for certain boards like the FT232H and MCP2221a, but for most boards like the raspberry pi, it is intended to be run on the single board computer.
Blinka is intended to add a compatibility layer to run CircuitPython code on top of Python. It's possible Blinka might not be the right solution for you. What are you trying to do with the Bitmap? If all you want to do is manipulate it or display it, you might want to look into libraries like Pillow and PyGame. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion! Those projects look interesting, but quickly perusing their documentation at a high level it doesn't look like they'd run on Adafruit hardware like the MatrixPortal S3. I could be wrong, but my understanding is CircuitPython wouldn't support all of the language functionality required by libraries designed for the full python library. My immediate goal is to manipulate an RGB Display on a MatrixPortal S3 in real time. A standard way I approach projects using a small board like this is to:
So far I've been unable to develop many tests because few of the CircuitPython libraries will run outside of a board :-(. Thanks for any suggestions, --Michael |
Beta Was this translation helpful? Give feedback.
-
I'm looking for a way to write a proper test suite for my CircuitPython code that doesn't have to run on a low-level board. Much of the code I'm writing is pretty low-level, like Bitmap manipulation, but I can only get it to run on low-level hardware without debugger support. I come from the Java & C++ coding worlds, and abandoning test-driven development to do a Python project is a bitter pill.
This library was recommended to me on the Adafruit forums, but after spending several days trying to get it working on macOS am beginning to wonder if this was the intended purpose at all. Can it run at all on macOS? I'm not trying to simulate any hardware at all, just classes inside CircuitPython like Bitmap.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions