geoffklee / micropython-smbus

A wrapper to provide methods of the CPython 'smbus' module on micropython
MIT License
24 stars 5 forks source link

Writing a byte is not yet implemented #3

Open JudahZF opened 3 years ago

JudahZF commented 3 years ago

Hi, I'm trying to use an LCD and I need to write a byte, would you be able to implement the write byte function?

geoffklee commented 3 years ago

Hi - thanks for the report. I'm happy to try though I don't have any hardware right now to test on. Can you try this version?

https://github.com/gkluoe/micropython-smbus/tree/%233

geoffklee commented 2 years ago

Hi - has anyone managed to test this, either @MrRubberDucky99 or @amotl ? I'm hesitant to merge it without a positive test and I don't have the hardware to test myself right now

amotl commented 2 years ago

Hi Geoff,

sorry, I don't have the hardware as well, tagging @MKO1640 instead. Michael: It would be all about testing the nau7802py library together with this micropython-smbus library, in branch #3 against, well, a real NAU7802 sensor.

The difference in comparison to the vanilla version of micropython-smbus can be inspected at [1].

I recognized from your reactions at https://github.com/longapalooza/nau7802py/issues/2, that you might be interested in this topic as well.

With kind regards, Andreas.

[1] https://github.com/gkluoe/micropython-smbus/compare/%233