Closed GoogleCodeExporter closed 8 years ago
From r22 onwards, there is a now degree of configurability for the transmission
pin. We use PORTB, so you must choose a pin on that PORT (PB*) from http://
www.arduino.cc/en/Hacking/PinMapping168
To configure the transmitter data pin, define HETXPIN to the pin of choice from
PB*
The following snippet demonstrates sending a simple message :
-- BEGIN SNIPPET --
#include "HomeEasy.h"
HomeEasy homeEasy;
void setup()
{
homeEasy = HomeEasy();
homeEasy.init();
int house = 1; // Represents the rotary dial on simple remotes, 0 = A ... 15
= P
int unit = 1; // The unit number, 0 - 15
int isOn = 1; // 1 = On, 0 = Off
homeEasy.sendSimpleProtocolMessage(sender, recipient, isOn);
}
-- END SNIPPET --
Original comment by lstg7...@gmail.com
on 21 Apr 2010 at 5:29
Original issue reported on code.google.com by
dgrhous...@gmail.com
on 1 Apr 2010 at 10:28