From b5a130afb51c971fd7ceca8834b6055f1eada253 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 6 Jul 2015 15:18:33 +0200 Subject: Examples: mass code format. See example_formatter.conf --- libraries/Wire/examples/master_writer/master_writer.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libraries/Wire/examples/master_writer') diff --git a/libraries/Wire/examples/master_writer/master_writer.ino b/libraries/Wire/examples/master_writer/master_writer.ino index 9933cc2..5cbea11 100644 --- a/libraries/Wire/examples/master_writer/master_writer.ino +++ b/libraries/Wire/examples/master_writer/master_writer.ino @@ -12,15 +12,13 @@ #include -void setup() -{ +void setup() { Wire.begin(); // join i2c bus (address optional for master) } byte x = 0; -void loop() -{ +void loop() { Wire.beginTransmission(8); // transmit to device #8 Wire.write("x is "); // sends five bytes Wire.write(x); // sends one byte -- cgit v1.2.3-18-g5258