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

division issue under lib #303

Open
abdulalsadoun opened this issue Sep 15, 2023 · 1 comment
Open

division issue under lib #303

abdulalsadoun opened this issue Sep 15, 2023 · 1 comment

Comments

@abdulalsadoun
Copy link

No description provided.

@abdulalsadoun
Copy link
Author

def SetWindow(self):
self.send_command(0x61) # SET_RAM_X_ADDRESS_START_END_POSITION
# x point must be the multiple of 8 or the last 3 bits will be ignored
self.send_data(self.Source_BITS // 256)
self.send_data(self.Source_BITS % 256)
self.send_data(self.Gate_BITS // 256)
self.send_data(self.Gate_BITS % 256)

above is the fix

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