Trouble overiding a push switch with a transistor

Post your code so we can see you aren’t doing something stupid wrong.

Switch output pin assignments to prove it is in fact the one line on the mystery device that’s an issue.

a7