Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 19050

GPIO stands for General Purpose Input Output and can be used to receive and send digital signals to and from simple electronics from the Raspberry Pi.

3
votes
1answer
). This causes my relays to cycle every time. public State(double onTime, double offTime, String name, GpioController gpio, int pinNum) { this.onTime = onTime; this.offTime = offTime …
asked Jul 16 '14 by brian
1
vote
Just for an update, I've tried looking through the source and it goes to a native call and I got lazy. The whole reason to use pi4j is my aversion to C. There's another problem in that you can reall …
answered Aug 4 '14 by brian
1
vote
I get the same problem but only when I shutdown and restart the program right away. I put a one second delay before getting the gpio instance. You can check for null and try again as needed, but it … hasn't failed since. // create gpio controller log("trying to get gpio controller... "); Thread.sleep(1000); final GpioController gpio = GpioFactory.getInstance(); if (gpio
answered Jul 16 '14 by brian