I'd like to control some digital ICs with a ESP8266-12.
- How can I switch 2 pins to HIGH in the same moment?
- How can I switch one to LOW and the other to HIGH in the same moment?
- Is it possible with every port or only with grouped ports and how are the groups?
MichaelT
8873 gold badges8 silver badges22 bronze badges
-
1Maybe have a look in this directionchrisl– chrisl2018年09月19日 11:01:05 +00:00Commented Sep 19, 2018 at 11:01
1 Answer 1
See the datasheet: esp8266-technical_reference_en
Paragraph 2.2.2 shows how to use the output registers.
With the registers GPIO_OUT, GPIO_OUT_W1TS and GPIO_OUT_W1TC you can set or clear multiple GPIOs.
answered Sep 19, 2018 at 11:32