Class library for LCD character display ACM1602NI using I2C on Nucleo. Nucleo 用 I2C 接続の LCD キャラクタ・ディスプレー ACM1602Ni 用のクラス・ライブラリ.
Dependents: UIT2_VariableFIR_LPFHPF UIT2_VariableFIR_LPF UIT2_InputSW_LCD ADDA_Prototype_PollingSW ... more
Diff: ACM1602NI.cpp
- Revision:
- 13:68b93c16fd1d
- Parent:
- 12:b7c761c179c9
diff -r b7c761c179c9 -r 68b93c16fd1d ACM1602NI.cpp --- a/ACM1602NI.cpp Sat Jul 25 06:29:39 2015 +0000 +++ b/ACM1602NI.cpp Fri Apr 01 04:28:15 2016 +0000 @@ -1,7 +1,7 @@ //------------------------------------------------------- // Class for LCD, ACM1602Ni // -// 2015/07/25, Copyright (c) 2015 MIKAMI, Naoki +// 2016/04/01, Copyright (c) 2016 MIKAMI, Naoki //------------------------------------------------------- #include "ACM1602NI.hpp" @@ -21,7 +21,7 @@ if ( ((sda == PC_9) || (sda == PB_4)) && (scl == PA_8) ) myI2c_ = (I2C_TypeDef*)I2C_3; // I2C3 will be used - + if (clock != 100000) i2c_.frequency(clock); wait_ms(40); @@ -101,5 +101,3 @@ return false; } } - -