You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @Manxome, it does... and very cool, jus as @thomc explains. Did JS a while a go for a lot... in 97, but got laughed at a lot by the .jsp 'fans' - even by my own kin - ... guess what: it's back bit time, for a while now and is THE client platform (with SimglePageApps instead of .jsp Web pages etc.). The mid 80' through mid 90' regarding client-server enjoying renaissance riding the easy to use Web http(s) protocol wave.

    Espruino uses interrupts for the setTimeot() and setIntervall(),

    Espruino is THE thing for exactly just one (1) battery for a life time due to the interrupt drivenness of the whole infrastructure.

    Put setBusyIndicator(LED1) and *setSleepIndicator(LED2) into your code and then you see how Espruino goes from activity to no activity to absolute silent Zzzzzzzzzz... until the next event wakes it up... totally different to the do loop in arduino's main.

    Arduino uses its speed to make you believe it is 'on interrupt'... and burns just (m)Amps... doing nothing but checking if it should do something or doing what you unconditionally tell to do. Yes, you can used interrupts too. Espruino does use interrupts for all it does. Espruino even provides commands to go to sleep and deep sleep... almost deep freeze... and comes back pretty quickly without frost bites... ;-)

    Your app knows when to enter what state and can use these commands. See examples used in reference.

    What programming languages did you use in the past?

About

Avatar for allObjects @allObjects started