Go to advanced search

by AiyaPK
Mon Sep 16, 2019 8:09 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 501

Re: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....

I too thought I had run it before since on that thread it mentioned that sudo apt update/upgrade should cover that... I had run this multiple times for my pi3 I had only recently acquired this pi4 but in my excitement completely forgot to update and dove right into gpio tutorials haha my bad my bad....
by AiyaPK
Mon Sep 16, 2019 5:53 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 501

Re: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....

I got it!!!! I have everything working now. I came across this thread while looking into pi4 specific problems with the gpio: https://www.raspberrypi.org/forums/viewtopic.php?t=244375 All this time I had thought it was my bad wiring and so I didn't realize this was a pi4 specific issue that needed a...
by AiyaPK
Mon Sep 16, 2019 2:54 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 501

Re: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....

ok so I went back and tested my buttons and wiring with the multimeter. Continuity is there where I would expect it and the button seems to function normally. So the twist is that my code and the buttons seem to work fine on my pi3B+.... but on the pi4 (which is what I've been using initially for th...
by AiyaPK
Sun Sep 15, 2019 10:33 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 501

Re: can't get super simple gpio button tutorial to work

@dougie Yes I should probably do a while True loop just for ease of reading. I figured without the loop I should've at least expected the correct response at least once. But I totally should use the loop anyway. @neilgl Could you clarify on the 'dodgy' aspect? I have zero experience with circuits an...
by AiyaPK
Sun Sep 15, 2019 6:45 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 501

gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....

trying to get this stupid simple circuit to output the readings I'm expecting..... import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) buttonA=23 buttonB=24 GPIO.setup(buttonA,GPIO.IN,pull_up_down=GPIO.PUD_UP) GPIO.setup(buttonB,GPIO.IN,pull_up_down=GPIO.PUD_DOWN) print (GPIO.input(buttonA)) print (GPIO....
by AiyaPK
Fri Sep 13, 2019 12:28 am
Forum: Beginners
Topic: What is purpose of powering a breadboard's power rail but not used
Replies: 6
Views: 371

What is purpose of powering a breadboard's power rail but not used

This must be something really simple, but alas, I'm a beginner haha.... Anyway, I've seen on some diagrams (ie the one I attached) where the red power rail is being powered by the 5V GPIO port on the pi, and yet none of the components actually make use of that power. Is this some kind of standard pr...

Go to advanced search