Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 251 Bytes
hardware.pin9.configure(DIGITAL_OUT);
hardware.pin9.write(0);
server.log("SnackBot Test Code");
server.log("Turning motor on for 10 seconds");
hardware.pin9.write(1);
imp.wakeup(10.0, function() {
hardware.pin9.write(0);
server.log("Done!")
});
You can’t perform that action at this time.