Flowcode 5 Anyone?


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    before Windows or GUI's came out, MS-DOS was king of the hill
    When MS-DOS was king of the hill... it easily ran on an 8088 or 80286 processor with 16 meg ram and 20 Meg harddrive. Floppy disks held 128 K of data.

    My new laptop has 8 gig of ram, 1 terrabyte harddrive.

    Many times (not always, though) execution speed of code is paramount. I would venture to guess that the final code produced with Flowcode 5 is many times slower and more bloated than what PBP produces. PBP is much slower than assembly. Its all relative to what your needs are.

    If you want to learn interrupts then start with a breadboard, a couple of pushbuttons, a few LED's and give a go at some of the examples shown on Darrel's instant interrupt web site.

    Writing code is a matter of putting together blocks of smaller code that you have tested, learned and gained an understanding of.

    One thing I have learned the hardway is ALWAYS do a "save as" before you start modifying a piece of working code. Once you break it and want to go back to something that was working you need a working copy to go back to.

    Good luck what ever you choose to do. There are some world class programmers here willing to help with specific questions/examples.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  2. #2
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Well guys thanks for pummeling me with your comments, Jeez, all I'm trying to do is find a way to make my program work, with interrupts or whatever. But I have not been to college to study computer languages, like you guys. Also I don't work for MELabs, like some of you guys. All I know is that it is impossible for me to comprehend how to do it. Yeah, I know, go to Darrels website and read this post and that post. Well I still don't get it, Goddamn. I either need an easier program or I need to get out, altogether.

  3. #3
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    My apologies, but just a follow up, here is what I need: As part of my program I need an interrupt or timer to count pulses in the background,store that value in a variable, then enter a second loop where it counts pulses again and compares it to the first variable and makes corrections through a stepper motor. I believe this is possible with PBP but I have absolutely no experience with assembly or C. Yes, I found out how to use an interrupt to to turn on an LED, but it just gets over my head as to how to do this in the background and making adjustments at the same time. Oh, and Art, you are probably right about moving on to a what? A risc assembler? Well, as I said unless this could be programmed in BASIC, then I couldn't use it. A simple question, can what I want to do be done? Can it be done in PBP? If not then I am at the end of the road and will have to put my program to bed and move on to something else. Please don't answer in riddles that I am supposed to solve. Thanks in advance.

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Yes it can be done in PBP. Oh, with a little assembler because part of the interrupt handler is assembler.
    What I meant was, as you progress, if PBP holds you back, another basic product would not be a solution.
    RISC assembler is the pic's native language.

  5. #5
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Well I guess thats it then, I cannot comprehend assembly. I guess i am at the end of the road. Thanks anyway.

  6. #6
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Maybe I am going about this whole thing wrong. The pulses that come from a vehicle speed sensor should be able to be converted into into a straight d.c. voltage with the addition of a capacitor. That way the program doesn't have to wait through a count statement, it can just read the voltage from an adc port and make adjustments. Of course the adc needs a short pause itself in order to operate correctly. Its either that or have another chip doing all of the counting and sending its info to my pic. (sounds pretty deep to me).

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