Rust-sysfs-gpio crate

Using the rust-sysfs-gpio crate, is this also compatible with Ardunio?

If you able to run Linux on Arduino (:grinning:) then yes.

I don't think Linux runs on Arduino, it doesn't even have an OS.

That's not correct. Arduino (in this context) is a library, and you can write a library that has the same API for any system: PiDuino Library

However, sysfs does the same kind of abstraction as the Arduino library (just in a very different way), so it doesn't make sense to use both at the same time.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.