Example #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;
 }
Example #2
0
 // <summary>
 /// Switch off TX and RX mode of PL1167 
 /// </summary>
 protected void StopRXTXMode()
 {
     WriteRegister16(0x07, 0x00, channel, 1);
     mode = PL1167Mode.Disabled;
 }
Example #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;
 }