![]() You may reset the differential value by calling this method again with a new differential value. :param differential: This value needs to be met for a callbackĮRROR CODES: If either humidity or temperature value: :param pin_number: digital pin number on arduino. DEVICE TYPE PIN MODES set_pin_mode_dht def set_pin_mode_dht(self, pin_number, sensor_type=22, differential=.1, callback=None):Ĭonfigure a DHT sensor prior to operation. To determine which pins support PWM for your board. set_pin_mode_pwm_output async def set_pin_mode_pwm_output(self, pin_number) Only specific digital pins support PWM mode. This is an alias for set_pin_mode_pwm_output. Set_pin_mode_pwm async def set_pin_mode_pwm(self, pin_number) set_pin_mode_digital_output async def set_pin_mode_digital_output(self, pin_number) The pin_type for digital input pins with pullups enabled = 11ĭata reporting via callbacks for this pin begins immediately after this method is called. Set a pin as a digital input with pullup enabled. set_pin_mode_digital_input_pullup async def set_pin_mode_digital_input_pullup(self, pin_number, callback=None)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |