Commit aff8614d authored by Martin Deinhofer's avatar Martin Deinhofer
Browse files

updated testing of add-on board by using C example code

parent a5592340
......@@ -42,22 +42,33 @@ Additionally, you will need a keyboard and a mouse for initial setup.
1. [Download and install](https://www.raspberrypi.org/documentation/installation/) image to SD card.
2. Assemble HW
1. Wifi
2. Attach Control&Display add-on board
2. Attach add-on board
3. HDMI
4. Power
5. Keyboard
3. Boot locally+display+keyboard+mouse
4. Test add-on board
PiFace uses the SPI bus of the Raspberry Pi, which is disabled by default, so you must enable it. Enable SPI and test your add-on board with Python:
1. [Install PiFace Digital I/O](http://www.piface.org.uk/guides/Install_PiFace_Software/)
1. [Install PiFace C&D](http://www.piface.org.uk/guides/setting_up_pifacecad/fitting_PiFace_Control_and_Display/)
PiFace uses the SPI bus of the Raspberry Pi, which is disabled by default, so you must enable it. Enable SPI and test your add-on board using example.c of the respective libpifacecad or libpifacedigital repository:
1. Clone and make libmcp23s17
```
git clone https://github.com/piface/libmcp23s17.git
make
```
2. Clone and make libpifacecad (use libpifacedigital in case of Digital IO board)
```
git clone git clone https://github.com/piface/libpifacecad.git
make example
./example
```
5. Install and test Java Development Kit
```
sudo apt-get update && sudo apt-get install openjdk-11-jdk
javac -version
```
7. Install C-compiler
6. Configure [Remote Access](https://www.raspberrypi.org/documentation/remote-access/)
1. Enable SSH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment