Closed Issam-b closed 5 years ago
I dunno why this "utilities_unit.test_upm_delay_us" test is failing, but it's not related to this commit for sure.
Alright, that's good. About those minor changes, it's OK to correct them when merging, but can you point them out, since I'll be adding another sensor soon, and it's better not to have the same issues again!
For the JSON file it's mostly a matter of formatting, some of the entries there can be kept on a single line for readability, looks good otherwise.
On the other hand, the .hpp file needs a "library block" so that the page generated from it gets linked in the documentation (see this page). I recommend using an existing sensor driver as a guide, for instance TCS3414 would be a good one. You can find more details on this in the document here. If you want to check how it looks before submitting a PR, it helps to enable documentation during builds. This does have some additional dependencies (explained in building.md file) thus it's understandable if you decide to skip this.
Merged with some minor formatting changes (see 89e2ec870a90aebb0684cce2d1b3df7a47b837cf). Thanks!
This pull request contains the implementation for the ROHM BH1749 color sensor driver. Samples examples for all 5 supported languages are included.