theoctal / octalbonescript

A more stable, continuously tested and better node.js library for scripting your BeagleBone
MIT License
57 stars 9 forks source link

Added option to disable autoloading of capes at startup #60

Closed psiphi75 closed 8 years ago

psiphi75 commented 8 years ago

Now you can run octalbonescript like this

AUTO_LOAD_CAPE=0 node myscript.js

This means that capes won't be automatically loaded.

adityapatadia commented 8 years ago

This will put it in simulator mode which is not desired here. Ideally it should go inside the first if statement. I would also recommend moving enableAnalog function inside load cape function inside if condition.

psiphi75 commented 8 years ago

Good point. I have updated the code, tested it and resubmitted it.

adityapatadia commented 8 years ago

Can you please also edit readme file to let users know about this functionality?

psiphi75 commented 8 years ago

Done. I have edited the wiki under Load/Unload cape. I also updated the Readme, but not related to this change.

adityapatadia commented 8 years ago

DO you use octalbonescript in production? If yes, please give me feedback about how it performs and if there is any need for usability improvements.

psiphi75 commented 8 years ago

Hi Aditya,

I don't use it yet, but I intend to. Here is the project I have used it for. It's only a prototype: https://www.hackster.io/anemoi/lean-green-rc-sailing-machine-2cdde5

But I hope to productionise it. One issue I have had is with i2c, but I can't remember the exact issue.

Regards, Simon

On 4 April 2016 at 16:11, Aditya Patadia notifications@github.com wrote:

DO you use octalbonescript in production? If yes, please give me feedback about how it performs and if there is any need for usability improvements.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/theoctal/octalbonescript/pull/60#issuecomment-205129759