What am I missing


Closed Thread
Results 1 to 5 of 5
  1. #1
    PaulB's Avatar
    PaulB Guest

    Default What am I missing

    Purchased PBasic Pro today and tried to compile the comms demo program from the Code samples section. This is the one that turns LEDs on and OFF via commands from a terminal emulator.

    Load the source into MicroCode Studio and press Compile button.

    Get the same errors I got with my earlier version of Pbasic. Comiler compains that the @ command is illegal. and goes on from there. Its not of course, but I am obviously missing some directive at the top of the program,

    Can someone help please

    Regards

    PaulB

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello PaulB,

    Paul>>Get the same errors I got with my earlier version of Pbasic. Comiler compains that the @ command is illegal. and goes on from there.<<

    do a copy/paste of your code to here, and let us take a look at it.

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

  3. #3
    PaulB's Avatar
    PaulB Guest


    Did you find this post helpful? Yes | No

    Default

    Hi Dwayne,

    The code is from the Code example section and I have put a screen capture for you

    Any ideas?

    Regards

    Paulb
    Attached Images Attached Images  

  4. #4
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Post

    Did you tell MicroCode Studio to use the new version? Press Help - About and check below "MicroCode studio", it should say "PICBasic Pro 2.45" or something similar. If it just says "PIBBasic" you need to point MCS to where you installed the new compiler. You do that under View - PICBasic Options.

    /Ingvar

  5. #5
    PaulB's Avatar
    PaulB Guest


    Did you find this post helpful? Yes | No

    Thumbs up

    OK Guys,

    Thanks for that, Now fixed.

    MicroCode studio does say ProBasic 2.45, but it found the old PBC compiler in C:\PBC rather than the new one in c:\PBP!

    Used find manually to find it!

    Thanks for the help.

    Now I just have to squeeze the code into a 16F84A!

    Regards

    PaulB

Similar Threads

  1. Missing a bit
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st August 2009, 18:54
  2. I am missing something, what is wrong with this code?
    By manta_z in forum mel PIC BASIC
    Replies: 3
    Last Post: - 26th April 2009, 23:15
  3. PIC18F4550 Error[128] Missing Arguments
    By damalu in forum mel PIC BASIC
    Replies: 9
    Last Post: - 17th November 2008, 21:47
  4. MCP23016 missing D7 on I2CRead
    By TWSK in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th June 2007, 18:37
  5. simple program, what am i missing
    By scorpion in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th September 2005, 18:45

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