The attached source (Bascom 2.0.7.6) generates the elctrical equivalent of the NEC-IR Code and thus can control a (e.g.) TV without the remote control unit. The data output is directly connected to the RX input for the IR sensor signal.
I needed this for 2 reasons:
1. I have several identical TV-receivers side by side and thus a problem to "address" just one specific unit.
2. When the TV-receiver is in a truely remote place (e.g. a different building) it can be controlled by sending a single byte to the Mega8 Interface.
Paulvk's very compact code to decode the IR output of a RC unit spurred me to also reduce the necessary code to a minimum. Using Bascom's Pulseout and Waitus commands does the job without a glitch.
Thank you "Bascom" and your creator.
Best regards
dj7da
↧