Commit 343d3df9 authored by Philip Hozier's avatar Philip Hozier
Browse files

wk13 image name update

parent d466b5a9
Pipeline #228878 passed with stages
in 14 seconds
......@@ -426,10 +426,12 @@ The main part of the programming would be to find out how to send and receive si
Wire.write(myMessage); // send bytes
Wire.endTransmission(); // stop transmission
- Receive
Wire.onReceive(recieveEvent); // register event
- Receive
Wire.onReceive(receiveEvent); // register event
/// in a function
void receiveEvent(int howMany) {
int x = Wire.read(); // receive byte as an integer
// do something
}
---
## What I should’ve done
---
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment