test
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test [2026/06/03 14:23] – [Encoders] ursgraf | test [2026/06/03 15:14] (current) – [Mouse] ursgraf | ||
|---|---|---|---|
| Line 72: | Line 72: | ||
| The blue led should light up on pin GPIO3_2 with | The blue led should light up on pin GPIO3_2 with | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioset -c gpiochip2 | + | ost@bblue:$ sudo gpioset -c gpiochip2 |
| </ | </ | ||
| Do the same with the red led on pin GPIO1_17 | Do the same with the red led on pin GPIO1_17 | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioset -c gpiochip0 | + | ost@bblue:$ sudo gpioset -c gpiochip0 |
| </ | </ | ||
| And the green led on pin GPIO3_20 | And the green led on pin GPIO3_20 | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioset -c gpiochip2 | + | ost@bblue:$ sudo gpioset -c gpiochip2 |
| </ | </ | ||
| Read the state of the blue button with | Read the state of the blue button with | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioget -c gpiochip2 | + | ost@bblue:$ sudo gpioget -c gpiochip2 |
| </ | </ | ||
| When the button is pressed it will return //" | When the button is pressed it will return //" | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioget -c gpiochip0 | + | ost@bblue:$ sudo gpioget -c gpiochip0 |
| </ | </ | ||
| And the green button | And the green button | ||
| < | < | ||
| - | ost@bblue:$ sudo gpioget -c gpiochip2 | + | ost@bblue:$ sudo gpioget -c gpiochip2 |
| </ | </ | ||
| Line 101: | Line 101: | ||
| < | < | ||
| - | sudo cat /dev/input/event1 | + | sudo cat /dev/input/event0 |
| </ | </ | ||
| If you move the mouse you should see some characters on the screen. This shows that the mouse inputs are received by the BBBlue. | If you move the mouse you should see some characters on the screen. This shows that the mouse inputs are received by the BBBlue. | ||
| + | |||
| ===== Adjust Hardware Configuration File ===== | ===== Adjust Hardware Configuration File ===== | ||
| - | Check the direction of the encoders. Lower your TCP and run | + | Check the direction of the encoders. Lower your TCP and run watch your encoder values.When raising the TCP the encoder values should be positive. Change each negative encoder in the // |
| - | < | + | |
| - | ost@bblue:$ rc_test_encoders | + | |
| - | </ | + | |
| - | on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the // | + | |
| < | < | ||
| " | " | ||
test.1780489394.txt.gz · Last modified: by ursgraf
