virtual_wire_receiver

Virtual Wire receiver only version

Author Rob Jansen, Copyright © 2018..2019, all rights reserved.
Adapted-by
Compiler 2.5r2

Description

This is the receive only version of Virtual_Wire, see the file
             virtual_wire.jal for all changes compared to the original
             Virtual_Wire library and more information.


Sources

http://www.airspayce.com/mikem/arduino/VirtualWire.pdf


Notes

-


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Private

Functions

Private

API details

Global variables/contants

Procedures

  • vw_rx_start()

    Enable the receiver. When a message becomes available, vw_rx_done flag
    is set, and vw_wait_rx() will return.
    

  • vw_service()

    This is the service routine that must be called by the main program when the
    timer overflows. Its job is to call the PLL code if the receiver is enabled.
    

  • vw_rx_stop()

    Disable the receiver
    

  • vw_wait_rx()

    Wait for the receiver to get a message
    Busy-wait loop until the ISR says a message is available
    can then call vw_get_message()
    

  • vw_init()

    Initialize the virtual wire driver.
    

Private
  • _vw_pll()

    Called 8 times per bit period by the timer interrupt routine
    Phase locked loop tries to synchronise with the transmitter so that bit
    transitions occur at about the time vw_rx_pll_ramp is 0
    Then the average is computed over each bit period to deduce the bit value
    


Functions

Private

Related samples

Here are the list of samples which use this library:

12f61712f617_virtual_wire_receiver.jal