Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:878a48f15e89, committed 2021-12-01
- Comitter:
- MikamiUitOpen
- Date:
- Wed Dec 01 00:37:44 2021 +0000
- Parent:
- 2:4bec6b2be809
- Commit message:
- 4
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Aug 29 11:19:03 2020 +0000 +++ b/main.cpp Wed Dec 01 00:37:44 2021 +0000 @@ -6,7 +6,7 @@ // 入力ピン: A1 // 出力ピン: A2 // -// 2020/08/17, Copyright (c) 2020 MIKAMI, Naoki +// 2021/12/01, Copyright (c) 2021 MIKAMI, Naoki //------------------------------------------------------------- #include "F446_ADC_Intr.hpp" // ADC @@ -60,7 +60,7 @@ if (++count >= DS_RATE_) { count = 0; - NVIC->STIR |= EXTI4_IRQn; // ソフトウェア割り込み発生 + NVIC->STIR = EXTI4_IRQn; // ソフトウェア割り込み発生 } }