Go to Post If there's one thing I've learned, it's that the robot is never truly finished. - Joseph Smith [more]
Home
Go Back   Chief Delphi > Competition > OCCRA > OCCRA Programming
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
VEXpro
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
Authentic Touch Landscape
ADVERTISEMENT

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-08-2010, 09:22 PM
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 283
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
[OCCRA]: OCCRA VEX Cortex program with Stop Switch only

Hey OCCRA VEX Cortex EasyC V4 programmers,
Here's a simple program showing how to use a stop switch to disable your program. I have included comments on where to add your program. The program disables both autonomous and operator (human) modes.

This program uses 2, VEX LED's (not supplied by OCCRA), one green, one red to display the status of the stop switch (green ok, red stopped). This part of the program is optional and will not be a problem if you do not have the LED's installed (digital outputs only).

Take a look at the program when you get a chance. Remember, you should be able to halt the motors and servos on your robot if the stop switch wired to digital input 6 is pressed in order to compete this Thursday. I have built a simple VEX competition switch box that will be used to verify that your robot is programmed accordingly.
__________________
Marc Center
OCCRA VEX Mentor - 2007/8/9/10/11
FIRST FRC Mentor - Team 3548 Royal Oak/Lamphere
GM Hybrid System Engineer
marccenter@yahoo.com
Mobile: 248-255-7377

Last edited by marccenter : 11-19-2012 at 04:12 PM.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-09-2010, 08:07 PM
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 283
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Smile Re: [OCCRA]: VEX Cortex program with "bare bones" Stop Switch

OCCRA,
Here's a powerpoint describing a "bare bones" EasyC, V4 version of a stop switch program. The Powerpoint is embedded in a zip file. I took the earlier
version posted and removed all the graphic display and LED parts to make
it easier to understand.
Attached Files
File Type: zip VEX Stop Switch2.zip (598.5 KB, 27 views)
__________________
Marc Center
OCCRA VEX Mentor - 2007/8/9/10/11
FIRST FRC Mentor - Team 3548 Royal Oak/Lamphere
GM Hybrid System Engineer
marccenter@yahoo.com
Mobile: 248-255-7377
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OCCRA]: Spikes on Cortex apalrd OCCRA 8 11-06-2010 05:50 PM
[OCCRA]: OCCRA VEX Program with Start&Stop Switch marccenter OCCRA Programming 0 10-26-2010 08:55 PM
[OCCRA]: spikes and cortex bernieseaholm OCCRA Q&A 2 10-26-2010 05:23 PM
[OCCRA]: OCCRA VEX Cortex Test Program marccenter OCCRA Programming 0 10-12-2010 09:23 PM
[OCCRA]: VEX mode switch apalrd OCCRA Q&A 1 10-05-2009 03:23 PM


All times are GMT -5. The time now is 08:02 PM.

The Chief Delphi Forums are sponsored by Innovation First, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School