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

是不是逻辑错了? #2

Open
lambor opened this issue May 21, 2020 · 4 comments
Open

是不是逻辑错了? #2

lambor opened this issue May 21, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@lambor
Copy link

lambor commented May 21, 2020

while(!st7920_parallel_8bit_busy_flag());

是不是逻辑错了?

但是我的屏幕BF位读数也一直为1。

@hungtcs
Copy link
Collaborator

hungtcs commented May 21, 2020

Hello @lambor,这句的意思应该是如果BF为1,那么一直进行while循环,直到BF为0的时候继续执行

@lambor
Copy link
Author

lambor commented May 21, 2020

@hungtcs 不应该是while(st7920_parallel_8bit_busy_flag());吗?

@lambor
Copy link
Author

lambor commented May 21, 2020

如果忙碌(BF=1),就一直循环等待BF=0

@hungtcs
Copy link
Collaborator

hungtcs commented May 22, 2020

@lambor 好像是的,感谢反馈,我现在手头没有模块,回头我验证一下程序会改正

@hungtcs hungtcs added the bug Something isn't working label May 22, 2020
@hungtcs-lab hungtcs-lab removed their assignment Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants