Created
February 25, 2009 15:21
-
-
Save shokai/70210 to your computer and use it in GitHub Desktop.
動かないsetInterval
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serialInit(9600); | |
putTime(); // これは0って出る | |
setInterval(putTime, 10); // 実行されない | |
function putTime(){ | |
serialSend(getTickCount()+"\r\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment