Fixed formatting
This commit is contained in:
parent
e2bac7efde
commit
a8136b6a8a
@ -8,31 +8,31 @@
|
|||||||
- `cd firmware && git submodule update --init`
|
- `cd firmware && git submodule update --init`
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
###### Custom Boot Logo
|
#### Custom Boot Logo
|
||||||
- Use [XMB Viewer](https://windows87.github.io/xbm-viewer-converter/) to convert an image to XMB
|
- Use [XMB Viewer](https://windows87.github.io/xbm-viewer-converter/) to convert an image to XMB
|
||||||
|
|
||||||
- The data from this goes in `firmware/src/graphics/img/icon.xbm`
|
- The data from this goes in `firmware/src/graphics/img/icon.xbm`
|
||||||
|
|
||||||
You can use the provided [icon.xbm](../assets/icon.xbm) for a rad GTA:SA fist to show up on boot.
|
You can use the provided [icon.xbm](../assets/icon.xbm) for a rad GTA:SA fist to show up on boot.
|
||||||
|
|
||||||
###### Custom boot message
|
#### Custom boot message
|
||||||
- Navigate to `firmware/src/graphics/Screen.cpp`
|
- Navigate to `firmware/src/graphics/Screen.cpp`
|
||||||
|
|
||||||
- Find & replace `const char *title = "meshtastic.org";` with your custom message.
|
- Find & replace `const char *title = "meshtastic.org";` with your custom message.
|
||||||
|
|
||||||
###### Custom screen color
|
#### Custom screen color
|
||||||
- Navigate to `src/graphics/TFTDisplay.cpp`
|
- Navigate to `src/graphics/TFTDisplay.cpp`
|
||||||
|
|
||||||
- Find & replace `#define TFT_MESH COLOR565(0xFF, 0x00, 0x00)` with your custom color. *(The one shown here is for RED mode >:))*
|
- Find & replace `#define TFT_MESH COLOR565(0xFF, 0x00, 0x00)` with your custom color. *(The one shown here is for RED mode >:))*
|
||||||
|
|
||||||
###### Custom alert sound (for T-Deck & devices with a buzzer)
|
### Custom alert sound (for devices with a buzzer)
|
||||||
- From the mobile app, click the 3 dots on the top right, and select `Radio configuration`
|
- From the mobile app, click the 3 dots on the top right, and select `Radio configuration`
|
||||||
- Under `Module configuration`, select `External Notification`
|
- Under `Module configuration`, select `External Notification`
|
||||||
- Scroll down & you will see a `Ringtone` option that takes [RTTTL](https://en.wikipedia.org/wiki/Ring_Tone_Text_Transfer_Language) formatted tones.
|
- Scroll down & you will see a `Ringtone` option that takes [RTTTL](https://en.wikipedia.org/wiki/Ring_Tone_Text_Transfer_Language) formatted tones.
|
||||||
|
|
||||||
As far as I know, at the time of writing this, the only way to change the Ringtone is from the App. While this is not a "firmware" related thing, I included it in this file because it was difficult to find this setting...
|
As far as I know, at the time of writing this, the only way to change the Ringtone is from the App. While this is not a "firmware" related thing, I included it in this file because it was difficult to find this setting...
|
||||||
|
|
||||||
###### Display RAM/PSRAM Usage
|
#### Display RAM/PSRAM Usage
|
||||||
Look for these lines:
|
Look for these lines:
|
||||||
```cpp
|
```cpp
|
||||||
display->drawString(x, y + FONT_HEIGHT_SMALL * 2, "SSID: " + String(wifiName));
|
display->drawString(x, y + FONT_HEIGHT_SMALL * 2, "SSID: " + String(wifiName));
|
||||||
@ -55,7 +55,7 @@ uint32_t usedPsram = totalPsram - freePsram;
|
|||||||
display->drawString(x, y + FONT_HEIGHT_SMALL * 5, "PSRAM: " + String(usedPsram / 1024) + "/" + String(totalPsram / 1024) + " KB");
|
display->drawString(x, y + FONT_HEIGHT_SMALL * 5, "PSRAM: " + String(usedPsram / 1024) + "/" + String(totalPsram / 1024) + " KB");
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Heartbeat for redraw
|
#### Heartbeat for redraw
|
||||||
- Uncomment the line that says: `#define SHOW_REDRAWS`
|
- Uncomment the line that says: `#define SHOW_REDRAWS`
|
||||||
|
|
||||||
This will show a little 1x1 pixel on the top left corner anytime the screen is redraw.
|
This will show a little 1x1 pixel on the top left corner anytime the screen is redraw.
|
||||||
|
Loading…
Reference in New Issue
Block a user