As our efforts to make our hardware more and accessible, our open-source library was previously written only in C. We are porting our library code base to C++ to reach out more as our videos show some interests (Thank you for the support by the way). Moreover, it could reach those who use arduino framework in their development.
The porting process wasn't that difficult as AI helped us to port the codebase. We didn't take all of the AI suggestion though. The main algorithm and the memory management still uses the same approach which make the code base is still C-like. AI just helped us make the struct-driven functions to more object-oriented programming.
We have tested the basic functionality in both conventional and in-device (raspberry pi pico using arduino framework) for our library. It works! Despite all that, the codebase is still mainly tuned to our potentiostat in which the voltage generated is subtracted by half of the reference voltage. Moreover, some conversions are still reserved to the 12-bit DAC. It's still under development and we are planning to develop it further.
We plan to show you how we use this library using arduino framework. However, we're currently having some issues with the interrupt and ISR as we don't use AVR but instead raspberry pi pico. Therefore the whole code might not be applicable to across all boards but the fundamental at the very least is.
This is our github repo: link