Please help support the site by donating at the link below.https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8ZRU34U47BESW
EDIT: this thread might start to die,(but work from hyper and others might still be in progress here) but i just want to recap. Throughout this forum, alot of people put in hard work and if you wish to see the progress then feel free.overall, Hyper999 manged to complete code and make the first version of it. You can find it on its onwn thread athttps://www.acidmods.com/forum/index.php/topic,37606.0.htmlalso, RDC made a code with 5 modes, its further down the thread. so there is a lot of work that got done here. and if you are interested in making your own code feel free to look though this thread. you will probably find all the info you need.Thank you, all of you. and hope to see code flourish from here.
I should mention that I believe the code found at https://www.acidmods.com/forum/index.php/topic,38069.0.html is not the latest code that hyper999 made up though--he had a later version which I read that resolved different issues. I will go back in this thread to find it and try that one out.
i feel so much better about myself now since dudes up there works. lol. and the other controller i did works ok too.
so i put in a 150ohm resistor on the wire to rcommon and power cycled both controllers and ran through the modes a bunch of times and neither cut out. is it possible it was overloading the pic and it was crashing?
100ohm would probably work although you can use a combination of 100ohm resistors to make a 150ohm resistor if you want ----100ohm----like so [PIC]------100ohm----| |----------[RCOMMON] ----100ohm----either way trying a 100ohm resistor will not harm your controller so give it a go...
Nice work!! ive been looking for a decent R1 mod for agesi just tryed to update the code to add a 4th mode of fire ive included the hex it is untested as ive not got a controller arround just now ill test it out 2morrow and check if it works. Feel free to download and test as well. If it does ill upload the asm for people to download
movlw 0x40 addwf STATER, f ;cyclic change in state manipulates ;last 2 bits in STATER.
movlw 0x20 addwf STATER, f ;cyclic change in state manipulates ;last 2 bits in STATER. movf STATER,w btfsc STATER, 7 ;state 1 or 2 goto Continue01 btfsc STATER, 6 goto Continue02 btfsc STATER, 5 goto State2 ;OFF; clrf FLASH; bcf GPIO,LED; bsf FLAGS,OFF;; goto StartoverState2 movlw FIRERATE1 ;STATER = '00100000' movwf FREQ clrf FLASH bsf GPIO,LED ;FLASH LED bcf FLAGS,OFF goto StartoverContinue02 btfss STATER, 5 goto State4 movlw FIRERATE2 movwf FREQ clrf FLASH bsf GPIO,OFF2 ;FLASH LED bcf FLAGS,OFF goto Startover State4 movlw FIRERATE3 ;STATER = '0110000' movwf FREQ clrf FLASH bsf FLASH,OFF3 ;FLASH LED bcf FLAGS,OFF goto StartoverContinue01 btfss STATER,6 goto Continue03 btfss STATER,5 goto State6 movlw FIRERATE4 movwf FREQ clrf FLASH bsf FLASH,OFF4 bcf FLAGS,OFF goto StartoverState6 movlw FIRERATE5 ;STATER '1010000' movwf FREQ clrf FLASH bsf FLASH,OFF4 bcf FLAGS,OFF goto StartoverContinue03 btfss STATER,5 goto State8 movlw FIRERATE6 ;STATER '1100000' movlw FREQ clrf FLASH bsf FLASH, OFF3 bcf FLAGS,OFF goto StartoverState8 movlw FIRERATE7 ;STATER '1110000' movwf FREQ clrf FLASH bsf FLASH, OFF2 bcf FLAGS, OFF goto Startover