Hello~~
I have just found about PICO-8 recently and I must say this is a neat little platform to play around :D
So after scrolling the manual a few times, I realize that PICO-8 got the 128 bytes of GPIO, which begs to be used for all sort of external communication. However, I haven't found someone who has made a wrapper library for this, all of the examples I found are simply examples of how someone use the GPIO for their specific communication requirements.
I tinkered for a while in my free time and thought that I might as well just create my own. The requirements that I had in mind is simply:
- able use the GPIO without race condition between the Host and PICO-8
- able to send a message of arbitrary length, even more than 128 bytes
- is configurable, doesn't take all of the GPIO space
- enable user to create their own protocol on top for their own usage
- reliable
A little bit of details:




