-
Notifications
You must be signed in to change notification settings - Fork 446
wiringPiSetup*: You must only call this once per program run. This is a fatal error. Please fix your code. #278
Comments
I have solved this issue commenting line 51 of com.pi4j.component.lcd.impl.GpioLcdDisplay |
Yes this seems to work , after removing the line 51 I included the code of the file in my own package named Core and rather than using GpioLcdDisplay simply use Core.LCDLib and the code runs smoothy.
|
Re-opening because this still needs to get fixed in the project. |
Any update on this? |
Any update? |
New 1.2-SNAPSHOT build published with this fix. |
Hi savageautomate. Seems not fixed when it is wanted to set BROADCOM_PIN_NUMBERING AND uses LCD. I got the same message Snippet :
What do you suggest ? |
Whenver LCD is used along with any other GPIO instance the error wiringPiSetup: You must only call this once per program run. This is a fatal error. Please fix your code.* is thrown and the program exits.
Even the LCD Example Program doesn't run.
The text was updated successfully, but these errors were encountered: