def ce(self, level): if level == NRF24.HIGH: GPIO.output(self.ce_pin, GPIO.HIGH) else: GPIO.output(self.ce_pin, GPIO.LOW) return