Apr 242012
 

Well, at last I have made a simple Arduino library of the previous Tx433_Proove sketch. I have pushed the complete code up on GitHub.

Here is the public class interfaces.

class Tx433_Proove
{
public:
/*
@digitalpin - the digitalpin to send data on to transmitter
@transmittercode - the unique code of the transmitter (52 bits)
@channelcode - the channel code (4 bits)
*/
Tx433_Proove(int digitalpin, char *transmittercode, char *channelcode);

/*
@unit - the device to turn on.
0,1,2 are the three separate devices.
3 is the complete group.
*/
void Device_On(int unit);

/*
@unit - the device to turn off.
0,1,2 are the three separate devices.
3 is the complete group.
*/
void Device_Off(int unit);
}

Made a new page at http://elektronikforumet.syntaxis.se/wiki/index.php/RF_Protokoll_-_Proove_self_learning to give something back to a great site.

Also added a new link at http://arduino.cc/playground/Main/LibraryList pointing at the Github upload.

Sorry, the comment form is closed at this time.