I am working on a small DIY project on the Raspberry PI that I want to run using NodeJS. The NodeJS should be able to:Monitor some hardware using RPI's GPIOStore this info in a database (SQLite)Show a webpage that refreshes ever x-seconds and retrieves the data from the databaseRespond to input from the webpage and update the settings for the processI was planning on servering the web page using Express. Next to that I wanted to run a relatively simple managing process every 10ms using setInterval that does the other work.Is this a stable way to do this or should I design this completely different?Thanks!
Submitted February 02, 2016 at 04:17PM by SaphuA
No comments:
Post a Comment