Skip to content

Sensor Mode #1

Description

@TheEvandroLuis
from hub import port

S1d = port.F.device
S2d = port.D.device
S1d.mode(4) #RREFL
S2d.mode(4) #RREFL

while True:
    print(str(S1d.get()[0]) + " , " +str(S2d.get()[0]))

This part doesn't work here. Do I have to install anything before?

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