Add bash tag to all non-code blocks to ensure tests pass

This commit is contained in:
mycognosist 2020-05-15 11:55:07 +01:00
parent 3abf997896
commit 5546056513
9 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@ Additional configuration is required for Debian Buster ARM64 before I²C devices
Run an I²C scan to verify that the module is correctly wired to the Pi:
```
```bash
sudo apt-get install python-smbus i2c-tools
sudo modprobe i2c-dev
sudo i2cdetect -y 1
@ -20,7 +20,7 @@ The device tree must be patched in order to set the clock frequency for I²C dev
Copy `/boot/firmware/bcm2837-rpi-3-b.dtb` from the Pi microSD card to a computer running Linux. Run the following commands:
```
```bash
sudo apt-get install device-tree-compiler
cd /place/where/dtb/file/was/pasted
dtc -I dtb -O dts > bcm2837-rpi-3-b.dts
@ -38,7 +38,7 @@ Copy the resulting `dtb` onto the Pi microSD card and overwrite `/boot/firmware/
Finally, run the following commands to complete the process:
```
```bash
sudo modprobe i2c-bcm2835
su
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
@ -54,7 +54,7 @@ A device tree overlay is required to activate the internal pull-up resistors on
Begin by downloading the device tree overlay file: `mygpio.dtbo` (TODO: add download link...maybe add the file to one of the repos). Then run the following commands to apply the overlay:
```
```bash
sudo mkdir /boot/firmware/overlays
sudo cp mygpio.dtbo /boot/firmware/overlays/
```

View File

@ -14,7 +14,7 @@ Any button or joystick direction can be pressed to wake the display after select
### Menu Structure
```
```bash
.
├── Networking
│   └── MODE
@ -23,7 +23,7 @@ Any button or joystick direction can be pressed to wake the display after select
│   └── IP
│   └── SIGNAL
│   └── Configuration
│   ── Client Mode
│   ── Client Mode
│   └── Access Point Mode
├── System Stats
│   └── CPU

View File

@ -12,7 +12,7 @@ _Note: This module is relatively stable but is still a work-in-progress._
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml
@ -26,7 +26,7 @@ _Note: This module is relatively stable but is still a work-in-progress._
### Pin to Button to Button Code Mappings
```
```bash
4 => Center => 0,
27 => Left => 1,
23 => Right => 2,

View File

@ -10,7 +10,7 @@ _Note: This module is a work-in-progress._
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml
@ -30,7 +30,7 @@ _Note: This module is a work-in-progress._
### Button Code Mappings
```
```bash
0 => Center,
1 => Left,
2 => Right,
@ -42,7 +42,7 @@ _Note: This module is a work-in-progress._
### States
```
```bash
Home(0), // home menu
Home(1), // networking selected
Home(2), // system stats selected

View File

@ -41,7 +41,7 @@ _Note: This module is a work-in-progress._
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml

View File

@ -27,7 +27,7 @@ OLED microservice module for PeachCloud. Write to a 128x64 OLED display with SDD
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml

View File

@ -19,7 +19,7 @@ System statistics microservice module for PeachCloud. Provides a JSON-RPC wrappe
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml

View File

@ -14,7 +14,7 @@ _Note: This is a work-in-progress._
### Directory Tree
```
```bash
.
├── css
│   ├── css_class_names // list of all custom class names

View File

@ -12,7 +12,7 @@ HTML is rendered server-side. Request handlers call JSON-RPC microservices and s
### Directory Tree
```
```bash
.
├── Cargo.lock
├── Cargo.toml