Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Arduinoで一連のパラメータを使用して関数を呼び出すタイマー割り込みが必要です。Timer1 ライブラリを確認しましたが、コールバック関数にパラメータを渡す方法では使用できないようです。
できません。現在の状態を保存するには、ある種のグローバル構造体を使用する必要があります。コールバックを使用すると、その構造体から必要なデータを取得します。