User Inputs and Storing values

Have you studied the communication examples that come with the Arduino IDE. One of them might give you a starting point.

...R