Пример #1
0
		/// <summary>
		/// Sets the color of the character or digit at the specified position.
		/// </summary>
		/// <param name="color">
		/// The color to set the digit/character to.
		/// </param>
		/// <param name="pos">
		/// The position of the character to change the color of.
		/// </param>
		public void SetLed(TM1638LedColor color, Byte pos) {
			base.SendData((Byte)((pos << 1) + 1), (Byte)color);
		}
Пример #2
0
 /// <summary>
 /// Sets the color of the character or digit at the specified position.
 /// </summary>
 /// <param name="color">
 /// The color to set the digit/character to.
 /// </param>
 /// <param name="pos">
 /// The position of the character to change the color of.
 /// </param>
 public void SetLed(TM1638LedColor color, Byte pos)
 {
     base.SendData((Byte)((pos << 1) + 1), (Byte)color);
 }