The ADC on a photon is different from the kind on an Arduino Uno or lilypad, so your circuit really matters. How do you have it hooked up? In particular do you have another resistor in the circuit?
Have you seen this tutorial?
The ADC on a photon is different from the kind on an Arduino Uno or lilypad, so your circuit really matters. How do you have it hooked up? In particular do you have another resistor in the circuit?
Have you seen this tutorial?