Skip to content

fix lcd_i2c issue#3

Open
wesamnabeel99 wants to merge 2 commits into
embeddedlab786:mainfrom
wesamnabeel99:fix/lcd_i2c
Open

fix lcd_i2c issue#3
wesamnabeel99 wants to merge 2 commits into
embeddedlab786:mainfrom
wesamnabeel99:fix/lcd_i2c

Conversation

@wesamnabeel99
Copy link
Copy Markdown

fix issue #2

@wesamnabeel99
Copy link
Copy Markdown
Author

another way to fix this problem is by using LiquidCrystal class instead of LiquidCrystal_I2C (if you don't have I2C)

#include <Servo.h> //includes the servo library
#include <Wire.h> 
#include <LiquidCrystal.h>

#define POSITIVE 0
LiquidCrystal lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

@ayouubDev
Copy link
Copy Markdown

but if i have Ic2 what i can do??

@wesamnabeel99
Copy link
Copy Markdown
Author

but if i have Ic2 what i can do??

@ayouubDev You can view the modifications I made in the pull requests, and it should work fine with I2C.
The comment on the pull request is for the people who doesn't have I2C.

You can also check out the forked repository in my profile where I used I2C library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants