User Tools

Site Tools


test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test [2026/06/03 14:27] – [LEDs and buttons] ursgraftest [2026/06/03 15:14] (current) – [Mouse] ursgraf
Line 84: Line 84:
 Read the state of the blue button with Read the state of the blue button with
 <code> <code>
-ost@bblue:$ sudo gpioget -c gpiochip2 1+ost@bblue:$ sudo gpioget -c gpiochip2 GPIO3_1
 </code> </code>
 When the button is pressed it will return //"1"=active//, //"1"=inactive// otherwise. Do the same with the red button When the button is pressed it will return //"1"=active//, //"1"=inactive// otherwise. Do the same with the red button
 <code> <code>
-ost@bblue:$ sudo gpioget -c gpiochip0 25+ost@bblue:$ sudo gpioget -c gpiochip0 GPIO1_25
 </code> </code>
 And the green button And the green button
 <code> <code>
-ost@bblue:$ sudo gpioget -c gpiochip2 17+ost@bblue:$ sudo gpioget -c gpiochip2 GPIO3_17
 </code> </code>
  
Line 101: Line 101:
  
 <code> <code>
-sudo cat /dev/input/event1+sudo cat /dev/input/event0
 </code> </code>
  
 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 //HwConfigBBBlue.json// from
-<code> +
-ost@bblue:$ rc_test_encoders  +
-</code> +
-on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the //HwConfigBBBlue.json// from+
 <code> <code>
 "scale": [ { "id" : "gear", "scale": [ { "id" : "gear",
test.1780489654.txt.gz · Last modified: by ursgraf