Chat freely about anything...

User avatar
By HolgerW
#4130 Hi,
i need GPIO13 on a ESP-03 module as simple output port, but it doesnt work.
I tried:
Code: Select all//Set GPIO to output mode
  PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U, FUNC_GPIO13);

  gpio_output_set(0, BIT13, BIT13, 0); //set GPIO low
  os_delay_us(5000);
  gpio_output_set (BIT13, 0, BIT13, 0); // set GPIO high


Any ideas ? Thanks.
Holger
User avatar
By alonewolfx2
#4132 your code is right and propably working normally but you cant see gpio difference because "os_delay_us(5000);" very very little. try this os_delay_us(2*1000*1000)