Пример #1
0
		/// <summary>
		/// Write Status Register
		/// </summary>
		/// <param name="Settings">Settings to write</param>
		/// <returns>True on error, False on succes</returns>
		public bool WriteStatusRegister(SHT11Settings Settings)
		{
			// Send Command and Settings
			SendCommand(SHT11Commands.WriteStatusRegister);
			return WriteByte((byte)Settings);
		}
Пример #2
0
 /// <summary>
 /// Write Status Register
 /// </summary>
 /// <param name="Settings">Settings to write</param>
 /// <returns>True on error, False on succes</returns>
 public bool WriteStatusRegister(SHT11Settings Settings)
 {
     // Send Command and Settings
     SendCommand(SHT11Commands.WriteStatusRegister);
     return(WriteByte((byte)Settings));
 }