New project help rapidfire on 12f683


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    24

    Default New project help rapidfire on 12f683

    hey I just recieved my PBP and I love it i made a few little led flashes and soo on but i have stumbled on this forum and i nee your help guys well there is this new thing called rapidfire on the pic 12f683 for the xbox 360 controller it well basically presses the trigger 20-30 times a second here is a link to one of th guys who sell this and i wanted to make a little project for my self.
    http://www.consolecustoms.net/tutori...torial_new.pdf
    exept there rapidfire is on the acuall triggers and when the triggers are beig pulled it reads the low or high (depending on your controller model) than sends the low pulses for rapidfire
    But before the rapidfire on triggers i wanted to get it to work on external buttons so look down =]

    I recently made a attemp on 12f683 to not use the triggers but a external button and this is my code And when I tested it it didint really work. its a 2 mode rapidfire the first mode is fully rapidfire and when you press the button it goes in mod 2 which is a 3 round burst all i want it to do is pulse first in loop 1 then if a nutton is button is pressed which is hooke dto ground it will go into loop2 to fire in burst and i need your help guys...

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


    Did you find this post helpful? Yes | No

    Default

    IMHO, Buy the chip from him AND keep working on your own version. That way during the next year you are working on your version, you can be enjoying the rapid fire advantage. I think you have underestimated the amount of work this person has done here.
    Last edited by Archangel; - 21st December 2008 at 20:10.
    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.

  3. #3
    Join Date
    Dec 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    well i currently have my rapidfire code single mode on a momentory switch so im ine but i jsut want to get this working all help is apprecited thanks.

  4. #4
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

  5. #5
    Join Date
    Dec 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    hey thanks for that link alot ye i been there since the first post and i know who amde the codes there codes are in asm so basic is easier for me thanks.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by thm ov3rkill View Post
    well I currently have my rapid fire code single mode on a momentary switch so I'm fine but I just want to get this working, all help is appreciated thanks.
    I would lose the button code in favor of an IF/Then loop, easier and I doubt switch bounce will be a problem.
    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.

  7. #7
    Join Date
    Dec 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    hey Joe thanks alot How would i do it would you provide me with a example or somthing I tried doing this but it only shoots one shot and thats it Also do you happen to have aim or some sort of Instant messaging Here is my code I dont know what needs to be done i also dont know anything about settings.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by thm ov3rkill View Post
    hey Joe thanks alot How would i do it would you provide me with a example or somthing I tried doing this but it only shoots one shot and thats it Also do you happen to have aim or some sort of Instant messaging Here is my code I dont know what needs to be done i also dont know anything about settings.
    Code:
    led var gpio.4
    leftbutton var gpio.3
    cnt var byte
    
    CLEAR  
    
     
     LOOP1:
      iF LEFTBUTTON = 1 THEN 
      GOTO LOOP2
     ENDIF 
     led=1
    pause 62
    led=0
    pause 62
    goto LOOP1
    '**************************************************
    LOOP2:
    for cnt = 1 to 3
    led=1
    pause 35
    led=0
    pause 35
    next cnt 
    pause 250
     IF LEFTBUTTON = 1 THEN 
     GOTO LOOP1
     ENDIF
     GOTO LOOP2
    Looks like you are trying to create a 3 round burst fire simulation, correct? If so you must also create a Virtual Disconnector too, a subroutine loop to stay in while waiting for the trigger to be released. Put it's call in the 3 round subroutine. Something like . . .
    Code:
    main:
    If Trigger then fire
    goto main
    
    fire: 
    . . . code to flash led 3 times
    goto Disconnect
    
    Disconnect:
    if trigger = 1 then
    goto  disconnect
    else
    goto main
    endif
    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