Describe the bug
|
DFRobot_GP8XXX_IIC GP8413(RESOLUTION_12_BIT, 0x59, &Wire); |
DFRobot_GP8XXX_IIC GP8413(RESOLUTION_12_BIT, 0x59, &Wire);
⇒
DFRobot_GP8XXX_IIC GP8413(RESOLUTION_15_BIT, 0x59, &Wire);
It's 15-bit, not 12-bit.
To reproduce
12-bit is 4096
32767 is 15-bit
Expected behavior
Even at 3300, 10V is output.
Screenshots
No response
Environment
- OS:
- IDE &IDE Version:
- Repository Version:
Additional context
No response
Issue checklist
Describe the bug
M5StickC/examples/Unit/DAC2_GP8413/DAC2_GP8413.ino
Line 21 in 8b05d82
DFRobot_GP8XXX_IIC GP8413(RESOLUTION_12_BIT, 0x59, &Wire);
⇒
DFRobot_GP8XXX_IIC GP8413(RESOLUTION_15_BIT, 0x59, &Wire);
It's 15-bit, not 12-bit.
To reproduce
12-bit is 4096
32767 is 15-bit
Expected behavior
Even at 3300, 10V is output.
Screenshots
No response
Environment
Additional context
No response
Issue checklist