0

key #4 of Macropad 019 not functioning
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

key #4 of Macropad 019 not functioning

by MTada on Thu Jul 29, 2021 1:50 pm

I'm new to all this. I received the Adabox 019 and assembled it. I learned enough about the coding to discover that key #4 (first key in the second row) is not functioning properly. I am able to change its color, but it does not function as I think it should when I press the key. Help

MTada
 
Posts: 3
Joined: Thu Jul 29, 2021 1:42 pm

Re: key #4 of Macropad 019 not functioning

by dastels on Thu Jul 29, 2021 2:08 pm

The NeoPixel and switch are completely separate so I'd be very surprised if both were to fail. So what are you doing and what are you seeing in response?

Dave

dastels
 
Posts: 7224
Joined: Tue Oct 20, 2015 3:22 pm

Re: key #4 of Macropad 019 not functioning

by MTada on Thu Jul 29, 2021 2:38 pm

I downloaded the bundle for the MACROPAD Hotkeys (by Phillip Burgess) and followed the instructions to copy lib and macros files. I modified one of the macros files, which I renamed from something containing the word "Evernote" to "Game Keys". I modified lines 12, 15, 16, and 16 of the Game Keys file to mimic the up, down, left and right arrow keys (see attached code). The first key in the second row (which corresponds to line 15 in the code) is not moving my cursor to the left. Up, down, and right are working as expected.

Also, when I first used the MACROPAD with the default code I started pressing the keys and noticed that the display would print the corresponding key with, for example "key1" when the first key is pressed, "key2" when the second is pressed, etc. Every key except key #4 was had its key number outputted on the screen.
Attachments
Game Keys.PNG
Game Keys.PNG (98.31 KiB) Viewed 56 times

MTada
 
Posts: 3
Joined: Thu Jul 29, 2021 1:42 pm

Re: key #4 of Macropad 019 not functioning

by dastels on Thu Jul 29, 2021 3:08 pm

Is key 4 seated properly in its socket? Maybe remove it and reseat it. If it still doesn't work, try shorting its pins with a wire to see if the switch itself is bad.

Dave

dastels
 
Posts: 7224
Joined: Tue Oct 20, 2015 3:22 pm

Re: key #4 of Macropad 019 not functioning

by MTada on Thu Jul 29, 2021 4:21 pm

While following your instructions I found that one of the pins was bent and so did not enter the socket. I straightened it out, reinserted, and it works now. Thank you so much!

MTada
 
Posts: 3
Joined: Thu Jul 29, 2021 1:42 pm

Re: key #4 of Macropad 019 not functioning

by dastels on Thu Jul 29, 2021 5:35 pm

Excellent! Have fun with it.

Dave

dastels
 
Posts: 7224
Joined: Tue Oct 20, 2015 3:22 pm

Re: key #4 of Macropad 019 not functioning

by mikeholczer on Thu Jul 29, 2021 6:29 pm

We have the same issue with one of our keys too. Any tips on on to safely remove the key from the board? I don't want to do more damage trying to move it.

mikeholczer
 
Posts: 10
Joined: Fri May 17, 2013 9:19 pm

Please be positive and constructive with your questions and comments.