I need help in the Syntax of this

how to get these values in the void loop.