(self, pin, freq)
| 54 | def input(self, pin): |
| 55 | return self._pins.get(pin, {}).get('value', 0) |
| 56 | def PWM(self, pin, freq): |
| 57 | return type('PWM', (), {'start': lambda duty: None, 'stop': lambda: None, 'ChangeDutyCycle': lambda duty: None})() |
| 58 | def cleanup(self): self._pins.clear() |
| 59 | |
| 60 | GPIO = MockGPIO() |
no outgoing calls
no test coverage detected