jagomart
digital resources
picture1_Computer Languages Pdf 186669 | Lect2 Item Download 2023-02-02 03-59-13


 141x       Filetype PDF       File size 0.56 MB       Source: pages.hmc.edu


File: Computer Languages Pdf 186669 | Lect2 Item Download 2023-02-02 03-59-13
c programming part 1 what is c programming target arduino programming basics simple c program running a program programming tools comments data types variables console inputs and outputs more stuff ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
             C Programming –Part 1
              • What is C?
              • Programming Target: Arduino
              • Programming Basics
                – Simple C Program
                – Running a Program
              • Programming Tools
                – Comments
                – Data Types
                – Variables
                – Console Inputs and Outputs
              • More stuff you can do…
                                         What is C?
            •  Created by Dennis Ritchie at Bell Laboratories in 
               1972
            •  Programming language for making a 
               computer/microcontroller do something.
            •  One of the most popular programming languages:
                – Available for many platforms (supercomputers to embedded 
                   microcontrollers)
                – Relatively easy to use, moderate level of abstraction, but 
                   programmer also has an idea of how code will be executed
                – Can interact with hardware directly
          Programming Target: 
              Arduino
    • Arduino
     –type of microcontroller
     –we’ll talk about this a lot more next time
    • Overall syntax is same as C
    • Some differences (we’ll highlight them)
    • FYI, Arduino’s version of C is called 
     “Arduino”
                    Simple C Program
                 void setup()     This runs first
                 {            } (sets things up)
                 }
                 void loop()      Then this runs 
                 {            } repeatedly 
                 }                (it loops)
       All programs MUST contain these two functions
The words contained in this file might help you see if this file matches what you are looking for:

...C programming part what is target arduino basics simple program running a tools comments data types variables console inputs and outputs more stuff you can do created by dennis ritchie at bell laboratories in language for making computer microcontroller something one of the most popular languages available many platforms supercomputers to embedded microcontrollers relatively easy use moderate level abstraction but programmer also has an idea how code will be executed interact with hardware directly type we ll talk about this lot next time overall syntax same as some differences highlight them fyi s version called void setup runs first sets things up loop then repeatedly it loops all programs must contain these two functions...

no reviews yet
Please Login to review.