Reader small image

You're reading from  The Ultimate Guide to Informed Wearable Technology

Product typeBook
Published inOct 2022
PublisherPackt
ISBN-139781803230597
Edition1st Edition
Right arrow
Author (1)
Christine Farion
Christine Farion
author image
Christine Farion

Christine Farion is a Post Graduate Lecturer at The Glasgow School of Art for MDes Inn and Interaction Design. A PhD in Smart objects in the domain of Forgetfulness, Christine has been involved in teaching computing, programming, electronics, and prototyping for over 15 years. Previously she created interactive installations internationally, and did research and support for a visual impairment charity. Her interests are memory, accessibility, and physical computing. Currently researching and creating wearable technologies, her focus is on the way we experience our environment and interact with others. This involves interaction to improve quality of life, interpersonal communication, and community well-being.
Read more about Christine Farion

Right arrow

The Arduino IDE

We’ve used the Arduino IDE for a couple of projects, so the interface should be familiar to you. In this section, I want to cover a few basics of programming and the interface.

This section is for beginners so that they feel more comfortable with using Arduino. If you are a seasoned programmer, you may want to jump ahead to hooking up the Gemma M0 board.

Let’s take a brief tour of a few of the terms and what they are:

  • Functions
  • Variables
  • Other tips/syntax

We’ll start by looking at functions, which we covered briefly earlier in this book.

Functions

Functions are important for segmenting code into modular pieces. These perform a defined task and then return to where that code was called from. It’s useful if there are a series of steps that we want to repeat. An example is the digitalWrite() function, which we can use to write a HIGH or LOW value to a digital pin. We can write our own functions, but digitalWrite...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The Ultimate Guide to Informed Wearable Technology
Published in: Oct 2022Publisher: PacktISBN-13: 9781803230597

Author (1)

author image
Christine Farion

Christine Farion is a Post Graduate Lecturer at The Glasgow School of Art for MDes Inn and Interaction Design. A PhD in Smart objects in the domain of Forgetfulness, Christine has been involved in teaching computing, programming, electronics, and prototyping for over 15 years. Previously she created interactive installations internationally, and did research and support for a visual impairment charity. Her interests are memory, accessibility, and physical computing. Currently researching and creating wearable technologies, her focus is on the way we experience our environment and interact with others. This involves interaction to improve quality of life, interpersonal communication, and community well-being.
Read more about Christine Farion