> For the complete documentation index, see [llms.txt](https://campus-rover.gitbook.io/lab-notebook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://campus-rover.gitbook.io/lab-notebook/fiiva/lab-robots/minirover/mrtroubleshooting.md).

# mrtroubleshooting.md

**Author: Pito Salas**

## Gemeral

* An excellent and very detailed [troubleshooting guide for the Raspberry Pi](https://elinux.org/R-Pi_Troubleshooting)

## LED on the Red Board

* Blinking green is the “starting up” indication.
* Solid green is the “ready” indication.\*
* Solid yellow is the “low battery” caution indication.
* Solid red is the “low battery” warning.
* Blinking red is the “shutting down” indication.
* Blinking purple is (AFAIK) the “I don’t know what is going on” indication, but I could be wrong.

But, note that all of these indications are only valid when using a Dexter Industries / Modular Robotics operating system. (i.e. Raspbian for Robots, GoPiGo OS, or Dexter OS). It will continue to blink green when using any other O/S. The Minirover configuration is Ubuntu! Also see: <https://www.dexterindustries.com/GoPiGo/get-started-with-the-gopigo3-raspberry-pi-robot/2-connect-to-the-gopigo-3/>

## Python default

To Change the default python on ubuntu (assuming you want it to be python3.4)

`sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 1`

## Check whether spi is working on the pi

```pythons
>>> import spidev
>>> spi = spidev.SpiDev()
>>> spi.open(0,1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
PermissionError: [Errno 13] Permission denied
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://campus-rover.gitbook.io/lab-notebook/fiiva/lab-robots/minirover/mrtroubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
