Hi I new here, but old at arduino coding. I’m doing a Fencing Scoring machine, with the code that I found in the tutorial (https://www.instructables.com/id/Arduino-Fencing-Scoring-Apparatus/) because it’s already made, with te timings and etc… But only one problem, the code is using “attachInterrupt”, My I made my pcb without this in mind, so my button is a normal push with “1” output when pressed, can anyone help change the code? I’m trying for hours but nothing happ.
So, what I need, this button is for changing the modes (weapons), I need something that can work with the ChangeMode and checkIfModeChanged , that’s what change the mode.
Code_Scoring.ino (14.9 KB)