Skip to content

Issue #6 fixed and reading functions added#32

Open
zaidMughal wants to merge 11 commits into
arduino-libraries:masterfrom
zaidMughal:master
Open

Issue #6 fixed and reading functions added#32
zaidMughal wants to merge 11 commits into
arduino-libraries:masterfrom
zaidMughal:master

Conversation

@zaidMughal

@zaidMughal zaidMughal commented Mar 20, 2020

Copy link
Copy Markdown

Issue #6 was that createchar() function leave data address in CGRAM position. After that, begin(), setCursor(),clear() or home() functions must be executed before write() function in order for it to work. It is fixed but require rw pin to be set for it to work. This is because, when address register goes to CGRAM, there is no record of its previous position in our MCU. MCU must read its previous position in order for it to go back. In case rw pin is not specified, the register is not returned and it cannot untill rw is specified.

Also Added following functions,
read_BF_addr
read_RAM
read
read4bits
read8bits

Issue # 6 was that createchar() function leave data address in CGRAM position. After that, begin(), setCursor(),clear() or home() functions must be executed before write() function in order for it to work. It is fixed but require rw pin to be set for it to work. This is because, when address register goes to CGRAM, there is no record of its previous position in our MCU. MCU must read its previous position in order for it to go back. In case rw pin is not specified, the register is not returned and it cannot untill rw is specified.
Also Added following functions,
read_BF_addr
read_RAM
read
read4bits
read8bits
@zaidMughal zaidMughal closed this Mar 20, 2020
@zaidMughal zaidMughal reopened this Mar 20, 2020
@zaidMughal zaidMughal closed this Mar 20, 2020
@zaidMughal zaidMughal changed the title Issue #6 fixed and readnd functions added Issue #6 fixed and reading functions added Mar 20, 2020
@zaidMughal zaidMughal reopened this Mar 20, 2020
Comment thread src/LiquidCrystal.h Outdated
Comment thread src/LiquidCrystal.cpp Outdated
camelCase corrected in two functions.
read function return type changed to int so they give -1 if not read.
Also readRAM generates an error if both inlined and used in cpp file. Either we put it in .h file or not make it a normal function. So I  made it a normal function.
@zaidMughal zaidMughal requested a review from per1234 March 21, 2020 04:47
Comment thread keywords.txt Outdated
@zaidMughal zaidMughal requested a review from per1234 March 21, 2020 07:35
Comment thread keywords.txt Outdated
@zaidMughal zaidMughal requested a review from per1234 March 22, 2020 08:56
@per1234 per1234 dismissed their stale review March 22, 2020 09:04

Requested changes have been made. Thanks!

@per1234 per1234 removed their request for review March 10, 2021 00:00
@CLAassistant

CLAassistant commented Apr 9, 2021

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@per1234 per1234 linked an issue Apr 18, 2022 that may be closed by this pull request
@per1234 per1234 added type: imperfection Perceived defect in any part of project type: enhancement Proposed improvement topic: code Related to content of the project itself labels Apr 18, 2022
@zaidMughal

Copy link
Copy Markdown
Author

@per1234
I have signed the CLA.

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

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

createChar does not work after calling setCursor

3 participants