Flowcode 5 Anyone?


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    The duty cycle appears to be 50%, so the voltage will average to half, no matter what your speed is.

    On the bright side, Darrel Taylor's interrupts do all the assembly thinking for us. So if you chose to go that route, you really don't need to learn assembly. I took a very brief look at the FlowCode interrupts, and I think I like Darrel's even more now (if that is possible) !
    http://www.scalerobotics.com

  2. #2
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Gee, I wish you guys came with English subtitles so that I could understand you.

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


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Hi, "Picstar"

    Endly knowing what you try to do ...

    the answer is quite simple : use TMR1 and the CCPx module in capture mode for each rising edge ( see relevant Pic datasheet chapter )...

    that will trigger an interrupt for each pulse of your speedo ... or simply raise a " data ready " flag ...

    just yours to read the CCPR1 registers and store the result elsewhere ...

    BTW ... I do not remember having seen ONE compiler offering the " capture " function already cooked ... Flowcode included !!!

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

  4. #4
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    O.K. Ace, Well I did some online research and found a lot of info and glory be..even examples of what I am trying to do. It is an online book over at Mikroe.com call "Pic Processors:Programming in Basic". There are some slight changes between their version of BASIC and PBP, but very few so far. Thats all I ever wanted was a working example, and picture of course. I see a lot of reading in front of me, so I need to skip to it. Thanks

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


    Did you find this post helpful? Yes | No

    Default Re: Flowcode 5 Anyone?

    Wow! good find on the book... Looks to be a well written text with excellent examples and schematics. Stick with it and you will be rewarded. It's amazing what these little microcontrollers are capable of.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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