-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix v3.0.1 #6
fix v3.0.1 #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメントしました。確認お願いします。
.DS_Store
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.DS_Store ファイルをすべて削除してください。
(.gitignoreファイルを追加してなかったですね。。。)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
g_timer1 = timerBegin(1000000); //1us | ||
timerAttachInterrupt(g_timer1, &onTimer1); | ||
timerAlarm(g_timer1, 500, true, 0); //2kHz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメントの1usですが、実際に設定しているのは 1MHzなので記述を変えたいです。
g_timer1 = timerBegin(1000000); //1us | |
timerAttachInterrupt(g_timer1, &onTimer1); | |
timerAlarm(g_timer1, 500, true, 0); //2kHz | |
g_timer1 = timerBegin(1000000); // 1Mhz = 1/1us | |
timerAttachInterrupt(g_timer1, &onTimer1); | |
timerAlarm(g_timer1, 500, true, 0); // 500us = 1/2kHz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他のタイマー関数も同様に対応お願いします。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
周波数入力の時は、1MHz(1us)のように周波数(時間)でコメント
タイマカウントのところは、500*1us=500us(2kHz)のように時間(周波数)でコメントしました
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this implement/fix?
Arduino ESP32パッケージ3.0.1に対応したプログラムの改善
Does this close any currently open issues?
#3 がクローズになります。
How has this been tested?
実機でテストしました
Any other comments?
ありません
Checklists