contrived protocol by cperivol

This sketch is missing a short description
This is a sketch that implements the "contrived protocol". The contrived protocol only understands one kind of message which is a single byte, namely 0xff. When the device receives the 0xff message it must respond with a message 0xff. Incoming messages don't have any header's or footers. Outgoing messages must end with 0x00 byte. So basically the only transaction that can happen is: Host: 0xff Dev: 0xff 0x00

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:328716" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>