ghi-electronics / TinyCLR-Drivers

Drivers for sensors/devices to be used with TinyCLR OS
Apache License 2.0
6 stars 9 forks source link

- Library to support Microchip Mcp23xxx series Gpio expanders #193

Closed axa88 closed 2 years ago

axa88 commented 3 years ago

Library/Driver to support Microchip Mcp23xxx series Gpio expanders. Implements IGpioControllerProvider providing expander as native TinyClr GpioPin Type (commit includes Mcp23S18 implementation as proof of concept)

see required edits and sample of use https://github.com/ghi-electronics/TinyCLR-Libraries/commit/ae790ae3688791542ac3d8bb433fae3a2e8fc140 https://github.com/ghi-electronics/TinyCLR-Samples/commit/02f6f22bfd1942bf8a333bd6ba0ecb1ec04d3870

axa88 commented 3 years ago

@Palomino34

So i take it what your saying is to say include the Mcp23 drivers in the official repo, you need some adjustments to AssemblyInfo.cs and a nuspec file as well?

I would be glad to look into that, this was just a PR draft to get a conversation going. So if adding to the official repo is of interest we can speak of this when the the driver is concidered complete...

Palomino34 commented 3 years ago

Could you please add some note on the top of files, something like where you get this driver? If you wrote this driver, then it is fine. Just please make PR to to_v2.2.0 then.

Thanks.