juanpintom / Souliss_ESP_Examples

Short examples to use Souliss on ESP8266
https://github.com/souliss/souliss
17 stars 20 forks source link

What are you doing with GPIO15 and what are you doing? #3

Closed tytower closed 9 years ago

tytower commented 9 years ago

In the code // \ Define here the right pin for your ESP module **

define OUTPUTPIN 15

So this is supposed to be held low at boot or it does not boot . So how are you getting around this ass your code is setting the pin as an output . Am I correct in that ?

I notice you have not answered the previous issue either . Have you actually had your code running on an ESP8266?

Testato commented 9 years ago

The core itself set this pin as an Input at the Boot. So you need a pulldown or a manual switch for give to it a low value. After the boot process you can use it like an output pin.

juanpintom commented 9 years ago

Hi!, I actually use ESP12 or ESP12E with an Adapter. GPIO15 is connected to a TIP122 to control a led strip. If you see the adapter it connects GPIO15 to GND with a Pulldown resistor. http://img.dxcdn.com/productimages/sku_379296_1.jpg This is why works with no problems.

Anyway you can use any other pin :P

Regards