lib/Seeed_Arduino_AS5600/AS5600.cpp
/*******************************************************
  Method: writeOneByte
  In: address and data to write
  Out: none
  Description: writes one byte to a i2c register
*******************************************************/
writeOneByte
In: address and data to write
Out: none
Description: writes one byte to a i2c register
writeOneByte In : address and data to write Out : none Description : writes one byte to a i2c register
void AMS_5600::writeOneByte(int adr_in, int dat_in)
{
  Wire.beginTransmission(_ams5600_Address);
  Wire.write(adr_in);
  Wire.write(dat_in);
  Wire.endTransmission();
}
void AMS_5600 :: writeOneByte ( int adr_in , int dat_in ) { Wire . beginTransmission ( _ams5600_Address ) ; Wire . write ( adr_in ) ; Wire . write ( dat_in ) ; Wire . endTransmission ( ) ; }
Method: writeOneByte
In: address and data to write
Out: none
Description: writes one byte to a i2c register
Method : writeOneByte In : address and data to write Out : none Description : writes one byte to a i2c register