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

read byte, word, etc #10

Open
Skin36 opened this issue Nov 2, 2020 · 2 comments
Open

read byte, word, etc #10

Skin36 opened this issue Nov 2, 2020 · 2 comments

Comments

@Skin36
Copy link

Skin36 commented Nov 2, 2020

Your module works, but I added the ability to read byte, word, etc.

@Skin36
Copy link
Author

Skin36 commented Nov 2, 2020

      if type==1:
          read_buffer = ctypes.c_byte()
       elif type==2:
          read_buffer = ctypes.c_short()
       elif type==4:
          read_buffer = ctypes.c_uint()

@MillhioreBT
Copy link
Collaborator

@Skin36 this probably interests you PR #11

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

2 participants