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.hpp
- Revision:
- 8:6f28524bcb29
- Parent:
- 7:fd23d2941f36
- Child:
- 9:8894909e18d7
--- a/ACM1602NI.hpp Sat Jan 17 09:59:57 2015 +0000 +++ b/ACM1602NI.hpp Thu Mar 26 01:34:27 2015 +0000 @@ -11,7 +11,7 @@ // I2C2 PB_3(D3) PB_10(D6) // I2C3 PB_4(D5) or PC_9 PA_8(D7) // -// 2015/01/17, Copyright (c) 2015 MIKAMI, Naoki +// 2015/03/26, Copyright (c) 2015 MIKAMI, Naoki //------------------------------------------------------- // I2C_TypeDef: See stm32f401xe.h on following URL // http://mbed.org/users/mbed_official/code/mbed/file/ @@ -75,14 +75,14 @@ bool connected_; // false: LCD is not connected - bool LcdTx(uint8_t cmdData, uint8_t data); - bool Start(); - // Forbid to use copy constructor Acm1602Ni(const Acm1602Ni&); // Forbid to use substitution operator Acm1602Ni& operator=(const Acm1602Ni&); + bool LcdTx(uint8_t cmdData, uint8_t data); + bool IsTxMode(); + // For check contents of SR1 and SR2 bool CheckSR12(uint16_t v1, uint16_t v2) { return (v1 == (myI2c_->SR1 & v1)) &&