Skip to content

Commit 9760246

Browse files
committed
fixed typo
1 parent ce168e3 commit 9760246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ Usage Example
6767
mcp4728.channel_a.value = 65535 # Voltage = VDD
6868
mcp4728.channel_b.value = int(65535/2) # VDD/2
6969
mcp4728.channel_c.value = int(65535/4) # VDD/4
70-
71-
mcp4728.channel_d.value = int(65535/4) # Vref.INTERNAL/4 * 2 => 2.048/4 * 2 = 2.048/2 = ~ 1.024V
70+
mcp4728.channel_d.value = 0 # 0V
7271
7372
7473
mcp4728.save_settings() # save the current values to the eeprom,making them the default on power up
7574
75+
7676
Contributing
7777
============
7878

0 commit comments

Comments
 (0)