Go to Post Andy Baker doesn't go to IRI. IRI comes to Andy Baker. - tim_reiher [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 31-10-2001, 07:04
Kurt Ehrhardt Kurt Ehrhardt is offline
Registered User
#0175 (Buzz Robotics)
 
Join Date: Jun 2001
Location: Enfield, CT
Posts: 1
Kurt Ehrhardt is an unknown quantity at this point
Actually, the Innovations First Robot controller in the kit uses the Parallax BS2SX stamp that is based on the Scenix (now UBICOM) SC28AC/SS communications controller. This is a 50MHz (mostly) single cycle RISC micro with EE/Flash progam memory. The Parallax BS1 and earlier BS2 families were based on the Microchip 16XXX PICs. That being said, as an embedded controls software designer, I will agree that PBASIC is very 'clunky'. But it is simple to learn for an educational process such as we have here. It would be nice to program this device using 'C', as pointed out in the earlier discussions. I personally have mused many a time about 'fixing the problems with PBASIC'. I would agree with Joe, the way I would attack it is to define a set of extensions to the syntax of PBASIC that give the constructs that you are looking for (i.e. IF THEN ELSE, those darn funky operator precedence rules, etc...). Write the PBASIC code mixing in these extensions as needed. Write a pre-processor (in the language of your choice) that reads in the file with source code and extensions and outputs a generic PBASIC syntax source file. Load the PBASIC generic source file into the toolset, compile and download. This way, those that choose to use the extensions can, and those that do not can use the old method. Probably the best 'bang for the buck' without getting into a significant amount of effort. My .02

Kurt Ehrhardt
Engineer and parent
Team 'Buzz'
 


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
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
PBasic 2.5 vs. 2.0 Anthony Kesich Programming 6 09-02-2003 22:06
PBasic Question Melissa H. Programming 28 17-11-2002 18:53
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06
PBASIC Loop Speed? archiver 2001 3 23-06-2002 23:46


All times are GMT -5. The time now is 10:51.

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