Beispiel #1
0
        /// <summary>
        /// Send Command to SHT11
        /// </summary>
        /// <param name="Command">Command to send</param>
        /// <returns>true on error, false on succes</returns>
        private bool SendCommand(SHT11Commands Command)
        {
            // First Initiate command
            InitiateTransmision();

            // Send Command, MSB First
            return(WriteByte((byte)Command));
        }
		/// <summary>
		/// Send Command to SHT11
		/// </summary>
		/// <param name="Command">Command to send</param>
		/// <returns>true on error, false on succes</returns>
		private bool SendCommand(SHT11Commands Command)
		{
			// First Initiate command
			InitiateTransmision();

			// Send Command, MSB First
			return WriteByte((byte)Command);
		}