Peter's electronic projects
Try it out now! Click on the transmitter buttons and see how the
receiver outputs change. Change transmitter or receiver version. Alter
the receiver output type.

| source
file |
line | meaning |
| enc-042.asm | 25 #define MODE_CH4 | the
device is 4-channel, sending ON/OFF channel codes |
| enc-042.asm |
28 #define MODE_CH8 | the device
is 8-channel,
sending simple codes for channels |
| irmtxv4.asm | 44 pwm_freq EQU d'38000' | the IR transmitter frequency is set to 38000 Hz. This should match the receiver module frequency |
| dec-043.asm | 36
LATCH_MASK EQU 0xff |
select outputs to be latched. This is a binary mask, one bit per channel. Other channels will be momentary |
| dec-044.asm | 38 LATCH_MASK EQU 0xff | |
| mrxv4.asm | 56
#define SKL btfsc 57 #define SKH btfss |
normal decoder logic input is used for the RF receivers (most times) |
| mrxv4.asm | 60
#define SKL btfss 61#define SKH btfsc |
inverse decoder logic input is used for the IR receivers (most times) |