Keyboard controls with both hubs for Technic Liebherr 9800 excavator!! #569
KassIsLegend
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i have figured out a simple way of getting both hubs to work on the excavator, Basically you want the latest stable version of pybricks, go to pybricks code, click the cog wheel, and down at the bottom under "App" click "Install as app" hopefully it makes a desktop shortcut, open pybricks code in chrome(only browser i use really, not sure if this will work on other browsers) and open it in the app version, load one hub script on browser side, load one on app side at any point a blue box pops up asking you to delete and refresh, do not, ignore it or just close the box, once you have each script loaded on each platform, turn on both hubs that(hopefully) have the firmware already installed by this point on each hub, now at this point it may be a bit of trial and error, on the pybricks code you loaded the upper hub one on, connect the hub per usual on that side, when you go to click "Pair" there should be two hubs, each showing its address now, if you connect the wrong hub no biggie, just click the bluetooth button and select a different hub, try to memorize which hub addres is which hub, itll make it easier to pair the right hub to the right pybricks platform(on browser or app) Again making sure to avoid clicking "delete and refresh" on the blue box that may pop up several times during setup and or operation, once you know you have both hubs connected to the corrects sides(Browser and app) simply press play on each pybricks, and imput your keys in the terminal below, easy as tabbing back and forth!
Again, this is really basic, the motors will not auto stop, and control is pretty analouge but it does work, to stop any motor simply press any key that is not bound to a motor like space or 5 on the numpad
heres the zip for both py scripts, Enjoy!
Leibherr.zip
Beta Was this translation helpful? Give feedback.
All reactions