FemtoBasic variant for Propeller Servo Controller

As part of a talk for UPEW on extending FemtoBasic, I've put together a version of FemtoBasic for the Propeller Servo Controller. Essentially I stripped out all the SD card support and replaced the display/keyboard with a serial console using the built-in USB port much like DongleBasic. I've added a statement to control one or more servos using the same servo routines used in the standard firmware for the Servo Controller. I also added a statement to reinitialize the serial port with a specified Baud. The default Baud is 2400.
The serial driver and FemtoBasic have been modified to support a half duplex serial connection on the extra serial port if there's no USB connection, but this is not tested yet. I'll post updated versions as I continue to debug this.
Post Edited (Mike Green) : 6/24/2010 4:25:10 PM GMT
The serial driver and FemtoBasic have been modified to support a half duplex serial connection on the extra serial port if there's no USB connection, but this is not tested yet. I'll post updated versions as I continue to debug this.
Post Edited (Mike Green) : 6/24/2010 4:25:10 PM GMT
Comments
Basic_I2C_Driver.spin - I2C Driver from ObEx
FemtoBasic_ObEx.spin - FemtoBasic main file from ObEx
FemtoBasic_PSC.spin - Current FemtoBasic for the PSC
FemtoBasic_PSC1.spin - FemtoBasic with keyboard & display replaced with serial I/O and no SD card
FemtoBasic_PSC2.spin - FemtoBasic_PSC1 with a few PSC-specific statements added
FemtoBasic_PSC_More.spin - Small portion of FemtoBasic extracted to illustrate adding statements
FemtoBasic_PSC_Notes.spin - Just method headers and their comments for most methods in FemtoBasic_PSC
FullDuplexSerialMG.spin - FullDuplexSerial modified for larger buffers and half duplex option
Servo32_Ramp_v2.spin - Servo32 driver from ObEx
Servo32v7.spin - Servo32 driver from ObEx
With the feature of being able to save and run a program stored in eeprom as long as the first line of the program is
99 REM AUTOEXEC.BAS
makes the servo controller so that it can be a 'stand alone' animatronic platform (among other things).
Thanks again, and great presentation!
Cheers!
TinkersALot
Thank you,
John