-
Painful Programming
06/04/2019 at 08:57 • 0 commentsThe design changed a bit. Namely, the reduction of DIP Switches to just the one. All the storing of characters is now done in on board memory. Between us, Russ and I managed to get the code to run how it is supposed to. For a long while, we tried to use 'if' statements to read the status of the inputs, but this failed for some reason. After splitting the main Foot Switch routine up a little, it started to work correctly.
I added a toggle switch for testing purposes, it disables the output allowing programming if the code got stuck in a loop, sending endless characters out. This happend on a few occasions! Now the code is fixed, I'm persuing the use of the toggle switch to change keypress modes between repeated and constant. At the moment, the code enables the Keyboard library, presses a key and then disables the Keyboard library. This doesn't allow for constant key presses. Another solution will need to be found.
-
Logic Issue
05/13/2019 at 13:37 • 0 commentsThe PCBs turned up, but once built, the four DIP switches, since they are paralleled up, actually work together. A stupid mistake on my part! I am using one in place of the original prototype but have since redesigned the board to only have one DIP switch on board and to do the programming completely in memory. This will be a challenge for me (and Russ) but its doable. The new board includes tact switches for both 'Program' and 'Test' and an LED to indicate successful programming and actuations.
-
4 Class System
05/07/2019 at 11:23 • 0 commentsThe prototype had a single 8-way DIP switch. This was fine if you only wanted to use one character. In Battlefield V you can play as 4 different classes, Assault, Medic, Support and Recon. I thought it would be a good idea to have a DIP Switch for each of those so you could customise the action that each one actioned on the footswitch press. I added a 4 way rotary switch to the circuit and designed a PCB around it. I am currently waiting for them to arrive. Once proved, I will add the construction files, gerbers and schematic along with the code to this page.