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
59
59
}
60
60
61
61
uint8_t TinyM_USI_TWI::endTransmission () {
62
- endTransmission (1 );
62
+ return endTransmission (1 );
63
63
}
64
64
65
65
uint8_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
83
83
84
84
extern TinyM_USI_TWI Wire;
85
85
86
+ typedef TinyM_USI_TWI TwoWire;
87
+
86
88
#endif
87
89
88
90
#endif // attiny85
Original file line number Diff line number Diff line change 47
47
#define NUM_DIGITAL_PINS 3
48
48
#define NUM_ANALOG_INPUTS 1
49
49
#define LED_BUILTIN 1
50
+ #define SPI_INTERFACES_COUNT 0
50
51
51
52
#define PIN_A0 (6)
52
53
#define PIN_A1 (7)
You can’t perform that action at this time.
0 commit comments