@Gordon
is it possible to make a function that always loops? and whenever the user request the page it can answer with the page as well?
The keys I am watching are implemented as keypad, and to monitor what key is pressed I need to watch the driving pins and which pin of the sensing pins has changed.. I have the logic and I can simply convert it to code. But is it possible to make an event listener for these changes and serve the web as well?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon
is it possible to make a function that always loops? and whenever the user request the page it can answer with the page as well?
The keys I am watching are implemented as keypad, and to monitor what key is pressed I need to watch the driving pins and which pin of the sensing pins has changed.. I have the logic and I can simply convert it to code. But is it possible to make an event listener for these changes and serve the web as well?