Thanks for the input @allObjects
Your expertise in JavaScript is greatly appreciated.
As with all projects and programming each author brings to the task a collection of familiarity with subjects and blind spots to other subjects. As a project develops new knowledge is revealed as ignorance retreats.
So your input has led me to search for more information on modules.
The CommonJS paradigm expressed in the following link seems to fit the pattern you are proposing for the Rodrigues.js module. https://medium.freecodecamp.com/javascript-modules-a-beginner-s-guide-783f7d7a5fcc
So far I haven’t found a reference (other than Espruino) to the methods used for hardware module using the Connect method.
That which I knew of JavaScript was obtained from using it in HTML and using Espruino. The opposite problem seems to show up in this @trusktr
question. http://forum.espruino.com/conversations/305040/
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.
Thanks for the input @allObjects
Your expertise in JavaScript is greatly appreciated.
As with all projects and programming each author brings to the task a collection of familiarity with subjects and blind spots to other subjects. As a project develops new knowledge is revealed as ignorance retreats.
So your input has led me to search for more information on modules.
The CommonJS paradigm expressed in the following link seems to fit the pattern you are proposing for the Rodrigues.js module.
https://medium.freecodecamp.com/javascript-modules-a-beginner-s-guide-783f7d7a5fcc
So far I haven’t found a reference (other than Espruino) to the methods used for hardware module using the Connect method.
That which I knew of JavaScript was obtained from using it in HTML and using Espruino. The opposite problem seems to show up in this @trusktr
question.
http://forum.espruino.com/conversations/305040/