Program for decoding radio-signals sent by a ETH-Window-Shutter-Contact, received with a RFM12B-module. The messages are sent to KNX via a freebus rs-interface. Details see http://mbed.org/users/charly/notebook/connecting-a-radio-window-shutter-contact-to-knx/

Dependencies:   TextLCD mbed ConfigFile

Embed: (wiki syntax)

« Back to documentation index

eth_comfort Class Reference

eth_comfort Class Reference

Class for the ETH-Window shutter by ELV(R) Uses the rfm12B to receive the signals sent by the radio-shutter. More...

#include <eth_comfort.h>

Public Member Functions

 eth_comfort (PinName mosi, PinName miso, PinName sclk, PinName nsel, PinName rxdata, PinName rxled)
 Constructor.

Detailed Description

Class for the ETH-Window shutter by ELV(R) Uses the rfm12B to receive the signals sent by the radio-shutter.

Definition at line 31 of file eth_comfort.h.


Constructor & Destructor Documentation

eth_comfort ( PinName  mosi,
PinName  miso,
PinName  sclk,
PinName  nsel,
PinName  rxdata,
PinName  rxled 
)

Constructor.

Parameters:
mosiSPI-Interface. One of the 2 PSI-Interfaces of mbed. Pin p5 or p11
misoSPI-Interface. One of the 2 PSI-Interfaces of mbed. Pin p6 or p12
sclkSPI-Interface. One of the 2 PSI-Interfaces of mbed. Pin p7 or p13
nselChip-Select. A Digial Output of mbed
rxdataData-Pin for received data. A DigitalIn of mbed
rxledLED1 - LED4 for showing received bytes

Definition at line 47 of file eth_comfort.cpp.