In this tutorial we will be extending the mini Float tutorial to control it with a Joystick. Before starting this exercise you will need to complete the Mini Float tutorial as well as the Joystick Tutorial.
For this tutorial you will need an additional:
- Wifi/Bluetooth Block
- Power Station Block
- In addition to the blocks you already have connected for the Mini Float, connect up a separate stack with an Breadboard, Wifi and Power Station Block. You should have 6 blocks connected to your Kitsunei Creator.
2. Insert a Breadboard and Car Controller Block. Connect the Breadboard to the Car Controller Block.
3. In the Breadboard Logic Maker, create the Logic below and hit apply.
Now, as you move the joystick, your lady-bug in this instance will move in that direction. Depending on your timeout period, your left and right movements might be aggressive. If you require more accurate direction movement, check out our Timeout tutorial explain how to improvement turning within the Motor Driver settings.
Move the Joystick to see your Lady-bug or mini float move!