If you have good working example ..


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Do tell

    No one told me either!
    Help me discover what else I can do with my PBP system besides write program, hope to compile, compiles, doesn't do what I thought it should, stare at program for a long time, try again and again until I realize that programming with intention is not the same as programming with instruction.
    Where is this simulator you speak of? Hmmm?
    Louie

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Good morning,

    There is no simulator for PicBasicPro. There is, however, a simulator for other forms of the PicBasic language.

    If either of you are looking for a quick way to write a program that works the first time then I think you are dreaming. I have been on this for since 2004. I have found that by investing the time in looking at the problems other members have posted I have learned how to program. Does every program work the first time. NO! You make mistakes wiring something up. You forget to Capitalize the DEFINES. You can make many types of mistakes. That's all part of the learning curve. I spent an entire 48 hour weekend just writing, testing,writing,testing code for an RTC handling daylight savings time. I am not a professional programmer. My first really big project was designed to be done in 4 months. It took more than twice that because I had alot of learning to do.

    There are many great people on this forum that are more than willing to help you with your problems. As for a simple program for the 16F84A, start with blinking an LED. There are many examples of how to do this. I beleive one of them is in the manual. We do require that people asking for help to make some effort.

    I personnally have purchased several books, one of which is entitled "Programming PICs in Basic" by Chuck Hellebuyck. This has been like a bible to me. I started with Basic Stamps and worked my way over to PICs.
    It does take a lot of time if you only do this as a hobby. I do most of work on the weekends so I sit back with a cup of coffee and read the posts here. I also read them in the morning before work and then before I retire for the evening. We do have some less than patient people here but their intentions are good.

    Don't get discouraged. In the long run its fun and educational and in some cases it can be financially rewarding. I have sold quite a few of my projects to customers of my alarm business!

    BobK

  3. #3
    Join Date
    Dec 2008
    Location
    New York US
    Posts
    46


    Did you find this post helpful? Yes | No

    Smile About PIC Simulator

    I used Pic IDE Simulator ver 5.33 from www.oshonsoft.com.
    It is free from charge for trial period and you can buy a licence to use during
    your life time with new soft from this company.
    Regards

  4. #4
    fronkensteen's Avatar
    fronkensteen Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by hardcore View Post
    I used Pic IDE Simulator ver 5.33 from www.oshonsoft.com.
    Nice Simulator!!!

    For another compiler...

    Here's an assignment statement for you.
    See if you can figure it out how it works.

    Code:
    MeLabs PICBASICPRO <> Proton Basic
    or maybe

    Code:
    MeLabs PicBasicPro != Proton Basic
    How about

    Code:
    If MeLabs PicBasicPro = Proton Basic Then
           Pigs = might_fly
    EndIf

  5. #5
    Join Date
    Oct 2004
    Location
    North Norfolk UK
    Posts
    146


    Did you find this post helpful? Yes | No

    Default

    Methinks there is a language problem

    "Pic Basic Compiler" and it's examples have not translated accurately.

    This forum is for MeLabs Pic Basic Compiler. Maybe mail Vladimir Soso and ask him exactly which compiler he has been developing with.


    HTH


    __

Similar Threads

  1. 16F877A with 20MHz XTAL not working?
    By ustredna in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th August 2011, 15:04
  2. 2x16 lcd not working with pic16f72
    By vu2iia in forum Schematics
    Replies: 4
    Last Post: - 16th February 2011, 14:59
  3. Blink.Bas on 18f45k20 Newbie seeks working example.
    By DiscoEd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 03:36
  4. Pic 16 F628A not working
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th March 2009, 12:26
  5. Hserin not working...
    By robert0 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd August 2005, 12:25

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