C Programming for Arduino Learn how to program and use Arduino boards with a series of engaging examples, illustrating each core concept Julien Bayle BIRMINGHAM - MUMBAI C Programming for Arduino Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: May 2013 Production Reference: 1070513 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-758-4 www.packtpub.com Cover Image by Asher Wishkerman (
[email protected]) Credits Author Julien Bayle Copy Editors Laxmi Subramanian Sajeev Raghavan Reviewers Darwin Grosse Pradumn Joshi Phillip Mayhew Glenn D. Reuther Steve Spence Insiya Morbiwala Brandt D'mello Aditya Nair Alfida Paiva Project Coordinator Leena Purkait Acquisition Editor Edward Gordon Erol Staveley Proofreaders Claire Cresswell-Lane Martin Diver Lead Technical Editor Susmita Panda Indexer Tejal R. Soni Technical Editors Worrell Lewis Varun Pius Rodrigues Graphics Ronak Dhruv Lubna Shaikh Sharvari Baet Production Coordinator Pooja Chiplunkar Cover Work Pooja Chiplunkar About the Author Julien Bayle completed his Master's degree in Biology and Computer Sciences in 2000. After several years working with pure IT system design, he founded Design the Media in early 2010 in order to provide his own courses, training, and tools for art fields. As a digital artist, he has designed some huge new media art installations, such as the permanent exhibition of La Maison des Cinématographies de la Méditerranée (Château de l