ev3dev-lang-rust icon indicating copy to clipboard operation
ev3dev-lang-rust copied to clipboard

BrickPi

Open smessmer opened this issue 4 years ago • 2 comments

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?

smessmer avatar Jan 16 '21 08:01 smessmer

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.

pixix4 avatar Jan 18 '21 13:01 pixix4

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.

smessmer avatar Jan 18 '21 17:01 smessmer

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"] }

pixix4 avatar Aug 13 '23 15:08 pixix4