Download presentation
Presentation is loading. Please wait.
Published byKerrie McGee Modified over 9 years ago
1
By Joshua Shaw
2
This presentation demonstrates how to create a program Take as much time as you need to go through this PowerPoint Just remember that you need to get the program finished as soon as possible so the drivers can practice Good Luck 2
3
In this power point I will walk you through as many steps as possible to ensure that the program runs smoothly This includes several of the most obvious steps ◦ Such as using the start menu This power point will act as if I am there to help. ◦ I will say “we” often So, let us begin 3
4
Easy C is a simpler version of C++ It uses cause and effect statements, which allow you to manipulate the robot The next slide gives an example of a basic program It can be modified to fit the conditions of the game 4
5
A Basic Program It does have limit switch capability which will be discussed later. 5 This is the program used by Hillcrest at the 2011 Crowley's Ridge Best Competition in Jonesboro.
6
The first step to create the program is to start the Easy C software ◦ It will most likely be found on the desktop of your computer ◦ If not, then click the Start menu (indicated by red arrow below) ◦ Go to All Programs ◦ Click on easy C V4 for Cortex 6
7
To begin a new program for the robot, click on New Standalone Project under New/Open Select Joystick Project (WiFi) Click Ok If you have already begun a program, click on the name of your program under Recent Projects 7
8
We are going to need a statement that is always true in order for the program to be effective We will be applying a While Loop To do this, go to the Function Blocks box beside your program and click the “ +” beside Program Flow 8
9
Then click and drag While Loop from the list and place it on the vertical line between Variable box and End box. At this point a dialog box appears ◦ Type a true expression such as (2<3) Click OK 9
10
The next PowerPoint is Programming a Motor
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.