Skip to content

Commit 486f4fc

Browse files
[gp8403] Add gp8413 (15 bits) DAC model (#4415)
* Add docs * Fix typo * Update gp8403.md * Update content/components/output/gp8403.md * Update content/components/output/gp8403.md --------- Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
1 parent 89cb7d2 commit 486f4fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/components/output/gp8403.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ params:
77
image: gp8403.svg
88
---
99

10-
The `gp8403` is a 2-channel DAC output module. It requires an {{< docref "/components/i2c" >}} to be setup.
10+
The ``gp8403`` (12-bit) and ``gp8413`` (15-bit) are 2-channel DAC output modules respectively. They
11+
require an {{< docref "/components/i2c" >}} to be setup.
1112

1213
## Component/Hub
1314

1415
```yaml
1516
gp8403:
1617
id: my_gp8403
1718
voltage: 5V
19+
model: GP8403
1820
```
1921
2022
Configuration variables:
2123
2224
- **id** (*Optional*, [ID](#config-id)): Manually specify the ID used for code generation.
2325
- **voltage** (**Required**, voltage): The output voltage range of the DAC. Must be one of `5V` or `10V`.
26+
- **model** (*Optional*, enum): GP8403 for the 12 bit model and GP8413 for the 15 bit model. Defaults to GP8403.
2427

2528
## Output
2629

@@ -41,7 +44,6 @@ Configuration variables:
4144
- **id** (*Optional*, [ID](#config-id)): Manually specify the ID used for code generation.
4245
- **gp8403_id** (*Optional*, [ID](#config-id)): The ID of the GP8403 component.
4346
Defaults to the only GP8403 component if there is only one.
44-
4547
- **channel** (**Required**, int): The channel of the GP8403 to use. Must be `0` or `1`.
4648
- All other options from [Base Output Configuration](#config-output).
4749

0 commit comments

Comments
 (0)