How to read variables over UART/RS232?
Posted: Wed Jun 01, 2011 10:18 pm
Dear all,
I have a problem reading values of variables over UART/RS232 from my ATMega328. I want to transmit the name of the variable maybe as string from a terminal program to the microcontroller and then send the value of this variable back over RS232 to the terminal?
Does anyone know how to recognize the variables name from the sent string with FlowCode or C and then use it with the microcontroller?
I wasn't able to convert the string into a 'real' usable variables name.
Many thanks!
Niro
I have a problem reading values of variables over UART/RS232 from my ATMega328. I want to transmit the name of the variable maybe as string from a terminal program to the microcontroller and then send the value of this variable back over RS232 to the terminal?
Does anyone know how to recognize the variables name from the sent string with FlowCode or C and then use it with the microcontroller?
I wasn't able to convert the string into a 'real' usable variables name.
Many thanks!
Niro