Skip to content

Commit f394f5c

Browse files
authored
Update twi.h
added 3v3 device compatibility
1 parent 89884cd commit f394f5c

File tree

1 file changed

+2
-0
lines changed
  • libraries/Wire/src/utility

1 file changed

+2
-0
lines changed

libraries/Wire/src/utility/twi.h

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1818
1919
Modified 2020 by Greyson Christoforo (grey@christoforo.net) to implement timeouts
20+
Modified 2021 by Fernando Rubio (frubio@techdev.cl) to support I2C 3v3 devices
2021
*/
2122

2223
#ifndef twi_h
@@ -42,6 +43,7 @@
4243

4344
void twi_init(void);
4445
void twi_disable(void);
46+
void twi_disablePullups(void);
4547
void twi_setAddress(uint8_t);
4648
void twi_setFrequency(uint32_t);
4749
uint8_t twi_readFrom(uint8_t, uint8_t*, uint8_t, uint8_t);

0 commit comments

Comments
 (0)