I'm quite a fan of fortran and I was wondering if there were any libraries to control the GPIO pins in a raspberry pi with it. I find python to be quite slow so I think it is the best option for making it fast.


Turns out there is in fact a very simple library called fortran-gpio for exactly that.

Another option is to access GPIO pins through device files, see here for details.

| improve this answer | |
  • $\begingroup$ Thanks! That was exactly what I was looking for! $\endgroup$ – david david May 20 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.