Giter Club home page Giter Club logo

Comments (8)

dcroote avatar dcroote commented on May 28, 2024

This is from the README.md. So like is this crate using gpiozero as the backend or is rust_gpiozero a complete rewrite and it uses its own thing?

This rust crate is inspired by the python GPIOZero package. It's only dependency is rppal for peripheral access.

Does this crate support all the devices as gpiozero supports?

A number of common devices are currently supported, but not everything. Have a look at the examples directory for some ideas.

Also is this project still continuing?

Yes.

from rust_gpiozero.

Raj2032 avatar Raj2032 commented on May 28, 2024

is this using embedded-hal by any chance?

from rust_gpiozero.

dcroote avatar dcroote commented on May 28, 2024

is this using embedded-hal by any chance?

Not currently, though support for it is a planned feature: https://github.com/rahul-thakoor/rust_gpiozero#features

from rust_gpiozero.

Raj2032 avatar Raj2032 commented on May 28, 2024

@dcroote By bringing in embedded-hal, what benefit does it bring to gpio-zero?

from rust_gpiozero.

dcroote avatar dcroote commented on May 28, 2024

The Embedded Rust Book chapter on Portability provides a nice overview and arguments for it.

from rust_gpiozero.

Raj2032 avatar Raj2032 commented on May 28, 2024

@dcroote This wouldn't affect the api/syntax of rust_gpiozero?

from rust_gpiozero.

dcroote avatar dcroote commented on May 28, 2024

Possibly, but without having spent more time assessing how it could be supported I cannot say either way.

from rust_gpiozero.

Raj2032 avatar Raj2032 commented on May 28, 2024

@dcroote Ah right mate.

But if embedded-hal was supported, then would it also be able to support Arduino as mentioned over here

from rust_gpiozero.

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.