|
DAC# (16-bit), 3 Command Bytes: |
|
|
0 |
IOType=38,39 |
|
1 |
ValueLSB |
|
2 |
ValueMSB |
|
0 Response Bytes: |
|
|
|
|
This IOType controls a single analog output.
-
Value: 0=Minimum, 65535=Maximum.
Example
Python
# 16-bit DAC Feedback command
import u3
d = u3.U3()
d.debug = True
d.getFeedback(u3.DAC16(Dac = 0, Value = 0x5566))
# Sent: [0xdc, 0xf8, 0x2, 0x0, 0xe1, 0x0, 0x0, 0x26, 0x66, 0x55]
# Response: [0xfa, 0xf8, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]
# [None]