-
Notifications
You must be signed in to change notification settings - Fork 44
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
Simulate GPIO #3
Comments
HI @madc This addons can be compiled under the ARM architecture, if you want to compile this addons on own PC with different architecture must create a cross compiling environment. Look here to cross compile openFrameworks guides: the speech create a GPIO simulator looks really interesting, I thank you for the inspiration, just am free from work study the issue in depth. I keep you updated. good day |
Thanks for the links, I'm already familiar with them, but have a somewhat unusual setup (Arch Linux ARM on the PI for example) and try to avoid cross-compiling for now. I just stumbled across CppGPIO, which seems to work quite well and also has the possibility to simulate GPIOs. Have a look. In my app, i use it like this:
|
Thank you @madc for this cue, I thought of it a small graphical interface with the two versions of GPIO [A / B] and [A + / B + / 2 / 3] with the ability to enable and disable I/O pin with a click... and still a little hazy.. all I keep you updated. if you have other suggestions I'm here to listen!!! good day |
It might be interesting to the management of protocols such as: I2C and SPI, for the simulator.... for i2c you can think of something like this: |
Правда всё для с++ https://yadi.sk/i/QdtruzHL3P8HYw Библиотека для ЛСД дисплея |
I'm currently developing an application using this addon and it an the RPI it works fine. But as soon, as I add the addon, I can't compile my app on my notebook (Arch) anymore, which makes sense, as it has no GPIO pins..
I didn't dig to deep into your code yet, but would it make sense to simulate the pins, if not available?
I was thinking similar to this solution for the python implementation.
Not sure, if it really makes sense, just throwing the idea out there.
The text was updated successfully, but these errors were encountered: