Skip to content

Commit dc95aa4

Browse files
committed
Updated smart-sensor-display README.md
1 parent fd30bc8 commit dc95aa4

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

examples/smart-sensor-display/README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ Smart multi-sensor device with display. HomeGenie Mini UI example application.
1111
Besides the default system options and the *smart-sensor* options detailed in the `../smart-sensor/README.md` file,
1212
the `smart-sensor-display` firmware offers the following additional configuration settings:
1313

14-
| Key | Description | Default |
15-
|-------------|----------------------------------------------------------|----------|
16-
| `disp-typ` | Display driver ("GC9A01", "ST7789", "ST7796" or "AUTO") | "GC9A01" |
17-
| `disp-sclk` | DISPLAY_SCLK | |
18-
| `disp-mosi` | DISPLAY_MOSI | |
19-
| `disp-miso` | DISPLAY_MISO | |
20-
| `disp-dc` | DISPLAY_DC | |
21-
| `disp-cs` | DISPLAY_CS | |
22-
| `disp-rst` | DISPLAY_RST | |
23-
| `disp-bl` | DISPLAY_BL (backlight) | |
24-
| `dstch-prt` | TOUCH_PORT | |
25-
| `dstch-adr` | TOUCH_ADDRESS | |
26-
| `dstch-sda` | TOUCH_SDA | |
27-
| `dstch-scl` | TOUCH_SCL | |
28-
| `dstch-rst` | TOUCH_RST | |
29-
| `dstch-int` | TOUCH_INTERRUPT | |
30-
| `imus-typ` | Inertial Measurement Unit type ("QMI8658") | |
31-
| `imus-sda` | IMU SDA | |
32-
| `imus-scl` | IMU SCL | |
14+
| Key | Description | Default |
15+
|-------------|-------------------------------------------------|---------|
16+
| `disp-typ` | Display driver (GC9A01, ST7789, ST7796 or AUTO) | |
17+
| `disp-sclk` | DISPLAY_SCLK | |
18+
| `disp-mosi` | DISPLAY_MOSI | |
19+
| `disp-miso` | DISPLAY_MISO | |
20+
| `disp-dc` | DISPLAY_DC | |
21+
| `disp-cs` | DISPLAY_CS | |
22+
| `disp-rst` | DISPLAY_RST | |
23+
| `disp-bl` | DISPLAY_BL (backlight) | |
24+
| `dstch-prt` | TOUCH_PORT | |
25+
| `dstch-adr` | TOUCH_ADDRESS | |
26+
| `dstch-sda` | TOUCH_SDA | |
27+
| `dstch-scl` | TOUCH_SCL | |
28+
| `dstch-rst` | TOUCH_RST | |
29+
| `dstch-int` | TOUCH_INTERRUPT | |
30+
| `imus-typ` | Inertial Measurement Unit type (QMI8658) | |
31+
| `imus-sda` | IMU SDA | |
32+
| `imus-scl` | IMU SCL | |
3333

3434
For default GPIO# values used by the display driver see `ui/drivers/RoundDisplay.h` and
3535
`ui/drivers/StandardDisplay.h` files.
@@ -57,22 +57,22 @@ or other options where applicable.
5757

5858
To configure the title of an activity:
5959

60-
| Key | Description | Default |
61-
|----------------------|------------------------------------|-------------------|
62-
| `title-<address>` | Displayed title/name | "&lt;address&gt;" |
60+
| Key | Description | Default |
61+
|----------------------|------------------------------------|-----------------|
62+
| `title-<address>` | Displayed title/name | &lt;address&gt; |
6363

6464
Where `<address>` is the address assigned to the associated Activity module
6565
(e.g. `D1`, `M1`, `V1`...).
6666
These values can also be easily configured using the *HomeGenie Panel* app.
6767

6868
Options available for `CameraDisplayActivity` configuration:
6969

70-
| Key | Description | Default |
71-
|----------------------|------------------------------------|-----------------------|
72-
| `title-<address>` | Displayed title/name | "&lt;address&gt;" |
73-
| `rcam-<address>` | Remote camera JPEG images feed URL | |
74-
| `rcam-res-<address>` | Camera resolution (1 to 17) | "3" remote, "5" local |
75-
| `rcam-qlt-<address>` | Camera resolution (10 to 63) | "10" |
70+
| Key | Description | Default |
71+
|----------------------|------------------------------------|-------------------|
72+
| `title-<address>` | Displayed title/name | &lt;address&gt; |
73+
| `rcam-<address>` | Remote camera JPEG images feed URL | |
74+
| `rcam-res-<address>` | Camera resolution (1 to 17) | 3 remote, 5 local |
75+
| `rcam-qlt-<address>` | Camera resolution (10 to 63) | 10 |
7676

7777

7878
## Manual build and install

src/data/Module.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ namespace Data {
110110
}
111111
private:
112112
LinkedList<UpdateListener*> updateListeners;
113-
String getFormattedDate() {
113+
static String getFormattedDate() {
114114
return Net::TimeClient::getNTPClient().getFormattedDate();
115115
}
116116
String configKey = "";

0 commit comments

Comments
 (0)