File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 3939class  MCP3004 (MCP3xxx ):
4040
4141    """ 
42-     MCP3004 Diff. Channel Mapping. 
42+     MCP3004 Differential channel mapping. 
43+         - 0: CH0 = IN+, CH1 = IN- 
44+         - 1: CH1 = IN+, CH0 = IN- 
45+         - 2: CH2 = IN+, CH3 = IN- 
46+         - 3: CH3 = IN+, CH2 = IN- 
4347    """ 
4448    MCP3004_DIFF_PINS  =  {
4549        (0 , 1 ) : P0 ,
Original file line number Diff line number Diff line change 4343class  MCP3008 (MCP3xxx ):
4444
4545    """ 
46-     MCP3008 Diff. Channel Mapping. 
46+     MCP3008 Differential channel mapping. 
47+         - 0: CH0 = IN+, CH1 = IN- 
48+         - 1: CH1 = IN+, CH0 = IN- 
49+         - 2: CH2 = IN+, CH3 = IN- 
50+         - 3: CH3 = IN+, CH2 = IN- 
51+         - 4: CH4 = IN+, CH5 = IN- 
52+         - 5: CH5 = IN+, CH4 = IN- 
53+         - 6: CH6 = IN+, CH7 = IN- 
54+         - 7: CH7 = IN+, CH6 = IN- 
4755    """ 
4856    MCP3008_DIFF_PINS  =  {
4957        (0 , 1 ) : P0 ,
@@ -53,5 +61,5 @@ class MCP3008(MCP3xxx):
5361        (4 , 5 ) : P4 ,
5462        (5 , 4 ) : P5 ,
5563        (6 , 7 ) : P6 ,
56-         (6 , 6 ) : P7 
64+         (7 , 6 ) : P7 
5765    }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments