TTL logic...something to keep the switch closed after the bit was sent out

Or use X10.com