srinathvarda
Newbie level 6
Hi Guys,
I have trying to solve this problem since 4 days, but I'm not going anywhere, perhaps someone can help me here.
I have to actually program my microcontroller remotely. For this I'm sending all the HEX code through a Gprs modem that is connected to my controller through UART. Now how can I make the controller understand that what ever i'm sending is the hex code and it is supposed to store in an array.
For instance, if i'm sending FE as a single value. The UART sends F first and E next & i.e in ascii format.
I want the controller to take these two characters and show it as a single value as "0xFE" in hex.
I have trying to solve this problem since 4 days, but I'm not going anywhere, perhaps someone can help me here.
I have to actually program my microcontroller remotely. For this I'm sending all the HEX code through a Gprs modem that is connected to my controller through UART. Now how can I make the controller understand that what ever i'm sending is the hex code and it is supposed to store in an array.
For instance, if i'm sending FE as a single value. The UART sends F first and E next & i.e in ascii format.
I want the controller to take these two characters and show it as a single value as "0xFE" in hex.