-
-
Nope, that didn't do it... I got it working now, but I don't know what the problem was...
I use a little powered hub to extend my USB ports to a more comfortable location.
This morning I tried removing that hub and using it direct into my USB port -- and it worked.
So I put the hub back in and tried it again in the hub, and it didn't work -- so I tried it in a different slot on the hub and it worked. Then again in slot #3 and it didn't work, then the rest of the slots and it did work. And now it's working in slot #3.
I don't have any polite words I can use, so I'll just say thanks to everyone who tried to help!
:)
Al;
-
-
I followed the quickstart and the setInterval command doesn't work - the led doesn't flash
I can turn it on and off with toggle() -- but setInterval doesn't call toggle?
getTIme() is incrementing as I call it
I expected setTimeout(getTime,1024) to output the time in a second
it didn't...
my startup says:
|_| http://espruino.com 1v81 Copyright 2015 G.Williams
what am I doing wrong?
thanks
al;( I'm a long time javascript developer, so I'm very confused when something this simple doesn't work )
My computer's timezone is set correctly, but the Pico seems to be set to GMT no matter what.
Here is the code I am using to find out my local sunrise & sunset -- it relies on a variable containing my timezone offset, which I must keep up-to-date based on DST here...
The trick for me is to just do everything as GMT and then only change for the display