Programming Arduino Getting Started with Sketches

Copertina anteriore
McGraw Hill Professional, 8 nov 2011 - 176 pagine
Program Arduino with ease!

Using clear, easy-to-follow examples, Programming Arduino: Getting Started with Sketches reveals the software side of Arduino and explains how to write well-crafted sketches using the modified C language of Arduino. No prior programming experience is required! The downloadable sample programs featured in the book can be used as-is or modified to suit your purposes.

  • Understand Arduino hardware fundamentals
  • Install the software, power it up, and upload your first sketch
  • Learn C language basics
  • Write functions in Arduino sketches
  • Structure data using arrays and strings
  • Use Arduino's digital and analog inputs and outputs in your programs
  • Work with the Standard Arduino Library
  • Write sketches that can store data
  • Program LCD displays
  • Use an Ethernet shield to enable Arduino to function as a web server
  • Write your own Arduino libraries

In December 2011, Arduino 1.0 was released. This changed a few things that have caused two of the sketches in this book to break. The change that has caused trouble is that the classes 'Server' and 'Client' have been renamed to 'EthernetServer' and 'EthernetClient' respectively. To fix this:

  • Edit sketches 10-01 and 10-02 to replace all occurrences of the word 'Server' with 'EthernetServer' and all occurrences of 'Client' with 'EthernetClient'.
  • Alternatively, you can download the modified sketches for 10-01 and 10-02 from here: http://www.arduinobook.com/arduino-1-0

Make Great Stuff!
TAB, an imprint of McGraw-Hill Professional, is a leading publisher of DIY technology books for makers, hackers, and electronics hobbyists.

Dall'interno del libro

Sommario

1 This is Arduino
1
2 Getting Started
15
3 C Language Basics
27
Copyright

9 sezioni non visualizzate

Altre edizioni - Visualizza tutto

Parole e frasi comuni

Informazioni sull'autore (2011)

Dr. Simon Monk has a degree in Cybernetics and Computer Science and a PhD in Software Engineering. He spent several years as an academic before he returned to industry, co-founding the mobile software company Momote Ltd. He has been an active electronics hobbyist since his early teens and is an occasional author in hobby electronics magazines. Simon is also author of "30 Arduino Projects for the Evil Genius" and "15 Dangerously Mad Projects for the Evil Genius."

Informazioni bibliografiche