PicBasic Pro to Basic Stamp conversion?


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    19

    Default PicBasic Pro to Basic Stamp conversion?

    Is there a way to make PicBasic Pro look like a Parallax Basic Stamp that's more complete than the Include "bs2defs.bas" command so it also takes care of the various configuration Defines?

    An earlier post provided a set of config statements starting with OSC 8 which was required to get the PIC18F4550 to work with a 48MHz crystal and simply turn LED's on and off. I tried searching the datasheet for Config and most of it seems written in an assembler language or register language, not PicBasic or anything I understand. So how does one learn this stuff?

    My next circuit does work on a Parallax BS2 but I want more speed. It has a Pot & Cap attached to PortA.0 to provide position sensor input using the RCTIME command. It also has a couple of output pins driven by the PWM command. Some indicator LED's are driven by the High and Low commands. That's all at this stage. I can post both the circuit and code so far if that would help.

    I'll need the USB functions and other pins to work later in my build. It would be nice if there is some way to program that in Basic too. Any advice appreciated.

    Thanks
    Last edited by Kirk Fraser; - 17th March 2011 at 06:40.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: PicBasic Pro to Basic Stamp conversion?

    You do not want to make PBP more like a stamp, why limit yourself?

    This thread should help you with the configs.
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    This project uses a 2550, so maybe it will help.
    http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING

    Post your specific problem (along with your code and stuff) and we will be glad to help.
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts