Hi everyone I'm Paul, new to the forum, IL-2 and coding.
My dad saw this thread and asked me whether I could build something similar to this. Seems to me, he didn't got the memo about the non-intuitive handling of Mike's panel. Yet here I am, challenging myself to build a Panel for my old man and to enrichen my skillset by adding coding and microelectronics. I'll keep you updated with any problems, shenanigans, misunderstandings I ran into, so you all don't have to learn your own lessons.
@Mike, as we two agreed (well you asked me to, and hereby I agree) I'll post my questions here in order to make this accessible to everyone.
What I did so far: Layout on the box, prepared wiring and pushbuttons (those tiny ones that come with any arduino kit, I had them flying around in my drawer for some years now) on breadboards and connected according to your wiring diagram with a few minor differences, due to function and use of the switches.
Further I coded some debouncing routines for practice. Now I wanted to run the arduino sketch on my Board and connect that to the breadboard skidaddle, to get a clean sketch that I can start working from. I included all text lines and all files accordingly. The teensy as well as my breadboard layout are working as expected: perfectly fine. They get recognized as 'Gamecontroller' and there are two controllers but somehow both have the same name. But that doesn't bother me at all. After I found the pins you used for 'hat switches' i excluded them from my wiring, as I only use a total of around 55 functions.
Then I headed over to arduino to code my LED functions but ran into a Problem right off the start. Tried to check your Arduino sketch so I am sure to have a clean start, and it runs into the following message. I don't know if this is just some missing files in the correct arduino-folder, but I did everything exactly as you described in your readMes. I wish I could attach a screenshot but as I am new here, I'll have to post some more to get these rights.
The Arduino Error (can't even put code or the complete message in here)
/////
return false;
^~~~~
cannot convert 'bool' to 'ListNode<SwitchButton*>*' in return
/////
I briefly went through your USB-Code and my mind dropped dead
. I intend to run my dad's box with only 35 pushbuttons and 20 toggle ON/ON switches, which further I intend to use as single use only and therefor I only have a total of 55 buttons plus the 5 potis. If I have to dive deeper than that into the hacks of dark sorcery and witchcraft, I'll put that on my
bucket... eeeerrhm to-do list as well
. But for now everything works just a okay.
Unfortunately, I can't upload any files for you all to get a better idea of the whole project yet, as I am new to this forum and this is my very first post.
Cheers , Paul