We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dad98d commit ccc57eeCopy full SHA for ccc57ee
libraries/Wire/TinyWireM.cpp
@@ -59,7 +59,7 @@ size_t TinyM_USI_TWI::write(uint8_t data){ // buffers up data to send
59
}
60
61
uint8_t TinyM_USI_TWI::endTransmission() {
62
- endTransmission(1);
+ return endTransmission(1);
63
64
65
uint8_t TinyM_USI_TWI::endTransmission(uint8_t stop){ // actually sends the buffer
libraries/Wire/TinyWireM.h
@@ -83,6 +83,8 @@ class TinyM_USI_TWI
83
84
extern TinyM_USI_TWI Wire;
85
86
+typedef TinyM_USI_TWI TwoWire;
87
+
88
#endif
89
90
#endif //attiny85
variants/tiny8/pins_arduino.h
@@ -47,6 +47,7 @@
47
#define NUM_DIGITAL_PINS 3
48
#define NUM_ANALOG_INPUTS 1
49
#define LED_BUILTIN 1
50
+#define SPI_INTERFACES_COUNT 0
51
52
#define PIN_A0 (6)
53
#define PIN_A1 (7)
0 commit comments