build/bottle-filler/sdk_build/main/interface.c
void gpio_mode(cell gpio_num, cell direction, cell pull)
{
    gpio_set_direction(gpio_num, direction);
    if (pull) {
        gpio_pullup_en(gpio_num);
    } else {
        gpio_pullup_dis(gpio_num);
    }
}
// For compatibility with ESP8266 interface
// 1 constant gpio-input
// 2 constant gpio-output
// 6 constant gpio-opendrain
For compatibility with ESP8266 interface
1 constant gpio-input
2 constant gpio-output
6 constant gpio-opendrain
For compatibility with ESP8266 interface 1 constant gpio - input 2 constant gpio - output 6 constant gpio - opendrain
void gpio_mode(cell gpio_num, cell direction, cell pull)
{
    gpio_set_direction(gpio_num, direction);
    if (pull) {
        gpio_pullup_en(gpio_num);
    } else {
        gpio_pullup_dis(gpio_num);
    }
}
void gpio_mode ( cell gpio_num , cell direction , cell pull ) { gpio_set_direction ( gpio_num , direction ) ; if ( pull ) { gpio_pullup_en ( gpio_num ) ; } else { gpio_pullup_dis ( gpio_num ) ; } }
For compatibility with ESP8266 interface
1 constant gpio-input
2 constant gpio-output
6 constant gpio-opendrain
For compatibility with ESP8266 interface 1 constant gpio - input 2 constant gpio - output 6 constant gpio - opendrain