docbender / Onkyo-RI

Control Onkyo devices through Remote Interactive port
MIT License
132 stars 15 forks source link

User input not correctly recognized #2

Closed ThinkPadNL closed 8 years ago

ThinkPadNL commented 8 years ago

Hi,

I was trying the test sketch. However, user input doesn't seems to be recognized correctly by the code. I entered 0x2B0 (set dimmer to high), but the Serial Monitor showed me: user - 0x20. So it is not parsed correctly by the sketch.

What needs to be adjusted in the code to let user commands work correctly?

docbender commented 8 years ago

Hi, I forgot to check capital letters in user input. Only lowercase was supported (ex. 0x2b0). I was extended it now to capital letters as well.