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,157


    Did you find this post helpful? Yes | No

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

    But still, MIKROE guys are really nature error. IDE is full of bugs. A little example:

    I started up IDE. By default, it opens last saved project. Ok, I close it.

    Now I started new project, write some code and compile. Everything is OK.

    Now I opened some previously saved project, make some changes, compile and want to flash. BUT, the flasher will flash the .hex image from the new project which I started when launching IDE. And to flash the current active program image, I have, EACH TIME, MANUALLY PROVIDE flasher with the correct hex file.

    Is not this silly?

  2. #2
    Join Date
    Feb 2013
    Posts
    1,157


    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.

  3. #3
    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 " !!!
    *****************************************

  4. #4
    Join Date
    Feb 2013
    Posts
    1,157


    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.

  5. #5
    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.

  6. #6
    Join Date
    Feb 2013
    Posts
    1,157


    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...

  7. #7
    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 " !!!
    *****************************************

  8. #8
    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

  9. #9
    Join Date
    Feb 2013
    Posts
    1,157


    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.

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