GithubHelp home page GithubHelp logo

t2-serial's Introduction

t2-serial

Directly opens a terminal into Tessel 2's serial port shell (over USB). Works on Windows, macOS, and Linux.

npm install -g t2-serial

then:

$ t2-serial
INFO Connecting to Tessel...
Please press Enter to activate this console.


BusyBox v1.23.2 (2016-09-02 15:27:43 EDT) built-in shell (ash)

Tessel 2  /  Built on OpenWrt
root@Tessel-02A34C9AB2FE:/# echo hi
hi
root@Tessel-02A34C9AB2FE:/#

License

MIT or Apache-2.0, at your option.

t2-serial's People

Contributors

soapdog avatar tcr avatar

Watchers

 avatar

Forkers

soapdog

t2-serial's Issues

Error: %1 is not a valid Win32 application. - when trying to execute on Win10

I just tried on Windows10

c:\techEd2016>npm install -g t2-serial
\
> [email protected] install C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial\
node_modules\usb
> node-pre-gyp install --fallback-to-build

[usb] Success: "C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial\node
_modules\usb\build\bindings\usb_bindings.node" is installed via remote
C:\Users\student\AppData\Roaming\npm\t2-serial -> C:\Users\student\AppData\Roami
ng\npm\node_modules\t2-serial\index.js
[email protected] C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial
└── [email protected] ([email protected], [email protected])

c:\techEd2016>t2-serial
C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial\node_modules\usb\nod
e_modules\bindings\bindings.js:83
        throw e
        ^

Error: %1 is not a valid Win32 application.
\\?\C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial\node_modules\usb
\out\Release\usb_bindings.node
    at Error (native)
    at Object.Module._extensions..node (module.js:434:18)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at bindings (C:\Users\student\AppData\Roaming\npm\node_modules\t2-serial\nod
e_modules\usb\node_modules\bindings\bindings.js:76:44)
    at Object.<anonymous> (C:\Users\student\AppData\Roaming\npm\node_modules\t2-
serial\node_modules\usb\usb.js:1:119)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

c:\techEd2016>ver
Microsoft Windows [Version 6.3.9600]

c:\techEd2016>node -v
v4.6.0

c:\techEd2016>npm -v
2.15.9

c:\techEd2016>t2 version
INFO Looking for your Tessel...
INFO Connected to station5.
INFO Tessel [station5] CLI version: 0.0.29
INFO Tessel [station5] Firmware version: 0.0.15
INFO Tessel [station5] Node version: 4.5.0

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.