Paradox916
Well-known member
![IMG_1187.jpeg IMG_1187.jpeg](https://forum.pedalpcb.com/data/attachments/81/81121-c4e4dd8111dbeb8f9dabf0f7717e0fbf.jpg)
Sometimes it takes me a while to find the time to finish a project, and this one started almost a year ago when @Guardians of the analog and @dan.schumaker made the TR-2 Rajun Cajun project, and I was graciously gifted the PCB and M5207L01. for me when I think of Trem the first thing that pops into my head is the fast staccato intro to Sevendusts Black along with others , And for some reason having that with the option of a momentary function like the VB-2 needed to happen. But I couldn’t find where anyone had successfully programmed a 12f675 for both latching and momentary function (if they did they weren’t sharing the code.) so I went down that rabbit hole whole having the most crude basic understanding of C programming, I was able to get ether the momentary function or latching function to work but trying to figure the code out to have both work I had this weird delay I couldn’t get rid of, and couldn’t figure out where I was going wrong, not wanting to give up but knowing I was punching above my weight class I had to call in a ringer so I reached out to @keyth72 for some guidance and help. Keith went above and beyond completely rewriting the code, I flashed it to the MCU and tested, it worked flawlessly. The TR-2 Rajun Cajun IMHO is the pinnacle of DIY trem projects not just because it’s a great effect but because it was a culmination of work from several people in this community.
![IMG_1189.jpeg IMG_1189.jpeg](https://forum.pedalpcb.com/data/attachments/81/81122-285563a2b520248a96dd634f6a77c5ac.jpg)
And for anyone interested here is a link to the code for the 12f675 if you want a long press momentary function.
relay_bypass_v2.txt
![drive.google.com](https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png)
Last edited: