theoctal / octalbonescript

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

developing off-board with simulator #73

Closed troywweber7 closed 6 years ago

troywweber7 commented 7 years ago

Octalbonescript claims to have a simulation mode (although it appears to only work on linux and not Mac or Windows). I thought maybe this would make it easy to develop for the beaglebone off-board but I cannot find documentation ANYWHERE on how to enable the simulator.

Will I have to write my own object that "mocks" the functions provided by octalbonescript for when I am developing off the beaglebone?

adityapatadia commented 7 years ago

You run it on Mac or Linux on unsupported hardware (i.e. Macbook or Laptop) and it will automatically switch to simulator mode.

troywweber7 commented 7 years ago

@adityapatadia What does switching to simulator mode entail then? When I try to run an octalbonescript command on Linux, it throws errors which leads me to believe the simulator is not working.

troywweber7 commented 7 years ago

@adityapatadia it throws this error: The pin P8_03 is not availble to write. Please make sure it is not used by another cape.

adityapatadia commented 6 years ago

This library is abandoned. Please check notice in README for further information.