swixteen
0.03
Switch a lamp on/off with X10 RF commands
Main Page
Files
File List
Globals
All
Files
Functions
Variables
Macros
Pages
MarmitekX10
SendRfCode.c
Go to the documentation of this file.
1
#include "../MarmitekX10/MarmitekX10.h"
2
#include "../config.h"
3
8
int
SendRfCode
(
unsigned
char
Address
,
unsigned
char
Action
)
9
{
10
11
SendPreamble
();
/* send the preamble */
12
SendByte
(Address);
/* send Address */
13
SendByte
(~Address);
/* send Inverted Address */
14
SendByte
(Action);
/* send Action */
15
SendByte
(~Action);
/* send Inverted Action */
16
17
return
(0);
18
}
Generated on Sat Oct 5 2013 21:30:15 for swixteen by
1.8.3.1