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.
Dependencies: mbed SDFileSystem
Diff: ILF.cpp
- Revision:
- 1:f6a9410c46d2
- Parent:
- 0:1977c2310ef7
- Child:
- 3:639e05fcfa0b
--- a/ILF.cpp Tue Jan 18 07:54:54 2022 +0000
+++ b/ILF.cpp Wed Jan 19 01:14:25 2022 +0000
@@ -16,6 +16,10 @@
割込みはP0~P2で可能
シーケンサスタート信号は、回路図「seq_yobi]で対応
+ver1.2.4
+ver1.2.3のDEB_EN=0としたもの。
+公開用。
+
ver1.2.3
EEPROM通信のコードを修正。
debug mode の追加
@@ -71,7 +75,7 @@
*******************************************************************************/
//
//各種定数
-#define DEB_EN 1 //デバッグイネーブル
+#define DEB_EN 0 //デバッグイネーブル:1 ディスイネーブル:0 ver1.2.3
#define RL_EN 1 //1:io[]を外付けのリードリレー制御用に使用する場合は1.以外は0. ver1.2.3
#define SEQ_EN 0 //1:シーケンサ接続仕様 0:シーケンサ未接続仕様
#define period_pwm 200 //*us
@@ -104,7 +108,7 @@
//ver1.2.0
const int version_major = 1; //ソフトバージョン
const int version_minor = 2; //ソフトバージョン
-const int version_build = 3; //ソフトバージョン
+const int version_build = 4; //ソフトバージョン
//
//繰り返しタイマー割り込み
@@ -1144,7 +1148,7 @@
r_flag = 1;
- //割り込み停止
+ //割り込み停止 電流測定用タイマー停止
flipper.detach();
break;
@@ -1216,7 +1220,7 @@
}//if
}//if
- //ver1.1.0
+ //ver1.1.0 0.1s*5(jの値)=0.5s待機後(プラスリレー制御時間)に電流測定用タイマー始動
if ( j >= 5 ) {
io[ch_num] = 0;
range[ ch_num ] = 1; //range 10uA