Giter Club home page Giter Club logo

Comments (2)

tino avatar tino commented on July 20, 2024

Hmm, I am not sure I understand the implications completely. I am assuming that the script on pastebin runs on your Android. The android.Android class connects to the bluetooth module, and sends and receives data from it, as well that it provides methods to update the Android's screen, right? So you would need a wrapper around it that can replace the currently used serial.Serial class.

I have these components nor the time to try this out, but if you find a way let me know, and I'll see if I can incorporate it sensibly without breaking other stuff. I would suggest that you subclass Board and alter it's __init__ method to instantiate with that wrapper around the android.Android class. It should implement read, write, inWaiting and close methods and a port property in the same fashion the current serial class does this. That should be all that is necessary.

from pyfirmata.

cefn avatar cefn commented on July 20, 2024

Brilliant. Won't be for a few weeks I think, but it's worth having a go at this as soon as I get a chance.

from pyfirmata.

Related Issues (20)

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.