como puedo leer el voltage de un motor?/how can i read the voltage from a motor?

:~ necesito leer el voltaje de un motor que va conectado en GND y en una entrada analogica. cómo podría programar esto? e imprimir la cantidad de voltage que genera el motor. //
I need to read the voltage of a motor that is connected to GND and an analog input. how could program this? and printing the amount of voltage generated by the motor.

Look at the analog examples that come with the IDE. One of them demonstrates how to read a value from an analog input, scale it, and print the value to the serial port.