Coder Social home page Coder Social logo

domiluci / liquidcrystal_nkc Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 89 KB

Born from the fusion of the SerialLCD and the LiquidCrystal I2C Arduino libraries, the LiquidCrystal NKC library is the latest addition to the LiquidCrystal family, enabling simple, yet extensive, universally compatible plug-n-play control of the advanced LCD displays by Longtech & NKC Electronics.

License: GNU Lesser General Public License v3.0

C++ 100.00%
arduino arduino-library arduino-uno arduino-ide liquidcrystal lcd lcd-display lcd16x2 lcd1602 lcd20x4

liquidcrystal_nkc's People

Contributors

domiluci avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cardboardcarl

liquidcrystal_nkc's Issues

I2C Print function error

I am using your library on a LCD2004 with PCF8574 I2C connection and I am getting an error during compiling. It seems like its an error in the library and not my code but I am not sure. The processor is an Arduino Nano ESP32 board.

I am using your full demo script with no additional code as a function test and tried to compile it and it gives me the following error:

...Arduino\libraries\LiquidCrystal_NKC\src\LiquidCrystal_NKC.cpp:428:41: note: deduced conflicting types for parameter 'const _Tp' ('unsigned int' and 'int')
len = min(strlen(inputChar), MAX_STRLEN);
^

Official Bug Report for LiquidCrystal NKC v0.21.309

Official Bug Report for LiquidCrystal NKC v0.21.309

Per the LiquidCrystal NKC discussion thread on the official Arduino Forum, a few bugs and issues have been presented in v0.21.309 that I am self-reporting for clarity and accountability, and that I have every intention of resolving by v0.21.316 (Nov. 12th, 2021).

Items with no check marks are issues that have not yet been resolved. Items with check marks are issue that have been resolved and will be included as official fixes in the next weekly release.

MAJOR BUGS

  • Using the I2C_SLOW constant to set the I2C speed to 10kHz breaks functionality. New value suggestion is 50kHz.

OTHER ISSUES

  • The delayMicroseconds(I2CDELAY) line in the I2C command functions is now only after Wire.endTransmission()
  • Some of the delayMicroseconds(RS232DELAY) uses in the RS232 command functions may break functionality.

FORMATTING

LONG-TERM CHANGES

  1. The biggest goal of LiquidCrystal NKC is universal compatibility. Therefore, LC NKC will be made LCD API 1.0 compliant.
  2. The use of init() will be deprecated, yet remain supported. The suggested function going forward will be begin().
  3. The setBacklight() function will be altered to comply with the LCD API 1.0 standard of a non-binary dimming level. To simply set the backlight ON or OFF, use LiquidCrystal compatible backlight() and noBacklight().
  4. Support for more major boards & board-specific pins that auto-update based on the board selected in the IDE.

If there are any other issues and bugs in v0.21.309, and/or suggestions for improvement that you would like to include, please make them known in this thread below. If you're having an issue with another version of LiquidCrystal NKC, please find that version's official bug report thread, or start a new thread in the Issues section of this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.