Closed brian-inksmith closed 1 year ago
It works for me. I updated our servo-dual example to use this, and got the resulting screenshot.
(see the commit above or here https://github.com/microsoft/jacdac-msr-modules/commit/7e9e119c551eb72f16153715adcbf44aebd7c4e5 )
oh, and most of that commit is just formatting
Thanks Michal, I will take a look and get back soon.
Looks like it was the submodules not updating. Using the same as you worked. Thank you Michal!
Hello!
We're looking to implement instances in our firmware for modules that have multiple sensors, similar to how it is for the button simulator below. Our use case is for relays and for light sensors.
We've implemented the following code for our jacdac breakout board:
board.h
And out BreakoutBoard.c file is the following:
The above code does not work once we compile it (no errors upon compile) and load it to the module. Any thoughts on what else is necessary? Thanks in advance!