...with some modification ; the results are now OK (in simulation, hope in real-world too !).
...and (of course !) ...Code:TRISIO = %00111110 ANSEL=0 OPTION_REG.7=0 IOCB=%00111110
...and at last...Code:if but1=0 then vol_up if but2=0 then vol_down if but3=0 then btn_up if but4=0 then btn_down if but5=0 then mute
The results are like in picture; hope testing "in vivo" tomorrow...Code:vol_up: delay = 970 '(970 us low + 970 us high + 660 us low = 2600 us pulse total time) gosub ir_out
Bookmarks