Need help for reading values

How? Through a serial port perhaps?

If so, then a read of Serial Input Basics may help - particularly example 5.