File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ size_t TinyM_USI_TWI::write(uint8_t data){ // buffers up data to send
5959}
6060
6161uint8_t  TinyM_USI_TWI::endTransmission () {
62-   endTransmission (1 );
62+   return   endTransmission (1 );
6363}
6464
6565uint8_t  TinyM_USI_TWI::endTransmission (uint8_t  stop){ //  actually sends the buffer
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ class TinyM_USI_TWI
8383
8484extern  TinyM_USI_TWI Wire;
8585
86+ typedef  TinyM_USI_TWI TwoWire;
87+ 
8688#endif 
8789
8890#endif  // attiny85
Original file line number Diff line number Diff line change 4747#define  NUM_DIGITAL_PINS             3
4848#define  NUM_ANALOG_INPUTS            1
4949#define  LED_BUILTIN  1
50+ #define  SPI_INTERFACES_COUNT  0
5051
5152#define  PIN_A0                (6)
5253#define  PIN_A1                (7)
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments