Got it !!!
I'll then use the BH1745.js driver as a reference to keep the code consistent and in-line with the standard followed across the Espruino drivers. Thanks for the debug suggestion @Gordon. Actually I was just about to ask you a better way to debug the drivers quickly :). Maybe you heard my mind's voice !!!
i saw a sliughtly similar approach in the LIS2D12 driver and thought ill take up as reference for the accel and magnetometer on the iTracker module. the opt3001 driver should be fairly easy to port. I haven't yet got the revision 2.0 of the board which fixes some board errata according to RAK. Once I get the board ill test my drivers on that and then send the PR.
© Espruino, powered by microcosm.
Report a problem