Reader small image

You're reading from  Arduino for Kids

Product typeBook
Published inMar 2017
PublisherPackt
ISBN-139781785884818
Edition1st Edition
Tools
Concepts
Right arrow
Authors (2):
Rishi Gaurav Bhatnagar
Rishi Gaurav Bhatnagar
author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

Vijay Varada
Vijay Varada
author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada

View More author details
Right arrow

Coding the microcontroller - the process


Introduction

I am assuming that we already have the Arduino Software installed and setup in our computers. If you haven't yet, refer back to Chapter 2, Systems and Logic, and you will be able to find out how to do that.

Note

We can always refer to https://www.arduino.cc/en/Guide/HomePage for more help.

Now comes the part where you will understand why this chapter is called The Magic Wand. Remember how I told you about a process you must follow for any problem statement you might have faced? Don't remember? That's okay, head back to the last chapter and have a quick look at it again.

Let's understand more about the skeleton (or the structure) of code we should follow when we write Arduino code.

Remember how I keep talking about having a process? The process or method that you follow while writing code for Arduino is by identifying two things:

  • The part of the code you want to run just once

  • The part of the code you want to keep running

Let's take an example....

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Arduino for Kids
Published in: Mar 2017Publisher: PacktISBN-13: 9781785884818

Authors (2)

author image
Rishi Gaurav Bhatnagar

Rishi Gaurav Bhatnagar is a creative technologist who likes to work at the intersection of design and technology. He is an Intel software innovator, Arduino maker fellow, a volunteer at Random Hacks Of Kindness, also Campus Diaries 25 under 25- Science & Tech. When he is not tinkering with technology and storytelling, he spends time building new modules for students that help fuel their curiosity and build their innovation muscle.
Read more about Rishi Gaurav Bhatnagar

author image
Vijay Varada

Vijay Varada is an artist, engineer, and entrepreneur whose motto is, create positive change in the world through art, design and technology for sustainable and exponential development and progress. He is the CEO, and cofounder of Fracktal Works, which is engaged with design and research in the field of additive manufacturing, rapid prototyping, and product design with its line of desktop and industrial 3D printers aimed at using the technology to empower the abilities of students, engineers, designers, and industries. Vijay actively contributes to open source hardware projects, particularly assistive technologies for the blind.
Read more about Vijay Varada