Sets the duty cycle for the `Grove LED`_. :param int power: Number between **0** and **100** that represents the duty cycle of PWM signal.
(self, power)
| 1174 | raise |
| 1175 | |
| 1176 | def light_on(self, power): |
| 1177 | """ |
| 1178 | Sets the duty cycle for the `Grove LED`_. |
| 1179 | |
| 1180 | :param int power: Number between **0** and **100** that represents the duty cycle of PWM signal. |
| 1181 | |
| 1182 | """ |
| 1183 | self.write(power) |
| 1184 | |
| 1185 | def light_max(self): |
| 1186 | """ |
no test coverage detected