Sharp LCXXDXX RS232 protocol
yanbin
Posts: 86
Anyone has volume up/down RS232 command for Sharp LCxxDxx LCD TV? In the Sharp LCD Manual I have only stats the volume in level: VOLM** (volume0-60).
Thanks
Thanks
0
Comments
Keep track of your volume, and send out VOLMxx
Excuse my ignorance, but if you now the level at which the volume is; how that helps to ramp the volume up or down.
i don't understand...
You have to build your own volume up/down routine, and use the VOLMxx command to send it to the LCD tv...
nZoneGain is updated with the current volume level in the Data_Event. This function increments or decrements then sends the new level to the device. This is for devices with no vol+ or vol- commands, where you can only send a level. TO emulate a ramp, you track the vol level in a variable, then adjust that variable and send it to the device.
Looking at this code now there are cleaner ways of doing it, but it gives you a general idea.