# Navigation using Directions

Build a Device that can be used to navigate using the compass feature and the arrows (either the  pre-build microbit  arrows or design your own)

![](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lt04SggbPMSkR8BTzLZ%2F-Lt04ZcDTjobAfDsVnTl%2Fimage.png?alt=media\&token=c2af0384-e548-4d75-95f0-965fce3f5c03)

### Basic Guide Lines

* [ ] Pick one of the 4 main directions (N  S  E  W)
* [ ] Design a Program that will  detect if the micro:bit is NOT  traveling in your chose direction
  * [ ] What will you show if you are ON course&#x20;

    * [ ] If your current compass reading = the direction you picked

  * [ ] What will happen if you are OFF course?
    * [ ] Alert Captain?
    * [ ] Notify direction they are currently traveling
    * [ ] Use arrows to show which way to turn the boat to head in the correct direction
    * [ ] Notify Captain when back on  course

![https://www.nmeaboater.com/content/blog/blog](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lsx0Zz_KAfcQZwOWUVL%2F-Lsx0bFMeDPNH5lA5tLL%2Fimage.png?alt=media\&token=371d14a0-788b-4e7e-adba-91a01767b8af)

#### Extensions: pick some of these or make your own

Add the ability to for the user to select a navigational setting before the trip begins

Add the ability for the captain to "set" a direction setting by moving the microbit before the trip begins

Add the 8 point direction functions

Modify the ranges so that you are not going "relatively north" but are following a specific degree marker


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://computational-thinking-in-room11.gitbook.io/room-112-dhs/software-development/compass/navigation-using-directions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
