@32teeth the reason he was upset is because the originals did single data line, the new ones we split it up. The goal was to allow more functionality and we have some new things we are working on to support this very well.
@fluffhead did the code @“Jasen Hicks” shared work? I set up some code to solve this, there are few ways to do it with arduino.
Probably because the LED_JOY stuff was take out of example.ino
if I remove that bit of code it compiles and writes to the kaimana. but behaivior is pretty messed up. LEDs along the chain only work to P4, so P1-P3, Right, Left and Down LEDs don’t light up at all. Up only lights blue when pressed. K1-4 and P4 never turn off and only 1 of their 2 LEDs react to being pressed.
Any chance you can attach the entire code intact, ill adjust the button order and number as necessary. Thanks
Here’s what happened. There is no LED_JOY in the list any more, right? So that’s saying if the INDEX is the number assigned to LED_JOY do this, else, do this other stuff instead.
LED_JOY isn’t defined.
Yeah, that code has a lot of weird randomness installed out of the box, you need to sit down and assign colors and such in the gui, make sure nothing random is selected and go from there.
Do I have the code any more? No, I deleted it in a purge of my desktop items this weekend. Ill be working a new Brightstick option soon to support the PFS2 HitBox, that should create a good starting point in the future.
I’ll try it when I get home from work. It’s hard for me to wrap my head around the idea that that will fix everything. I already did use the GUI to assign all colors to black (“off”) when button not pressed and to random color when button is pressed. I’m also a little worried that there’s something wrong with a wire or one of the J2s because nothing in the chain after P4 lights up at all.
If it doesn’t work, is there a simple way to fix my previously working code? I could easily add the extra LEDS in the LED index such as “LED_UP_B” , but I don’t know how to make is so “LED_UP_B” mimics “LED_UP”
i got my 8 buttons to light up with the kaimana j2’s and kaimana mini board – very happy with the results!
i messed with the kaimana code and set up my 16 LEDs to behave correctly. i think i’ll change the colors to a blue/cyan for all the buttons instead of random, though.
is there a way to recognize a button being held? i’d like to program in an animation that will execute after a button has been held for a set amount of time, and continue until the button is released.
i’ll post some video clips when i have everything i want programmed in =)
Well unfortunately this last fix didn’t make any noticeable difference. since it seemed like the LED chain was broken I spent some time rearranging the J2 LEDs. I had fried 2 J2s a few days ago because I created my own PCB wire incorrectly. I received a new PCB wire and 2 new J2 to replace the burn out ones. I gave up on @“Jasen Hicks” code and went back to my original hit box code and just rearranged the LED in the index so only one LED per button blinks. well long story short, Now I have 3 more malfunctioning J2s these ones were never exposed to my bad wire and these ones each have the first LED working but not the second. They also break the chain so no J2s hooked up after them function at all. What is going on with these, I don’t really think it’s anything I did. ?
Yeah sorry about that, I still have to get the write up done but I’m hoping this week treats me better!
As a bonus I am also posting a package that will add the momentary and holding tournament mode techniques! They will have all the library and ino files so it should be a load and play solution.
@armi0024 My github skills are almost nonexistent but I will be preparing a request for these two functionalities to be added to the master branch so we can have this on the stock install.
Hey folks. Just got my Kaimana Khameleon. I can’t seem to get into KK mode either by pressing Home+K1 or via the switch on the PCB itself? Any idea why this could be the case? Its mounted on a UFB that is working perfectly. Also LED1 on the Kaimania is lit but none of the LEDs in the chain are doing anything.
EDIT: Also, just noticed that the PS360+ led on the Kaimana isn’t lighting up either. Tried on the stick I’m building and another with a UFB but no dice on either. Could I have gotten a defective board?
In there you will have two folders, inside them are the libraries and ino files specific for each functionality so its just a matter of replacing (back up yours first) the ones in your Arduino/libraries/Kaimana folder (or create the Kaimana folder if you don’t have it) and load the ino file into your arduino ide.
TournamentModeHolding => Enables/disables tournament mode when holding START for about 2 secs.
TournamentModePattern => Enables/disables tournament mode when pressing P3+P4 at the same time
Let me know if it works for you and your thoughts/comments on how to make them better!
So I got a new Kaimana Khameleon it is definitely working now but I still got one issue.
For whatever reason, K1 is registered by the Kaimana but the UFB doesn’t register it. With the Kaimana, K1 functions normally. This is super confusing to me since I thought the signal is going through the UFB before being past on to the Kaimana sitting on top. Any ideas on what’s going on?
The joints look okay, with nothing looking unsoldered, rough, or super messy. Though as I don’t know how to solder I might not know what to look for. Should I be looking on the UFB or the Kaimana?
Edit: gah. Tried to hook everything up on the UFB-side via the screw terminals this time and still got the same result.