Beginning C for Arduino : learn C programming for the Arduino /: learn C programming for the Arduino. ([2015])
- Record Type:
- Book
- Title:
- Beginning C for Arduino : learn C programming for the Arduino /: learn C programming for the Arduino. ([2015])
- Main Title:
- Beginning C for Arduino : learn C programming for the Arduino
- Further Information:
- Note: Jack Purdum, Ph. D.
- Authors:
- Purdum, Jack J (Jack Jay)
- Contents:
- Loading and Running Your First ProgramWriting Your First Program; What the Program Does; Compiling and Uploading a Program; Summary; Chapter 2: Arduino C; The Building Blocks of All Programming Languages; Expressions; Statements; Operator Precedence; Statement Blocks; Function Blocks; The Five Program Steps; 1. Initialization Step; 2. Input Step; 3. Process Step; 4. Output Step; 5. Termination Step; The Purpose of the Five Program Steps; A Revisit to Your First Program; The setup() Function; The loop() Function; Arduino Program Requirements; The Blink Program; Program Comments. Single-Line CommentsMulti-line Comments; When to Use Comments; The setup() Function in Blink; How to Find Information About Library Functions; The loop() Function; delay(): Good News, Bad News; Summary; Chapter 3: Arduino C Data Types; Keywords in C; Variable Names in C; The boolean Data Type; Walking Through the Function Call to ReadSwitchState (); Binary Numbers; The char Data Type and Character Sets; Generating a Table of ASCII Characters; The byte Data Type; The int Data Type; The word Data Type; The long Data Type; The float and double Data Types; Floating Point Precision. The string Data TypeString Data Type; Which Is Better: String or strings Built from char Arrays?; The void Data Type; The array Data Type; Array Generalizations; Defining vs. Declaring Variables; Language Errors; Symbol Tables; lvalues and rvalues; Understanding an Assignment Statement; The Bucket Analogy; Using the castLoading and Running Your First ProgramWriting Your First Program; What the Program Does; Compiling and Uploading a Program; Summary; Chapter 2: Arduino C; The Building Blocks of All Programming Languages; Expressions; Statements; Operator Precedence; Statement Blocks; Function Blocks; The Five Program Steps; 1. Initialization Step; 2. Input Step; 3. Process Step; 4. Output Step; 5. Termination Step; The Purpose of the Five Program Steps; A Revisit to Your First Program; The setup() Function; The loop() Function; Arduino Program Requirements; The Blink Program; Program Comments. Single-Line CommentsMulti-line Comments; When to Use Comments; The setup() Function in Blink; How to Find Information About Library Functions; The loop() Function; delay(): Good News, Bad News; Summary; Chapter 3: Arduino C Data Types; Keywords in C; Variable Names in C; The boolean Data Type; Walking Through the Function Call to ReadSwitchState (); Binary Numbers; The char Data Type and Character Sets; Generating a Table of ASCII Characters; The byte Data Type; The int Data Type; The word Data Type; The long Data Type; The float and double Data Types; Floating Point Precision. The string Data TypeString Data Type; Which Is Better: String or strings Built from char Arrays?; The void Data Type; The array Data Type; Array Generalizations; Defining vs. Declaring Variables; Language Errors; Symbol Tables; lvalues and rvalues; Understanding an Assignment Statement; The Bucket Analogy; Using the cast Operator; The Cast Rule; Silent Casts; Summary; Chapter 4: Decision Making in C; Relational Operators; The if Statement; What if Expression1 Is Logic True?; What if Expression1 Is Logic False?; Braces or No Braces?; A Modified Blink Program; The Circuit. Circuit Resistor ValuesThe Modified Blink Program; const Keyword; Software Modifications to the Alternate Blink Program; The if-else Statement Block; Cascading if statements; The Increment and Decrement Operators; Two Types of Increment Operators (++); Two Flavors of the Decrement Operator( -- ); Precedence of Operators; The switch statement; A switch Variation, the Ellipsis Operator (...); Which to Use: Cascading if-else or switch?; The goto Statement; Getting Rid of Magic Numbers; The C Preprocessor; Heads or Tails; Initialization Step; Input Step; Process Step; Output Step; Termination Step. … (more)
- Edition:
- Second edition
- Publisher Details:
- New York : Apress Distributed to the Book trade worldwide by Springer Science+Business Media
- Publication Date:
- 2015
- Copyright Date:
- 2015
- Extent:
- 1 online resource, illustrations
- Subjects:
- 629.895
Computer science
Arduino (Programmable controller)
C (Computer program language)
Programmable controllers
TECHNOLOGY & ENGINEERING -- Engineering (General)
Arduino (Programmable controller)
C (Computer program language)
Programmable controllers
Computers -- Hardware -- General
Computers -- Programming Languages -- General
Computer hardware
Programming & scripting languages: general
Computer hardware
Electronic books - Languages:
- English
- ISBNs:
- 9781484209400
1484209400
1484209419
9781484209417 - Related ISBNs:
- 9781484209417
- Notes:
- Note: Vendor-supplied metadata.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.359715
- Ingest File:
- 01_323.xml