summaryrefslogtreecommitdiff
path: root/py/modcmath.c
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-06-07 20:37:44 +0200
committerDamien George <damien@micropython.org>2022-10-06 22:55:10 +1100
commitf5da77b5ce66a393984fe8f71627f93e95c39edc (patch)
tree8273a6273ed5c3abac098efaac37a1179158e99c /py/modcmath.c
parentaa2d746ef4ef64cbf8093b22facabca2c495be1f (diff)
samd/machine_dac: Add the machine.DAC class.
It suuports 1 channel @ 10 bit for SAMD21, 2 channels @ 12 bit for SAMD51. Instantiation by: dac = machine.DAC(ch) # 0 or 1 Method write: dac.write(value) The output voltage range is 0..Vdd.
Diffstat (limited to 'py/modcmath.c')
0 files changed, 0 insertions, 0 deletions