![]() Could it be that you have the cable between the pi and the breadboard inverted? The side of the cable with the red pin goes FURTHEST away from the USB and ethernet connectors. Worst case you've already blown up that GPIO output of the pi with some earlier experiment.Īnother theory. For example, SCLK (Pin23) is the clock signal for SPI channel0. Some of these names indicate the function of the pin. Pin names: Last but not least, the Raspberry Pi developers have the pins name given. This eliminates possible errors with you interacting with the python, and verifies the hardware. In the later projects and Programs, you always have the choice between the pin number and the BCM number. Now, on my pi the led would be off, as the output value is low, but What do these numbers mean BCM - Broadcom pin number, commonly called GPIO, these are the ones you probably want to use with RPi.GPIO and GPIO Zero. I just did that for you on my pi and I see: Gpio mode 0 OUT and verify that something changed by using gpio readall again. However, depending on the programming library we use. That should give you an overview of what is currently configured.Īs bcm pin 17 is listed as wiring pi pin number zero, I would then test: We can choose to follow either the Board or BCM numbering system. NEITHER uses the pin number on the connector.Ĭan you try "sudo apt-get install wiringpi" and then "gpio readall". As far as I know there are two numbering schemes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |