This PR adds bindings for roughly 50% of the PIO related API functions, which is more than enough to implement the two examples that are discussed in detail in the Pico SDK pdf docs: "hello" (blinky) and "ws2812".
Once again, feel free to comment on the exported API design, though it stays pretty close to the underlying C functions.
Unfortunately, no doc comments here. The API is close enough to the underlying C API that it would be mostly a copy/paste job. Maybe we could make a script that parses doxygen stuff and generates some nim doc comments from it?
Closes #40
This PR adds bindings for roughly 50% of the PIO related API functions, which is more than enough to implement the two examples that are discussed in detail in the Pico SDK pdf docs: "hello" (blinky) and "ws2812".
Once again, feel free to comment on the exported API design, though it stays pretty close to the underlying C functions.
Unfortunately, no doc comments here. The API is close enough to the underlying C API that it would be mostly a copy/paste job. Maybe we could make a script that parses doxygen stuff and generates some nim doc comments from it?