tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
349 stars 213 forks source link

I2C slave mode #79

Open mcer12 opened 5 years ago

mcer12 commented 5 years ago

Any plans to implement I2C slave mode? For such low tier device it would be very nice!

tenbaht commented 4 years ago

I2C slave mode, I2C interrupt support and SPI interrupt support are on my todo list. Unfortunately, I am quite short on time for this project, so I have to focus on the things I am actively using. So don't hold your breath :-(

liwenzhuang commented 4 years ago

When can I use the IIC machine?Thank you very much

stefaandesmet2003 commented 3 years ago

I committed a i2c slave implementation here : https://github.com/stefaandesmet2003/sduino Feel free to use & test

mcer12 commented 3 years ago

@stefaandesmet2003 looks nice, maybe you can make a PR from it? This is a very needed function for many!

mcer12 commented 1 year ago

@stefaandesmet2003 Two years later I revisit this issue :) I have bunch of STM8 at home from the time when they were very cheap but the best use for them - I2C slave - is not implemented... would you be able to merge your work with current version of the project in a new fork?

stefaandesmet2003 commented 1 year ago

I consider open source as a means of sharing my work, not of delegating my work to someone else

mcer12 commented 1 year ago

@stefaandesmet2003 You didn't share a source so you're the only one who can merge it. Could've just said no instead of being petty.