test
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test [2026/05/20 08:47] – [LEDs and buttons] ursgraf | test [2026/05/20 11:35] (current) – ursgraf | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ==== Encoders ==== | ==== Encoders ==== | ||
| - | ssh into the BeagleBone blue board and enable | + | Enable |
| < | < | ||
| ost@bblue:$ echo 1 | sudo tee / | ost@bblue:$ echo 1 | sudo tee / | ||
| - | ost@bblue:$ echo 1 | sudo tee / | + | ost@bblue:$ echo 1 | sudo tee / |
| - | ost@bblue:$ echo 1 | sudo tee / | + | ost@bblue:$ echo 1 | sudo tee / |
| </ | </ | ||
| The counter0 does not have to be enabled. Then watch the counters with | The counter0 does not have to be enabled. Then watch the counters with | ||
| Line 27: | Line 27: | ||
| </ | </ | ||
| If you move the axis you should see counter values changing. | If you move the axis you should see counter values changing. | ||
| + | |||
| ==== LEDs and buttons ==== | ==== LEDs and buttons ==== | ||
| Next we want to check if all leds and buttons work as desired. | Next we want to check if all leds and buttons work as desired. | ||
| - | The blue led should light up with | + | The blue led should light up on pin GPIO3_2 |
| < | < | ||
| ost@bblue:$ sudo gpioset -c gpiochip2 2=1 | ost@bblue:$ sudo gpioset -c gpiochip2 2=1 | ||
| </ | </ | ||
| - | Do the same with the red led | + | Do the same with the red led on pin GPIO1_17 |
| < | < | ||
| ost@bblue:$ sudo gpioset -c gpiochip0 17=1 | ost@bblue:$ sudo gpioset -c gpiochip0 17=1 | ||
| </ | </ | ||
| - | And the green led | + | And the green led on pin GPIO3_20 |
| < | < | ||
| ost@bblue:$ sudo gpioset -c gpiochip2 20=1 | ost@bblue:$ sudo gpioset -c gpiochip2 20=1 | ||
test.1779259652.txt.gz · Last modified: by ursgraf
