Library for LCD ACM1602NI connected using I2C interface on Nucleo F401/411. Nucleo F401/411RE で使える I2C 接続の LCD ACM1602NI 用のライブラリ.
Dependents: ACM1602NI_NucleoF4_Demo ACM1602NI_NucleoF4_Demo
Revision 2:56a2f5e674e4, committed 2014-12-14
- Comitter:
- CQpub0Mikami
- Date:
- Sun Dec 14 07:51:08 2014 +0000
- Parent:
- 1:0a38ce51b9b8
- Child:
- 3:8e405cedea99
- Commit message:
- 3
Changed in this revision
ACM1602NI.cpp | Show annotated file Show diff for this revision Revisions of this file |
ACM1602NI.hpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ACM1602NI.cpp Tue Dec 09 13:24:27 2014 +0000 +++ b/ACM1602NI.cpp Sun Dec 14 07:51:08 2014 +0000 @@ -1,7 +1,7 @@ //------------------------------------------------------- // Class for LCD, ACM1602Ni // -// 2014/12/09, Copyright (c) 2014 MIKAMI, Naoki +// 2014/12/14, Copyright (c) 2014 MIKAMI, Naoki //------------------------------------------------------- #include "ACM1602NI.hpp" @@ -78,7 +78,7 @@ // Preparation for send of command and data bool Acm1602Ni::Start() { - const uint8_t WAIT = 20; + const uint8_t WAIT = 30; const uint8_t LENGTH = 10; // wait for I2C not busy @@ -115,3 +115,4 @@ return true; } } +
--- a/ACM1602NI.hpp Tue Dec 09 13:24:27 2014 +0000 +++ b/ACM1602NI.hpp Sun Dec 14 07:51:08 2014 +0000 @@ -11,7 +11,7 @@ // I2C2 PB_3(D3) PB_10(D6) // I2C3 PB_4(D5) or PC_9 PA_8(D7) // -// 2014/12/09, Copyright (c) 2014 MIKAMI, Naoki +// 2014/12/14, Copyright (c) 2014 MIKAMI, Naoki //------------------------------------------------------- // I2C_TypeDef: See stm32f401xe.h on following URL // http://mbed.org/users/mbed_official/code/mbed/file/