Changes between Initial Version and Version 1 of SoftwareOverviewIntermediate


Ignore:
Timestamp:
Oct 2, 2017, 10:30:46 PM (8 years ago)
Author:
cdelgigante
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SoftwareOverviewIntermediate

    v1 v1  
     1Good Evening.
     2
     3Welcome to the Control Systems Team!  Now the fun can begin.  This page will start to teach you Java, the programming language that the team uses.
     4
     5Java is a programming language with lots of parts.  People spend years learning it, take whole classes in it, and do all sort of things with it.
     6We're going to teach you some of the basics here so you can control the robots, but to get really good at it you're going to have to do some studying on your own.
     7
     8Lets start out simple.
     9
     10Recall that we said in a prior activity that Python is a programming language.   Its a language with syntax (nouns, verbs, etc).   Java is the same.  This is a java program:
     11
     12'''public class HelloWorld{
     13   pubic static void main(String[] args) {
     14      System.out.println("Hello World");
     15   }
     16}'''
     17
     18If we tell the computer to run this code, it will print, you guessed it, 'Hello World'. The {} curly brackets are used to create blocks of code, the same thing was done in Python with indenting.  HelloWorld is a class aka a container, and when you run it java knows to automatically run whatever is in the main, which is to print something.   You try it [[https://www.tutorialspoint.com/compile_java8_online.php here] (Hint: Click execute to run the program)
     19
     20That's the last dull program you'll write here.  Lets do something more fun.
     21
     22==The Zebra Zero Environment==
     23For this level of exercise, we're going to be using the Zebra Zero Breadboard platform.   It consists of a Raspberry Pi Zero W, and a breadboard.
     24
     25What is a Raspberry Pi Zero W?
     26   
     27