Different GPIO configurations simultaneously
I wanted to ask. I have been trying to use WiringPi and Pi4j libraries in a multithread application. But every time I try to run both I get the following error:
wiringPiSetup*: You must only call this once per program run. This is a fatal error. Please fix your code.
Thanks for you help!
- Posts: 1
- Joined: Mon Jul 17, 2017 7:04 am
From the error message I would say you are trying to run wiringPiSetup more than once in your program.
But as we cant see your program cant be sure, its always best to post your code when asking for help with error messages relating to it. please use code tags when posting code.
Remember we want information.......................no information no help
- Posts: 1278
- Joined: Fri May 31, 2013 9:28 pm
- Location: Mansfield UK