Set GPIO13 pin as GPIO output

kishan patel
Posts: 45
Joined: Wed Aug 30, 2017 4:56 am

Set GPIO13 pin as GPIO output

Postby kishan patel » Fri Apr 13, 2018 10:53 am

I want to use GPIO13 pin as an output pin,i have configure as an output but its not working.Please,check what i configure as below and tell me what should i make changes:

gpio_set_direction(GPIO_NUM_13, GPIO_MODE_OUTPUT);

To high:
gpio_set_level(GPIO_NUM_13, 1);

To low:
gpio_set_level(GPIO_NUM_13, 0);

Thanks in advance,
Kishan Patel.

Posts: 2952
Joined: Tue Dec 01, 2015 7:35 am

Re: Set GPIO13 pin as GPIO output

Postby WiFive » Fri Apr 13, 2018 11:24 am


Who is online

Users browsing this forum: No registered users and 23 guests