New project help rapidfire on 12f683


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    First off, why not trying to type a bit slower or something, maybe add something like punctuation. Makes it just that much easier for the rest of us to read.
    Second...You might want to try and write out exactly what you want your 'buttons' to do, flowchart the whole thing.
    I'm reading through this and your other threads over at Microchip, and your ideas are half-structured at best. You seem to be hoping that somebody will just come up with the magic code for you and it'll all be done.
    Joe's code, a couple of posts above, is a good base for you to add onto. I think the end result that you desire is just as easy as what Joe has written up. Why not just try a few things here and there? Then, when things don't work as expected, post the code YOU wrote and the rest of us can help YOU figure out what YOU did wrong, rather than the other way around. As has been said here before, this isn't a 'drive-thru get your code' forum, although a few would be more than happy to write the code for you, I don't know of any.
    After that, you might want to hit the books a little bit and do some reading on the SLEEP command for putting your PIC into SLEEP mode.
    hey ski mask thanks.. Ill keep that in mind I been reading 2 books already so yup.. Ill try to get this code to work one question was if the same pin can read the low coming from the trigger and rapidfire on the same pin..

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    I thought you were trying to duplicate the the other guys chip, with separate mode and trigger inputs. And in your subroutines you can tell it to do what you want including sleep, then you have to figure out how to reawaken it with . . . an interrupt ? It is why I said at the beginning, buy the other guy's chip and then work on your own too, he put a lot of effort into that including storing the on/off status in eprom. If you are as new as you appear, you are looking @ 2 years to success, a little less if you are young. That said, none of are getting any younger, so post the code you PMed me and let's have at it!
    Last edited by Archangel; - 23rd December 2008 at 05:03.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. 12f683 help!!!! L@@K!!!
    By thm ov3rkill in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd December 2008, 22:46
  3. A Temperature & Humidity Data Recorder Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 9th July 2008, 18:47
  4. Help on coding/ selecting PIC chip for project
    By lovemeok in forum General
    Replies: 0
    Last Post: - 27th July 2006, 19:21
  5. A category for Project Ideas
    By Pic_User in forum Forum Requests
    Replies: 2
    Last Post: - 23rd June 2006, 07:29

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