Home icon indicating copy to clipboard operation
Home copied to clipboard

Migrate DS18B20 from nf-Community-Contribution to IoT.Device

Open Ellerbach opened this issue 3 years ago • 3 comments

Some rework needs to be done to align with quality standards. Binding location: https://github.com/nanoframework/nf-Community-Contributions/tree/master/drivers/Sensor-DS18B20

Ellerbach avatar Feb 18 '22 14:02 Ellerbach

I can do it but please specify your expectations towards supported features: should be moved with all existing features like notification and alarms or just measurement on demand?

rkalwak avatar Feb 18 '22 18:02 rkalwak

I can do it but please specify your expectations towards supported features: should be moved with all existing features like notification and alarms or just measurement on demand?

Great question, expectation is to have as many things moved. Especially anything that is already implemented in the code. It's not required to add more elements if they are not present.

There are also the Temperature to use UnitsNet and anything else that has units.

Elements on naming convention (like the class name, variables), code guidelines (extra enter between functions), unfortunately, we can't use yet Stylecop on the IoT Device repo. Once that in place, PR review on code style will be much easier. In the mean time, please be careful to those things.

And thanks a lot for proposition to do it!

Ellerbach avatar Feb 22 '22 04:02 Ellerbach

Ok then, I will do my best :)

rkalwak avatar Feb 22 '22 12:02 rkalwak

Done in PR: https://github.com/nanoframework/nanoFramework.IoT.Device/pull/526

rkalwak avatar Aug 28 '22 13:08 rkalwak

@rkalwak would you mind making a PR as well on the community repo to remove the implementation from there? So it's clean as well on that side.

Ellerbach avatar Aug 29 '22 09:08 Ellerbach