Coder Social home page Coder Social logo

rgb-tcs34725's People

Contributors

frijol avatar johnnyman727 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rgb-tcs34725's Issues

Should document or depend on "tessel"

As I was looking for a JS implementation of those many Python scripts I came across this code.

Unfortuanetely I cannot figure out what the first line of code requires -- "tessel".
The tessel.io website also did not give me such a module.

The description in the readme doesn"t say it is hardware-specific. But my RPi Zero with Johnny-Five and Raspi-io doesn't wirk with this code.

To adapt this code I's like to find a pointer to "require tessel" so I can figure out an adaptation.

Please point me to the required module.

Should show T2 wiring

Here are some pictures.
I'm making this issue so that I can easily upload them to github.

20150719_152306
20150719_152137
20150719_152150

Not working on Tessel 2: Maximum call stack size exceeded

This may be a T2 bug, but I think not. Running any of the examples in the folder, I get

➜  rgb-tcs34725 git:(master) ✗ t2 run examples/lux.js
INFO Connecting to Tessel...
INFO Connected to Kelsey over LAN
INFO Writing examples/lux.js to RAM on Kelsey (175.616 kB)...
INFO Deployed.
INFO Running examples/lux.js...

:0


RangeError: Maximum call stack size exceeded

If I put a console.log in the first line of the call back from self.getRawData in the index file, it gives me some successful calls and then errors:

➜  rgb-tcs34725 git:(master) ✗ t2 run examples/lux.js
INFO Connecting to Tessel...
INFO Connected to Kelsey over LAN
INFO Writing examples/lux.js to RAM on Kelsey (175.616 kB)...
INFO Deployed.
INFO Running examples/lux.js...
getRawData
LUX: 19409.320960000005
getRawData
LUX: 19138.839040000006
getRawData
LUX: 19542.901760000008
getRawData
LUX: 19138.839040000006
getRawData
LUX: 19138.839040000006
getRawData
LUX: 19221.952000000005
getRawData
LUX: 19138.839040000006
getRawData
LUX: 19138.839040000006
getRawData
LUX: 19138.839040000006

:0


RangeError: Maximum call stack size exceeded

Seems like the module code depends on something running more slowly, perhaps?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.