jarjonam 5 years ago
parent
commit
274b136748
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pi/ADUCv2p1.py

+ 1 - 1
pi/ADUCv2p1.py

@@ -72,7 +72,7 @@ class ADUCv2p1:
         set_Vout(0, V)
         set_Vout(0, V)
 
 
     def get_offset(self):
     def get_offset(self):
-        return get_Vout(0)
+        return self.get_Vout(0)
 
 
     # sets the value of the coarse output voltage when the box is in learn mode
     # sets the value of the coarse output voltage when the box is in learn mode
     def set_Vlearn(self,V):
     def set_Vlearn(self,V):