Skip to content

Commit 066720b

Browse files
committed
expand Daisy OLED docs
1 parent 9b69a1b commit 066720b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/generators/daisy_json.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Some boards like the [Patch](https://github.com/Wasted-Audio/hvcc/blob/develop/h
143143
An empty `"display": {}` section triggers inclusion via the default configuration. However by itself it doesn't do anything. You can add several optional settings to use the oled.
144144

145145
- `driver` - Which oled driver to use.
146+
- `config` - Additional [OLED configuration](https://github.com/electro-smith/libDaisy/blob/master/src/dev/oled_ssd130x.h#L30-L35) options as a dictionary.
147+
- `dim` - Specific OLED dimensions (defaults to `[128, 64]`)
146148
- `process` - Inline C++ code for the `Display()` function.
147149
- `process_file` - External C++ file with `Display()` function. This overrides the inline code.
148150
- `params` - List of `@hv_param` sends meant for display. These can be float values and available in the code prepended with `f`, like `fcustom1` for instance.

0 commit comments

Comments
 (0)