IOsetting / FwLib_STC8

A lite firmware library for STC8G/STC8H series MCU
Apache License 2.0
122 stars 32 forks source link

demo code for I2C slave? #5

Open sumitmamoria opened 2 years ago

sumitmamoria commented 2 years ago

Do you have demo code or a snippet for using I2C slave mode ?

IOsetting commented 2 years ago

I wrote one according to the i2c example in stc8h user manual, but I hadn't test it yet. Let me know if there are anything wrong.

sumitmamoria commented 2 years ago

@IOsetting Thanks for the quick response. Will try it on the hardware and let you know.