Depends on the sensor. The value from an analog input is an integer. The value from a digital input is 0 or 1. The value from a sensor connected via Serial, SPI, or Wire could easily be text.
Depends on the sensor. The value from an analog input is an integer. The value from a digital input is 0 or 1. The value from a sensor connected via Serial, SPI, or Wire could easily be text.