# HelloMainLoop no longer working

**URL:** <https://discourse.farm-ng.com/t/hellomainloop-no-longer-working/198>\
**Category:** general\
**Created:** [May 18, 2023, 9:36pm UTC](https://discourse.farm-ng.com/t/hellomainloop-no-longer-working/198 "2023-05-18T21:36:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tristen2001](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/tristen2001/32/50_2.png) [@Tristen2001](https://discourse.farm-ng.com/u/Tristen2001)\
**Post date:** [May 18, 2023, 9:36pm UTC](https://discourse.farm-ng.com/t/hellomainloop-no-longer-working/198/1 "2023-05-18T21:36:35Z")

</div>

Hello,

I have had the HelloMainLoop example working just fine but recently another one of my classmates said they had a phone call with the farm-ng development team and had the Amiga updated. Now that the Amiga is updated there is a visible change to the UI and my HelloMainLoop is no longer working. I used to be able to set up Putty and get the speed rate and angular speed rates to show up and it would prompt me to press space to set the amiga into active mode. As of now, when I load Putty it tells me that the CAN bus is receiving but it no longer allows me to change the robot into active mode.

---

<div class="post-metadata">

**Author:** ![kylecoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kylecoble/32/12_2.png) [@kylecoble](https://discourse.farm-ng.com/u/kylecoble)\
**Post date:** [May 22, 2023, 2:43pm UTC](https://discourse.farm-ng.com/t/hellomainloop-no-longer-working/198/2 "2023-05-22T14:43:21Z")

</div>

Hello @Tristen2001,

Can you please confirm that you have `v0.1.9` installed on your dashboard (settings \> id page) ? Additionally, can you confirm that you have the latest version of the examples installed?

- [amiga-dev-kit/circuitpy/lib at main · farm-ng/amiga-dev-kit · GitHub](https://github.com/farm-ng/amiga-dev-kit/tree/main/circuitpy/lib)
- [amiga-dev-kit/code.py at main · farm-ng/amiga-dev-kit · GitHub](https://github.com/farm-ng/amiga-dev-kit/blob/main/circuitpy/examples/hello_main_loop/code.py)

I just tested on dashboard version `v0.1.9` with the latest `lib/` and `hello_main_loop` from the `main` branch of `amiga-dev-kit` installed on the feather, and saw the expected behavior. After setting the dashboard into `AUTO READY` on the auto page, I am able to toggle into `AUTO ACTIVE` with the spacebar and use `WASD` keys for driving the Amiga.

The spacebar for toggling from `AUTO READY` into `AUTO ACTIVE` does not respond every time because of the USB CDC console (this is just a dummy example for showing how to read / send the can packets for Amiga control), but works within a few tries. If you’d like to skip the spacebar part, you can just hardcode `self.request_state = AmigaControlState.STATE_AUTO_ACTIVE` in the constructor and comment out the toggle in `parse_wasd_cmd` and in `_handle_amiga_tpdo1`. This should set the amiga immediately into `AUTO ACTIVE` anytime auto control is enabled.

Let me know how it goes / if you need help accessing the latest versions.

– Kyle
