Some background...X-10 allows for control of house electrical modules that can turn lights and other appliances on and off through the electrical wiring. There has to be a control unit into one outlet, some of which are basically wireless receivers that wait for signals telling it which device on which network to toggle. The FireCracker is a tiny transmitter that plugs into a DB9 serial port but is not RS232. It uses three wires, RTS, DTR, and GND, and expects each bit to be sent with about 50ms pause by toggling the RTS and DTR high low as follows:
Code: Select all
Signal RTS DTR
-----------------------------
Reset 0 0
Logical '1' 1 0
Logical '0' 0 1
Standby 1 1
An example of a signal stream, with about 50ms between each change, would be:
Code: Select all
Standby | '1' | Wait | '0' | Wait | '1' | Wait...
_____________________ _____________________
RTS _| |_____|
________ ___________________ ________
DTR _| |_____| |_____|
So, can one easily control DTR and CTS directly? I'm guessing perhaps a couple of TRAP calls since I doubt you can do it via SuperBASIC. With a normal serial connection the DTR/CTS is controlled by the 8049, indirect to the user, correct?