Giter Site home page Giter Site logo

Comments (2)

ErniW avatar ErniW commented on June 10, 2024

Thanks,

Yes, it was considered and definitely should be put in backlog. There are few things to consider:

  • I could pack the existing involt-basic sketch into a library but there are users who (for example) add additional pins to involtReceive function or other things there. I don't know how to handle these changes within library for end-user.
  • It makes sense if I make more sketches for future communication methods. It will be easier to maintain.
  • Does the existing sketch has readability issues? At current version, there is no need of adding additional step to make Involt work. (downloading and installing library).
  • Finally, it would be great if Involt as library would be put directly into Arduino IDE/library manager without external download. How to achieve that?

from involt.

gschora avatar gschora commented on June 10, 2024

The main reason for me to have a library is to remove code from the main file.

  • I'm not a really good programmer, but you could do all the setup in the constructor. Maybe an approach like in the library serialcommand where you define the functions on different commands in the setup funktion would work. If I have time I will look into it.
  • You can write different definitions for different plattforms, e.g. when you use an esp it automatically knows to not use serial but http-requests.
  • No, the sketch is easy to read.
  • I found this link, where they describe how to make a library for the manager: https://github.com/arduino/Arduino/wiki/Library-Manager-FAQ

from involt.

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.