pixix4 / ev3dev-lang-rust

Rust language bindings for http://ev3dev.org
MIT License
73 stars 14 forks source link

BrickPi #11

Closed smessmer closed 1 year ago

smessmer commented 3 years ago

Thanks for this great library. The README mentions that this doesn't work with BrickPi. What's the reason it doesn't work and are you planning to add support?

pixix4 commented 3 years ago

The BrickPi uses other conventions for port naming (see ev3.py vs brick.py). Since I don't own a BrickPi, I can't test if a possible BrickPi compatible version works or not. If you have the possibility to test such an implementation, I can implement this in a new test branch.

smessmer commented 3 years ago

Ok makes sense. Thanks :) I don't have a BrickPi yet but was thinking about buying one. I'll let you know if I do.

pixix4 commented 1 year ago

Experimental support for BrickPI is now implemented. Since I could not test all functions, errors may occur. It can be enabled with:

[dependencies]
ev3dev_lang_rust = { version="0.13.0" default-features=false, features=["brickpi"] }