Changeset 4 for digitalmultimeter


Ignore:
Timestamp:
Mar 31, 2008 3:09:29 PM (17 years ago)
Author:
retracile
Message:

Bugfix: reference self.serialport instead of the global.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • digitalmultimeter/trunk/digitalmultimeter.py

    r2 r4  
    179179
    180180    def readline(self):
    181         data = [ord(x) for x in serialport.read(9)]
     181        data = [ord(x) for x in self.serialport.read(9)]
    182182        timestamp = time.time()
    183183
Note: See TracChangeset for help on using the changeset viewer.