示例#1
0
 /// <summary>
 /// Set PL1167 in TX mode 
 /// Register 0x07 -> Transmit 0x01 
 /// </summary>
 protected void SetTXMode()
 {
     WriteRegister16(0x07, 0x01, (byte)(channel), 1);
     mode = PL1167Mode.Transmitting;
 }
示例#2
0
 // <summary>
 /// Switch off TX and RX mode of PL1167 
 /// </summary>
 protected void StopRXTXMode()
 {
     WriteRegister16(0x07, 0x00, channel, 1);
     mode = PL1167Mode.Disabled;
 }
示例#3
0
 // <summary>
 /// Set PL1167 in RX mode 
 /// Register 0x07 -> Transmit 0x00
 /// </summary>
 protected void SetRXMode()
 {
     WriteRegister16(0x07, 0x00, (byte)(0x80 + channel), 1);
     mode = PL1167Mode.Receiving;
 }