This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Dummy software for sensors reading

I want Read a ADC sensor's value from the GPIO, I don't have Sensor, Can i write Dummy software to read a sensor value(none sensor in connected to GPIO). I will configure any GPIO Pin as input and get a value and send to other Zigbee device. Anyway, it will give value Zero, if i test without sensor,but it should send a value. But if sensor connect to that GPIO pin, which i have configured in program. It should Read a value send to the Device. Can i?