Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
my_i2c.h
00001 #ifndef __MY_I2C_H__ 00002 #define __MY_I2C_H__ 00003 00004 bool my_i2cStart (unsigned char slaveAddress); 00005 bool my_i2cStop (); 00006 bool my_i2cRepeatedStart (unsigned char slaveAddress); 00007 bool my_i2cWrite (unsigned char data); 00008 unsigned char my_i2cReadByte (); 00009 unsigned char my_i2cReadAck (); 00010 unsigned char my_i2cReadNak (); 00011 unsigned char my_i2cRead (unsigned char ack); 00012 void my_i2cWriteByte (unsigned char byte); 00013 bool my_i2cGetAck (); 00014 00015 #endif // __MY_I2C_H__
Generated on Fri Jul 15 2022 13:24:00 by
1.7.2