We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1834f11 commit 3090e42Copy full SHA for 3090e42
examples/simpletest.py
@@ -1,5 +1,6 @@
1
# Simple demo of setting the DAC value up and down through its entire range
2
# of values.
3
+# Author: Tony DiCola
4
import board
5
import busio
6
@@ -11,6 +12,8 @@
11
12
13
# Initialize MCP4725.
14
dac = adafruit_mcp4725.MCP4725(i2c)
15
+# Optionally you can specify a different addres if you override the A0 pin.
16
+#amp = adafruit_max9744.MAX9744(i2c, address=0x63)
17
18
# There are a three ways to set the DAC output, you can use any of these:
19
dac.value = 65535 # Use the value property with a 16-bit number just like
0 commit comments