Go to Post Don't be affraid of trying new things... Even if people say you are crazy, even if you get insulted, even if it involves a lot of time and money, try it. You can't know if it'll work or not if you didn't try it yet. - EDesbiens [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 23-04-2007, 23:45
seanl's Avatar
seanl seanl is offline
"The Everything person"
FRC #0867 (Absolute Value)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Arcadia, CA
Posts: 267
seanl will become famous soon enoughseanl will become famous soon enough
pbasic code

i found a old ifi robot controller but i think it runs on p-basic. its the one that uses a 9 volt battery for power. i was wondering if any of you guys had the default code and the correct compiler. i dont know much p-basic im only an expert at c.
  #2   Spotlight this post!  
Unread 23-04-2007, 23:48
Jeremiah Johnson's Avatar
Jeremiah Johnson Jeremiah Johnson is offline
Go VOLS!!
AKA: Budda648
no team (QC Elite)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Davenport, IA
Posts: 1,476
Jeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond repute
Send a message via AIM to Jeremiah Johnson Send a message via MSN to Jeremiah Johnson
Re: pbasic code

Oh, wow. That's pretty old. Pre-2004. I have no idea where to find default code and compilers. We can't use our 2003 robot because the program was erased and now no one knows how to program it.
__________________
Do The Tyler!

XBOX Live Gamertag = theVelvetLie
  #3   Spotlight this post!  
Unread 23-04-2007, 23:51
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: pbasic code

Quote:
Originally Posted by seanl View Post
i found a old ifi robot controller but i think it runs on p-basic. its the one that uses a 9 volt battery for power. i was wondering if any of you guys had the default code and the correct compiler. i dont know much p-basic im only an expert at c.
Try this link out. Scroll to the bottom of the page:

http://www.ifirobotics.com/isaac16-rc.shtml
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
  #4   Spotlight this post!  
Unread 23-04-2007, 23:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: pbasic code

http://www.ifirobotics.com/first-legacy.shtml
  #5   Spotlight this post!  
Unread 23-04-2007, 23:53
seanl's Avatar
seanl seanl is offline
"The Everything person"
FRC #0867 (Absolute Value)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Arcadia, CA
Posts: 267
seanl will become famous soon enoughseanl will become famous soon enough
Re: pbasic code

Quote:
Originally Posted by Budda648 View Post
Oh, wow. That's pretty old. Pre-2004. I have no idea where to find default code and compilers. We can't use our 2003 robot because the program was erased and now no one knows how to program it.
it was either the 2003 or a B-O-E bot which is p-basic and even worse. our team just raided the workshop and grabbed what we could find. everyone else got a boe bot hehe
  #6   Spotlight this post!  
Unread 24-04-2007, 00:31
seanl's Avatar
seanl seanl is offline
"The Everything person"
FRC #0867 (Absolute Value)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Arcadia, CA
Posts: 267
seanl will become famous soon enoughseanl will become famous soon enough
Re: pbasic code

i cant find the drive part of the code. http://www.ifirobotics.com/docs/lega...C_DEF_2003.bsx
i could not find it i just want 2 pwm y axis drive
  #7   Spotlight this post!  
Unread 24-04-2007, 06:58
CyberWolf_22's Avatar
CyberWolf_22 CyberWolf_22 is offline
Programming and Electrical Mentor
AKA: Allen Gregory
FRC #2587 (Afrobots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Houston, Texas
Posts: 227
CyberWolf_22 is just really niceCyberWolf_22 is just really niceCyberWolf_22 is just really niceCyberWolf_22 is just really nice
Re: pbasic code

The IFI legacy site has the compiler for Pbasic and the default code for the controllers. It also has the default code reference guide which is handy.

My freshman year was the last year FIRST used the BASIC stamp controllers. I think learning to program with Pbasic first made C a lot easier the next year.
I had never programmed before and was the only programmer on my team all years of high school. The best part about the Pbasic controllers is that Rob Bayer wrote an amazing emulator, Roboemu, for them so you don't need to have a robot to learn to program the controllers. This made learning to program so much easier.

A few weeks ago, I went back and wrote some new code for our 03 and 01 robots both of which still have the BASIC stamp controllers.
__________________
  #8   Spotlight this post!  
Unread 24-04-2007, 09:01
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: pbasic code

Quote:
Originally Posted by CyberWolf_22 View Post
The best part about the Pbasic controllers is that Rob Bayer wrote an amazing emulator, Roboemu, for them so you don't need to have a robot to learn to program the controllers. This made learning to program so much easier.
Loved this feature. Last year, I made a wheelchair out of the '03? maybe 02 chassis and a folding chair. I used an old 03' controller and had to write it in P-BASIC. I knew Q-BASIC, which made it very easy to pick up. The old basic controllers are perfect for learning programming logic on, especially if you are completely new to the programming arena.

The stuff of the IFI legacy page is pretty helpful, I saw a link for that previous to this post. If anyone needs specific help with P-BASIC, PM me and I'd be happy to give a hand.

Jacob
  #9   Spotlight this post!  
Unread 24-04-2007, 09:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: pbasic code

Quote:
Originally Posted by seanl View Post
i cant find the drive part of the code. http://www.ifirobotics.com/docs/lega...C_DEF_2003.bsx
i could not find it i just want 2 pwm y axis drive
All the PWM to joystick/variable mapping is handled in the SEROUT command at the end. For example, in the default code, PWM1 is set to p1_y and PWM16 is set to p4_wheel.
  #10   Spotlight this post!  
Unread 24-04-2007, 20:18
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
Re: pbasic code

I have this code loaded onto my PBASIC system and it works fine. So you shouldn't have any troubles with it.

I don't use my system anymore though, I am switching over to a custom self made embedded system. As soon as a finish it that is.

-John
  #11   Spotlight this post!  
Unread 24-04-2007, 21:36
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: pbasic code

Quote:
Originally Posted by sparksandtabs View Post
I am switching over to a custom self made embedded system. As soon as a finish it that is.

-John
Defiently post that when you finish...
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
2003 PBASIC Code Zak698 Programming 4 14-04-2006 01:26
looking for 1 joystick Pbasic drive code Greg Needel Programming 8 02-09-2005 20:35
Need PBASIC Balance Code Quick sanddrag Programming 1 11-05-2004 13:02
PBASIC 2.5 Code on the RC Goya Programming 2 12-01-2003 17:00
Need help with PBASIC Code J. Stofflett Programming 3 06-02-2002 22:49


All times are GMT -5. The time now is 01:21.

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