Closed hoekbrwr closed 7 years ago
Yes. You're missing a flag I forgot to enter.
Quick workaround: update sonoff_template.h line 111 from
0, 0, 0, 0, 0, 0, 0,
to
GPIO_USER, // GPIO05 Optional sensor
0, 0, 0, 0, 0, 0,
What about line 109? GPIO3 is not there! A lot of other modules also define 3 and 4, but do they have them? I now of Basic only having GPIO14
GPIO03 is the RXD port and some people are using it as it is easily accessible by the programming header.
I am confused now. The pins GPIO4 and 5 are called GPIO3 and 4 in your template. I connected a LED WS2812 string to GPIO4 and configured that, works very nice. I noticed @mihalski with his Huzzah Feather defined the template with GPIO4 and 5 available for that module. On the board it is called 4 and 5! What is going on here, I am obviously missing something?