This application translates HTTP GET requests into the proper RS232 commands to control a Sharp Aquos TV
Dependencies: EthernetInterface mbed-rtos mbed
Diff: AquosTV.cpp
- Revision:
- 1:64bfc05e387d
- Parent:
- 0:427a14ebab60
- Child:
- 2:3637af74f7f0
--- a/AquosTV.cpp Tue Jul 29 23:01:55 2014 +0000 +++ b/AquosTV.cpp Tue Jul 29 23:10:14 2014 +0000 @@ -15,6 +15,7 @@ m_tv->format(8,SerialBase::None,1); memset(httpcmd,0,sizeof(char)*BUF_SIZE); memset(rs232cmd,0,sizeof(char)*BUF_SIZE); + m_tv->printf("RSPW1 \r"); //--- enable rs232 commands for power on/off } bool AquosTV::processCommand(const char* httpin) {