Is it possible to execute code on a time interval. For example, if I want to set value of analog output every 0.001 sec, is there such interrupt capability?
I think this is what you're looking for:
const tessel = require("tessel");
setInterval(() => tessel.port.A.pin.pwmDutyCycle(0.5), 1);