Moving from Basic Stamp and MIKROE basic to PicBasic PRO


Closed Thread
Results 1 to 40 of 41

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    1,158


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Another bug: "clean up project folder" does not works. While it says "files were deleted", actually, no file being deleted. Also GLCD font creator can't save the file. It says it saved, but no file being saved.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Hi, Curious one

    Here is not the place to complain about another product you have difficulties with ...

    I saw You were on MkB forum @ 10.15 ( French hour ... ) , so you were on the right place THERE to complain .

    Your posts there show once more you didn't had opened neither the Pic Datasheet nor the IDE Manual or Help file ...


    Once more it's no use to complain your IDE doesn't work by itself ... just make the effort to learn your lesson !!!

    said gently ... this kind of thread has NO INTEREST for PicBasicPro Forumers ... as the fault is totally yours.

    Learn your lessons and you will be allowed to criticize AFTER lesson learned

    Alain
    Last edited by Acetronics2; - 1st March 2013 at 10:26.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Feb 2013
    Posts
    1,158


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    I believe, it's my duty, to warn others about the bad product, being falsely advertised as good one.

    And the errors I've listed above, has nothing to do with my knowledge of MCUs. It's totally fault of that IDE developers.

    At the same time, I'm checking picbasic pro. And also, this IDE seems to be written upside down. Why no ability to configure default path for output .hex files? There are couple of other bugs, too. I'll list them later.

  4. #4
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    If you feel most things are upside down then you probably live on the Southern hemisphere.

  5. #5
    Join Date
    Feb 2013
    Posts
    1,158


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Here's my first code with picbasic pro up and running. It does output variable PWM which I use for led dimming.

    Sure, code is written really bad, but, at least it works. I've used included BUTX3 sample as basis:

    Code:
       CMCON = 7          ' PORTA to digital
        OPTION_REG = $7f   ' Enable PORTB pull-ups
        TRISB = %11001111  ' Set PORTB.4,5 (LEDs) to output, rest to input
    A var byte   
    mainloop:
       PORTB = 0           ' Turn off LEDs
    
       ' Check any button pressed to toggle on LED
       If PORTB.7 = 0 Then ' If 1st button pressed...
          PORTB.5 = 1      ' Turn on 1st LED
          A=A+1
          if a=255 then a=a-1
                HPWM 1,A,1000
       Endif
       If PORTB.6 = 0 Then ' If 2nd button pressed...
          PORTB.4 = 1      ' Turn on 2nd LED
          a=A-1
          if a=1 then a=a+1
                HPWM 1,a,1000
       Endif
    
       Pause 15             ' Pause 2mS
       Goto mainloop       ' Do it forever
    
       End
    I believe, first two lines of code are irrelevant for PIC16F628A, but at least it works...

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Quote Originally Posted by Jumper View Post
    If you feel most things are upside down then you probably live on the Southern hemisphere.
    Excellent ...

    I would have written it with ... lots less humour !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Quote Originally Posted by Jumper View Post
    If you feel most things are upside down then you probably live on the Southern hemisphere.
    Well said - that is very funny

  8. #8
    Join Date
    Feb 2013
    Posts
    1,158


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    There are a lot of books available for picbasic, but very few for picbasic pro.

    Is there anywhere information of side to side comparison of these two BASICs? I found that pro has hardware pwm, interrupts and some other features, but I'd like to see the complete list.

  9. #9
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Hi,
    There are several flavours of "PIC BASIC" from different vendors and manufacturers. This forum, as you know, is really only targeting the compilers from MicroEngineering Labs. So when you see a reference to "PIC Basic" on the net or in a book, make sure you understand which manufacturers compiler they are really talking about.

    If you're talking about comparing the features of the original PIC BASIC Compiler from MELABS to the PRO version of the same compiler I don't see the purpose since the old version is discontinued. Besides, if you think PBP is complicated you wouldn't want to use PBC.

    If you want to compare the three different version of PBP3 then you can do so here. As far as I know all commands are available in all versions, however the experimenter and silver edition is limited in the number of supported devices. The silver edition, for example, does not support 18F series and therefor you can't use LONG variables.

  10. #10
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Moving from Basic Stamp and MIKROE basic to PicBasic PRO

    Quote Originally Posted by CuriousOne View Post
    , but I'd like to see the complete list.
    just download the PBP3 Manual ... if you dare reading it, of course !
    http://pbp3.com/downloads/PBP_Reference_Manual.pdf

    Alain
    Last edited by Acetronics2; - 5th March 2013 at 13:31.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Pic Basic pro code Compiling help!
    By JeromyJones in forum mel PIC BASIC
    Replies: 3
    Last Post: - 20th February 2013, 14:14
  2. Yet another SERIN2 problem - Conversion from Basic Stamp
    By Fanias in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th October 2012, 08:08
  3. PicBasic Pro to Basic Stamp conversion?
    By Kirk Fraser in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th March 2011, 07:49
  4. Basic Stamp BS2 replacement?
    By tenaja in forum Schematics
    Replies: 5
    Last Post: - 17th November 2009, 18:27
  5. Basic Question about PICBASIC
    By zonkwilliams in forum General
    Replies: 1
    Last Post: - 10th March 2005, 22:55

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