DAC# (8-bit): IOType=34,35
DAC# (8-bit), 2 Command Bytes: | |
0 | IOType=34,35 |
1 | Value |
0 Response Bytes: | |
|
|
This IOType controls a single analog output.
Value: 0=Minimum, 255=Maximum.
Example
PY
# 8-bit DAC Feedback command for DAC0
import u3
d = u3.U3()
d.debug = True
d.getFeedback(u3.DAC0_8(Value = 0x33))
# Sent: [0x50, 0xf8, 0x2, 0x0, 0x55, 0x0, 0x0, 0x22, 0x33, 0x0]
# Response: [0xfa, 0xf8, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]
# [None]