--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yeah, I was thinking that the asynchronous/callback nature of javascript is the problem for this but I was wondering how to circumvent it.
I'm still a bit confused about while loops vs setInterval() though. Like I vaguely get that there is a difference between the two but I don't really understand javascript all that well.Why does setInterval() work while the while loop does not? What is the code if I wanted to implement my own setInterval() function?