Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Pi4J Examples not working on Pi 3 #243

Closed
hankp46 opened this issue Jun 11, 2016 · 2 comments
Closed

Pi4J Examples not working on Pi 3 #243

hankp46 opened this issue Jun 11, 2016 · 2 comments

Comments

@hankp46
Copy link

hankp46 commented Jun 11, 2016

I've tried both the listener and control example and neither have worked on the Pi3. I know my button is working properly since I tested it in another experiment. The only thing I changed is the pin to 26. Both compiled and run (printout) but no response from button or blinking led. I'm a novice on Java but think I followed all instructions. Now at standstill. Any suggestions?

@savageautomate
Copy link
Member

I just tested both "Control" and "Listen" examples using Pin #26 on my RPi3B with the latest 1.1-SNAPSHOT and it seems to be working.

Often the pin numbering is a source of confusion. When you say pin 26, make sure you are referring to the Pi4J pin numbering scheme pin 26 (header pin #32) as shown here: http://pi4j.com/pins/model-2b-rev1.html

@hankp46
Copy link
Author

hankp46 commented Jun 12, 2016

Thanks, after posting saw your note about pins and got everything working

Hank Poletto
[email protected]

On Jun 12, 2016, at 6:43 AM, Robert Savage [email protected] wrote:

I just tested both "Control" and "Listen" examples using Pin #26 on my RPi3B with the latest 1.1-SNAPSHOT and it seems to be working.

Often the pin numbering is a source of confusion. When you say pin 26, make sure you are referring to the Pi4J pin numbering scheme pin 26 (header pin #32) as shown here: http://pi4j.com/pins/model-2b-rev1.html


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants