When I declare a Pin with the arguments, defining the mode and pull like in
pinData = Pin(self.Data_pin, Pin.OUT, None)
Pylance returns:
Argument of type "None" cannot be assigned to parameter "pull" of type "int" in function "__init__"
Type "None" cannot be assigned to type "int"Pylance[reportGeneralTypeIssues](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportGeneralTypeIssues)
Changing to Pin.PULL_DOWN and Pin.PULL_UP works just fine.
Hello.
When I declare a Pin with the arguments, defining the mode and pull like in
Pylance returns:
Changing to
Pin.PULL_DOWN
andPin.PULL_UP
works just fine.