Skip to content

Few Questions to the Example Code Python #2

@360disrupt

Description

@360disrupt

Hello,

why is the IO error accepted here l23-26:

        try:
            self.write_register(self.IOCONTROL, 0x08)
        except IOError:
            pass

Can you elaborate line 51

(response[2]<<24) + (response[3]<<16) + (response[4]<<8) + response[5]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions