Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commandRead showing strange behavior #4

Open
rjonkman opened this issue Sep 23, 2023 · 0 comments
Open

commandRead showing strange behavior #4

rjonkman opened this issue Sep 23, 2023 · 0 comments

Comments

@rjonkman
Copy link

So I'm now working on testing reading data from the LCD using the readCommand() method.

I'm running a very simple sketch, just reading a single register once every couple of seconds.

uint8_t status = lcd.readCommand(0x01);
Serial.print("Display On: ");
Serial.println(status & (0x01 << 7) > 0);

The return value from readCommand is always 0, so something is not right.

So I started to probe with my scope and saw some strange things. Channel 1 (yellow) is the RD pin, and Channel 2 is on the WR pin. Why is WR firing? Why is RD firing 4 times. I suspect this part of the driver hasn't been fully developed and tested?
SDS00005

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

No branches or pull requests

1 participant