components/am2301/AM2301.cpp
/**
 * float one wire bus with pull-up.
 * - pin as open drain output
 * - release bus
 */
float one wire bus with pull-up.
- pin as open drain output
- release bus
float one wire bus with pull - up . - pin as open drain output - release bus
void AM2301::one_wire_float()
{
    gpio_set_direction(pin, GPIO_MODE_OUTPUT_OD);
    gpio_set_level(pin, 1);
}
void AM2301 :: one_wire_float ( ) { gpio_set_direction ( pin , GPIO_MODE_OUTPUT_OD ) ; gpio_set_level ( pin , 1 ) ; }
float one wire bus with pull-up.
float one wire bus with pull - up .