Unable to get the value from the function.

What does "read the values" mean? Do you want to put them in array? Print them to Serial monitor? Are the values ASCII characters or binary numbers?