You need to call analogRead each time, so:
var lightPin = C1; setInterval(function() { console.log (analogRead(lightPin)); }, 500);
Also, Espruino is case-sensitive, so you need to use capital and non-capital letters in the right places...
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You need to call analogRead each time, so:
Also, Espruino is case-sensitive, so you need to use capital and non-capital letters in the right places...