stevemarple / SoftWire

Software I2C implementation for Arduino and other Wiring-type environments
GNU Lesser General Public License v2.1
136 stars 31 forks source link

configure SoftWire and set up buffer #12

Closed quangvu912 closed 3 years ago

quangvu912 commented 4 years ago

Hi stevemarple, i want to use softWire for 3 pressure sensors with same address (because i dont have multiplexer) so i try to use ur library. As u said high-level functions provide almost direct compatibility with the Wire library. I dont know how to set up buffer, con figure SoftWire to use beginTransmission(), endTransmission(), read(), write() and requestFrom () and other high-level functions. this is my code softwire.txt

could you help me to it. Thank you so much

stevemarple commented 3 years ago

I have added a new example called ReadDS1307 that shows how to configure the buffers.