Go to Post Almost as if there's...co-opertition? - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-05-2005, 09:35
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
BASIC programming

Does any one know of any tutorials or anything that can help me learn the BASIC programming language to program an older rc and OI? if so please pm me or post here i would greatly appreciate it! or if anyone can help me like 1 on 1 over like aim or whatever messenger you use i would greatly appreciate your help!!!
  #2   Spotlight this post!  
Unread 17-05-2005, 10:06
Lisa Perez's Avatar
Lisa Perez Lisa Perez is offline
Registered User
FRC #0573 (Mech Warriors)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Bloomfield Hills, MI
Posts: 1,291
Lisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond repute
Re: BASIC programming

Hey -

There's some information in this thread. Hope it's of use to you.

I know some basic BASIC, but don't know of how much aid I'll be. You can try asking me, though

Good luck!
__________________
Event Coordinator - Center Line District Event
Volunteer Coordinator - Michigan State Championship

Lead Mentor - Team 573, Mech Warriors
Former Mentor - Team 830, Rat Pack and Team 3182, Athena's Warriors
Proud Alumna - Team 573, Mech Warriors and Team 1, Juggernauts
  #3   Spotlight this post!  
Unread 17-05-2005, 11:33
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: BASIC programming

Here's the Programming Reference Guide for the old controllers.
Here's the official Basic Stamp Reference Manual which documents all of the BASIC commands.
In fact, most of what you need to get started is on the IFI Legacy Documentation page, in the 2001-2003 section.

Good luck, and feel free to message me if you need help.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #4   Spotlight this post!  
Unread 17-05-2005, 12:15
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,642
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: BASIC programming

Quote:
Originally Posted by Pat Fairbank
...
Here's the official Basic Stamp Reference Manual which documents all of the BASIC commands.
....
I concur.

To be honest, most of the PBASIC language is non-standard BASIC. Knowing BASIC is more of a hindrance than a help sometimes.

Read the PBASIC manual and you'll be off to a good start.

Some advice.

Forget/ignore the PBASIC manual that has anything to do with direct management of the I/O pins. They are pretty much useless because the RC more or less limited the pins of the STAMP2 to those talking to the Master CPU, The Programming Port (actually not a bad way to get a peripheral to talk to the STAMP2 program via RS-232) and some pins that more or less just turned on LEDs.

Get used to the PBASIC line processing method and avoid using too many parentheses. After coding for a while, I would end up with so many layers of nested ('s and )'s that the code was untouchable. Things got better from me once I decided to go with the Zen of PBASIC rather than fighting it.

Know the ins and outs of 16 bit unsigned math. It is a beast that will bite you in unseemly places at exactly the wrong moment. I can't tell you how many strange robot quirks were tracked down to some 16 bit overflow that only happens when the phase of the moon is just right and the tide is high and the robot driver's middle name has a T in it ;-)

Good luck.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2

Last edited by Joe Johnson : 17-05-2005 at 12:17.
Closed Thread


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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Organizing a programming team. scitobor 617 Programming 7 28-01-2005 19:18
Programming and Electronics — Getting Started Sidney San Martín Technical Discussion 7 12-01-2005 15:25
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
Help programming in Visual Basic xxlshortys Programming 0 06-04-2003 08:54


All times are GMT -5. The time now is 11:30.

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi