We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80bfa47 commit 0425224Copy full SHA for 0425224
libraries/Wire/examples/slave_receiver/slave_receiver.ino
@@ -28,6 +28,8 @@ void loop()
28
// this function is registered as an event, see setup()
29
void receiveEvent(int howMany)
30
{
31
+ (void)howMany; // avoid compiler warning about unused parameter
32
+
33
while(1 < Wire.available()) // loop through all but the last
34
35
char c = Wire.read(); // receive byte as a character
0 commit comments