> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/educational-kit-sets/micro-bit-inventor-education-kit/micro-bit-inventor-kit-instructions/nightlight.md).

# Nightlight

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/nightlight.png)

### Building Instructions

[Building Instructions](https://drive.google.com/drive/folders/1wg_edUZFrqyUONA0FJ6vFBkGArRsfnf4?usp=sharing)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/nightlight_wire.png)

### Sample Program

{% embed url="<https://makecode.microbit.org/_D9X8tiDfF99a>" %}

[Sample Program](https://makecode.microbit.org/_D9X8tiDfF99a)

### Instructions

When movement is detected, the night light turns on for a period so that the person would not trip and fall over.
