Home AMX User Forum AMX General Discussion

LG TV Channel Tuning

Hi There,
Had anyone program LG TV Channel UP and Down. As per the codes for channel tuning..
EX. Tuning to Channel 35 (analog Cable Channel) codes will be "'ma 00 23 00 00 00 00 01'" which 23 is the HEX equivalent to 35. My question is how would you incorporate if your are going to Channel up and down. Thanks for looking.

Comments

  • jjamesjjames Posts: 2,908
    This is what I have for LG TVs:
    cLG_CMDS[][7]=
    {
    
    	 ''		//  1
    	,''		//  2
    	,''		//  3
    	,''   		//  4
    	,''   		//  5
    	,''   		//  6
    	,''  	 	//  7
    	,''   		//  8
    	,'mc 0 08'	//  9 POWER TOGGLE
    	,'mc 0 10'   	// 10	ZERO
    	,'mc 0 11'   	// 11 ONE
    	,'mc 0 12'   	// 12 TWO
    	,'mc 0 13'   	// 13 THREE
    	,'mc 0 14'   	// 14 FOUR
    	,'mc 0 15'   	// 15 FIVE
    	,'mc 0 16'   	// 16 SIX
    	,'mc 0 17'   	// 17 SEVEN
    	,'mc 0 18'   	// 18 EIGHT
    	,'mc 0 19'	// 19 NINE
    	,''    		// 20
    	,'mc 0 44'	// 21 ENTER
    	,'mc 0 00'	// 22 CHANNEL UP
    	,'mc 0 01'	// 23 CHANNEL DOWN
    	,''   		// 24
    	,''   		// 25 
    	,''   		// 26 
    	,'ka 0 1'	// 27 POWER ON
    	,'ka 0 0'	// 28 POWER OFF
    	,''   		// 29
    	,''   		// 30
    	,''   		// 31
    	,''   		// 32
    	,''   		// 33
    	,''   		// 34
    	,''   		// 35
    	,''   		// 36
    	,''   		// 37
    	,''   		// 38
    	,''   		// 39
    	,''   		// 40
    	,''   		// 41
    	,''   		// 42
    	,''   		// 43
    	,'mc 0 43'	// 44 MENU
    	,'mc 0 40'	// 45 UP
    	,'mc 0 41'	// 46 DOWN
    	,'mc 0 07'	// 47 LEFT 
    	,'mc 0 06'	// 48 RIGHT
    	,'mc 0 44'	// 49 SELECT
    	,'mc 0 5B'	// 50 EXIT
    	,''   		// 51 
    	,''   		// 52 
    	,''   		// 53 
    	,''   		// 54 
    	,'mc 0 1A'  	// 55 JUMP
    }
    
  • edgelitocedgelitoc Posts: 160
    thank you so much for the reply,, i got it working
  • mvadormvador Posts: 17
    hey thanks for the codes...

    Do you know the volume up/down codes.. ??
  • jjamesjjames Posts: 2,908
    Two ways you can do it - I prefer method one.

    1) SEND_STRING dv_TV[nIND],"'kf 0 ',ITOHEX(nLG_VOLUME[nIND]),CR"
    nLG_VOLUME[] is an (optional) array that keeps track of the volume. This way you know exactly what volume it is at and you can also use it for volume bargraph feedback on your TPs. The syntax is as follows:
    [k][f][ ][Set ID][ ][Data][Cr]
    "'kf 0 64',$0D" // Set volume to 100%
    

    2) Use the remote mapping code.
    [m][c][ ][Set ID][ ][Data][Cr]
    
    "'mc 0 02',$0D" // Volume +
    "'mc 0 03',$0D" // Volume -
    "'mc 0 09',$0D" // Mute Toggle
    

    Attached is where I'm getting all of this from & including IR formatting & remote codes for serial, extracted from the owners manual.
  • what is remote mapping code ??
  • jjamesjjames Posts: 2,908
    mvador wrote: »
    what is remote mapping code ??
    Check out the attached protocol & see the last page. I call it remote mapping (using "discrete" codes for the keys typically on a remote.) See command # 24, and then the chart on the last page of the document.
  • Gotcha... Thanks a lot man.. Appreciate it.
Sign In or Register to comment.