https://github.com/learn2develop/Central_Heating_Module_Firmware
3.3-5V
Include the library
#include <Pimote.h>
Pimote socket;
Define the pins as connected to the Pimote
socket.setESD0(int p); // set Encoded Signal D0
socket.setESD1(int p); // set Encoder Signal D1
socket.setESD2(int p); // set Encoder Signal D2
socket.setESD3(int p); // set Encoder Signal D3
socket.setMODSEL(int p); // set MODSEL mode select signal (OOK/FSK)
socket.setCE(int p); // set CE modular enable (Output ON/OFF)
Include the begin method
socket.begin();
Socket 0 includes all sockets, individual sockets can be addressed using integers between 1-4.
Turn socket on
socket.on(int s);
Turn socket off
socket.off(int s);