This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:c4eng:fall2024:projects:ptb0 [2024/10/12 19:43] – [GPIO MODE SETTING] skephart | notes:c4eng:fall2024:projects:ptb0 [2024/10/12 19:43] (current) – [GPIO MODE SETTING] skephart | ||
---|---|---|---|
Line 5: | Line 5: | ||
====GPIO MODE SETTING==== | ====GPIO MODE SETTING==== | ||
- | In order to allow for the LED that is connected to the circuit to be turned on and off through the code of the program we need to change the mode of the pin that the LED is connected through, to output. We do this through the line of code " | + | In order to allow for the LED that is connected to the circuit to be turned on and off through the code of the program we need to change the mode of the pin that the LED is connected through, to output. We do this through the line of code " |
====GPIO COMMAND-LINE TESTING==== | ====GPIO COMMAND-LINE TESTING==== | ||
====wiringPi: | ====wiringPi: |