-
-
Notifications
You must be signed in to change notification settings - Fork 172
GPIO access #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah, that's a good idea. |
Alternatively you can create a backend with flask or django and call with dio in flutter to execute gpio commands using python. Is tested and working |
That's kinda overkill but yeah, sounds like that should be working. I found a package that does exactly what you want: https://pub.dev/packages/rpi_gpio Only works for Raspberry Pi though, while flutter-pi (despite its name) works on much more embedded devices. EDIT: Seems like it's also not that easy to use, since it requires you to compile a shared library on the Pi. |
Here’s another vote for GPIO access (unless dart:ffi gets working soon) |
Yeah actually I started work on GPIO access using |
So, how did you solve this challenge? Write a flutter plugin for GPIO? |
I didn't (yet). |
GPIO (more precisely, |
Just published it. |
dart:ffi seems to be working with hardfp by now, according to dart-lang/sdk@a71d60c @ardera Any chance you could share your FFI based plugin for reference? |
Nice! Keep in mind though that this feature is only available to flutter once the next stable version of the dart SDK (2.8) is released. I'll consider migrating the
Sure. The code is reaally ugly, very far from finished and doesn't look like the code of the |
Test environment
Thank you :) |
Can we have GPIO access of some sort with this implementation ?? Just asking
The text was updated successfully, but these errors were encountered: