Comments (1)
This is also raised in issue #11 and issue #41 (currently both open)
It is not harmless because it causes a failure on some platforms.
It is generally incorrect to include, in the constructor, functions which depend on the Arduino run time system being ready, since the object instantiation happens long before that. The unwanted call of begin( 16, 1) has the effect of calling delayMicroseconds() from the constructor and the impact of that depends on the platform. On AVR, delayMicroseconds() falls through immediately if timer0 is not (yet) running so it may appear to work although useless because the timings for the initialisation sequence as specified in the HD44780 data sheet are ignored.
from liquidcrystal.
Related Issues (20)
- Arduino reference code CreateChar problem
- Print.h not included in newer platforms HOT 1
- createChar from PROGMEM
- Where is `lcd.print` defined? HOT 1
- Library doesn't work with Arduino Nano Every HOT 1
- LiquidCrystal causing ESP32-S2-Wrover-I to crash. HOT 3
- Startup delay wrong for 8bit AVR core ...
- Add GitHub Action based CI
- Display corrupts when a string containing "Mod" is printed HOT 8
- LCD println does not go to a new line HOT 4
- Improvements to the LiquidCrystal library [imported] HOT 8
- LiquidCrystal_I2C lcd(0x27, 16, 2); Causes problem on NodeMCU HOT 2
- Boolean type is deprecated in some arduino core, have to be replace by bool HOT 1
- Add GitHub Actions workflow to synchronise with shared repository labels
- print wrong charcters HOT 2
- How can add delay instead of delay function HOT 1
- Add line wrap
- Update redirecting link in HelloWorld example HOT 4
- Entry mode flags are confusing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidcrystal.