flutter_gpiod 0.3.1
flutter_gpiod: ^0.3.1 copied to clipboard

Dart package for accessing GPIO using the GPIO character device interface on linux / Android (root required). Supports signal edge listening, active state, open source/drain and (if supported by platf

0.3.1 #

  • fix docs for GpioChip.label

0.3.0 #

  • GpioLine.onEvent is now a broadcast (not single subscription) stream
  • example was updated to include some gotchas with this single subscription stream
  • fix a bug with closing event lines

0.2.0 #

  • switch to using FFI
  • libgpiod is no longer required, the interface accesses the GPIO character devices directly using ioctls
  • a lot of stuff has been made synchronous
  • add a sub-project for generating the FFI bindings ("bindings_generator")
  • update the examples for the new API
  • fix some documentation
  • tested on ARM32, should work on other 32-bit and 64-bit linux platforms as well (untested though)

0.1.0+3 #

  • Removed link in pubspec.yaml because it wasn't working.

0.1.0+2 #

  • Format sources
  • Better description in pubspec.yaml

0.1.0+1 #

  • Fix README.md

0.1.0 #

  • Initial release.
13
likes
80
pub points
62%
popularity

Publisher

ardera.dev

Dart package for accessing GPIO using the GPIO character device interface on linux / Android (root required). Supports signal edge listening, active state, open source/drain and (if supported by platform) bias.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, meta, path, tuple

More

Packages that depend on flutter_gpiod