slide1 l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21 st May, 2009 PowerPoint Presentation
Download Presentation
Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21 st May, 2009

Loading in 2 Seconds...

play fullscreen
1 / 16

Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21 st May, 2009 - PowerPoint PPT Presentation


  • 79 Views
  • Uploaded on

Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21 st May, 2009. Overview. Graphical programming languages: Variables, types, values, operators Flow of control Built-in functions Strengths and limitations.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21 st May, 2009


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
    Presentation Transcript
    1. Graphical Programming Languages Lecture 19: Supporting Material Dr Kathryn Merrick Thursday 21st May, 2009

    2. Overview • Graphical programming languages: • Variables, types, values, operators • Flow of control • Built-in functions • Strengths and limitations

    3. Lego Mindstorms NXT: Programmable Robots Programmable Brick

    4. The NXT Programming Environment The programming window

    5. Built-in Functions ‘Move’ functions connected up like Lego bricks Input parameters set here

    6. Loops Instructions to be repeated will be dragged into here Loop connected up like a Lego brick Exit condition (can behave like a for loop or a while loop)

    7. Selection What to do will be dragged into here Selection connected up like a Lego brick Conditions set here

    8. A Complete Program

    9. Demo 1: Programming a Lego scorpion

    10. Variables Variable brick

    11. Maths Operators Maths operator brick

    12. Boolean Operators Boolean operator brick

    13. Complete Program

    14. Demo 2: Programming a Lego scorpion

    15. Summary • After today’s lecture you should be able to: • Identify the key programming tools we used in MATLAB in the NXT graphical language • Appreciate the strengths and weaknesses of graphical languages