flutter_gpiod 0.4.0-nullsafety copy "flutter_gpiod: ^0.4.0-nullsafety" to clipboard
flutter_gpiod: ^0.4.0-nullsafety copied to clipboard

outdated

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.4.0-nullsafety] #

  • migrate to null-safety
  • migrate to FFI 1.0
  • use new bindings generator
  • try finding pinctrl-bcm2711 and fallback to pinctrl-bcm2835 if not present in the examples
  • add timestamp and timestampNanos properties in SignalEvent since the kernel no-longer provides realtime timestamps for signal events by default.
  • use DateTime.now in event listener isolate for measuring the wall-clock time of a signal event.
  • change documentation inside SignalEvent

[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.
30
likes
0
pub points
77%
popularity

Publisher

verified publisherardera.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

License

unknown (LICENSE)

Dependencies

ffi, meta, path, tuple

More

Packages that depend on flutter_gpiod