Make sure download the library for Arduino DUE board before you upload the code. It can be done by click the board manager and download the SAM3x board. This code can count pulse which last at least 20ns. It also allows you to change the gate rate without reprogramme the board.
erikkaashoek / arduino-due_pulse_counter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mrxiangli/arduino-due_pulse_counter