My goal is to use the Arduino and various modules to replace my current home control system.
I am able to send some commands, but the program halts until i disconect the black whire. Then some X10 commands are sent out to the X10E, but not very stable.
However you should look into a new combined lib - X10ex - written by ThomasM. He's done an excellent job on it and it's settable for 50 or 60 Hz. etc. He has also written X10 IR and X10 RF libs. You can find them here:http://load-8-1.blogspot.com/2010_06_01_archive.html
I have creatrope's lib at home. PM me and I'll send you a link to it.
// zeroCrossInt = 2 (pin change interrupt), zeroCrossPin = 4, transmitPin = 5, receivePin = 6, receiveTransmits = true, phases = 1, sineWaveHz = 50X10ex x10ex = X10ex(2, 4, 5, 6, true, processPlMessage, 1, 50);// receiveInt = 0 (external interrupt), receivePin = 2X10rf x10rf = X10rf(0, 2, processRfCommand);// receiveInt = 1 (external interrupt), receivePin = 3, defaultHouse = 'A'X10ir x10ir = X10ir(1, 3, 'A', processIrCommand);
It seems zeroCrossInt matches the rf receivePin ?