Protonerd / FX-SaberOS

System code for Arduino based Lightsaber replicas for DIYino family boards
Creative Commons Zero v1.0 Universal
91 stars 42 forks source link

Button #92

Closed fadroid closed 4 years ago

fadroid commented 4 years ago

Hello,

A question on button wiring for a homebrew set up with a pixel blade. If I just want a single momentary button without an accent led, is it just ground on one end and d12 on the other? Do I still need to attach anything to A0?

Thanks in advance, this project is some awesome engineering!

jbkuma commented 4 years ago

The only thing that gets connected to A0 is an accent LED. It does not need to be in the switch. If you are not using an accent LED you do not need to wire A0 to anything.

Jason "Kuma" Brinkerhoff Mad Science Workshoppe, proprietor http://jbkuma.com/workshoppe

On Tue, Jan 7, 2020 at 3:59 PM fadroid notifications@github.com wrote:

Hello,

A question on button wiring for a homebrew set up with a pixel blade. If I just want a single momentary button without an accent led, is it just ground on one end and d12 on the other? Do I still need to attach anything to A0?

Thanks in advance, this project is some awesome engineering!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/92?email_source=notifications&email_token=AE3UEMDXF6I242FO4F4XGPDQ4TULZA5CNFSM4KD67UX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IES73WA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3UEMA563N35LIAMWVNBODQ4TULZANCNFSM4KD67UXQ .

fadroid commented 4 years ago

So to confirm, on d12 is simply a momentary ground signal?

jbkuma commented 4 years ago

correct.

fadroid commented 4 years ago

Thanks for assistance and this project! I got everything up and running and it's awesome!