このリポジトリは、Arduino UNO R4 (RA4M1) のGPTタイマーによるインプットキャプチャ機能の利用方法を示しています。 単純な例と、GPTの複数の割り込み処理を含んだ車輪の回転速度を計測する応用例を提示します。 This repository demonstrates how to use the GPT timer's input ...
This example code is in the public domain. http://www.arduino.cc/en/Tutorial/Array int timer = 100; // The higher the number, the slower the timing.