Thank you so much for your work and providing it to others especially beginners like me. I want to knOW If I can use the Teensy 4.0 in this project
I am glad this project looks useful to you. I used the Teensy 2.0 in this project because I wanted the 5V outputs on the gate and trigger, and the 2.0 is more than enough to get the job done. Of course you could use a 3.3V board like the 4.0 if you wished, but my recommendation would be to stick with the 2.0 since the extra horsepower of a 32-bit board is not needed for this project. Also, if you are using my PCB design, the pinout is for the 2.0 and would not be compatible with the 4.0. Otherwise you would need to breadboard the circuit.
If you're interested (and in the US), I could send out one of my PCBs to you at cost. I have a few extras lying around. You would need to source the components from Digikey or Mouser.