Post links and attach files for documentation here, also chat about these docs freely

User avatar
By koliqi
#714
elektronika_ba wrote:Here is another site with some resources about using GPIOs and dual UART:

http://g-lab.ca/esp8266ex-gpio-applicat ... interface/
http://g-lab.ca/dual-uart-api/

Thank you for pointing to my site. Now, site is updated with ESP8266EX pin definition's http://g-lab.ca/pin-definitions/.
koliqi
User avatar
By rudi
#788 hi,
i am searching for the example and the user_switch.c like named in the SDK Programming Guid GPIO API side 53
Please refer to <SDK>\examples\0.switch(WAN+LAN sta+softAP)\user\user_switch.c
Have you guys ever seen it? I note at
http://g-lab.ca/esp8266ex-gpio-applicat ... interface/
at the feet note ( bottom )
" You can find link to download zip archive esp8266_sdk_v0.9.1.zip on esp8266 forum esp8266.com. Source files for GPIO API are located at examples\…\user\ user_switch.c"
is this still availabel here, could help me understand GPIO better.
txs
Best wishes
rudi
;-)
User avatar
By koliqi
#791
rudi wrote:hi,
I note at
http://g-lab.ca/esp8266ex-gpio-applicat ... interface/
at the feet note ( bottom )
" You can find link to download zip archive esp8266_sdk_v0.9.1.zip on esp8266 forum esp8266.com. Source files for GPIO API are located at examples\…\user\ user_switch.c"
)

Correct footnote should be:
"Information's on this page are adapted from Espressif IoT SDK_Programming_Manual _v0.9.pdf, Google translation of esp8266_sdk_v0.9.1/document/Espressif IoT SDK_编程手册_v0.9.pdf. You can find link to download zip archive esp8266_sdk_v0.9.1.zip on esp8266 forum esp8266.com. Source files for GPIO API should be located at examples\ 0.switch (WAN + LANsta + softAP) \user\user_switch.c.。Please note that actual archive esp8266_sdk_v0.9.1.zip doesn't provide directory \0.switch (WAN + LANsta + softAP)."
Corrected.
koliqi
User avatar
By rudi
#792
koliqi wrote:----Please note that actual archive esp8266_sdk_v0.9.1.zip doesn't provide directory \0.switch (WAN + LANsta + softAP)."
Corrected.
koliqi


thank you for clearing this ;-)
is there a other way to get the example with user_switch.c ?
i need a construction in switching the GPIO by code
i try
as low-level output:
gpio_output_set(0,BIT2, BIT2, 0);


then i will set GPIO2 low/high
GPIO_OUTPUT_SET(gpio_no, bit_value )

with
GPIO_OUTPUT_SET(BIT2, 0 )
and
GPIO_OUTPUT_SET(BIT2, 1 )

but this "sh*t happens" ;-)

a little work how to to this would be fine if someone can help in this

best wishes
rudi
;-)