Invert output Teensy 2.0

Status
Not open for further replies.

Boushard

New member
Hi guys,
I'm new on coding teensy and I want little help.

Basically I build a Pc gamepad using a Teensy 2.0 and so far it work great. But I want to invert an input so when a button is pressed, the pc see this button deactivated.

Since I didn't write the code, just adapted to fit my needs, I think the teensy is set in pullout and that's it!

Anyone have an idea how I can do this, if this is possible!!

Thanks!
 
Easiest is to edit the code.
Unfortunately we can't say more because we have no information about it. Maybe line 2367.

Edit: If you dont want to edit the code you can add a transistor as inverter.
Again, not enough information about your project to say more..
 
Last edited:
Status
Not open for further replies.
Back
Top