I use OneWire lib to read DS18B20 (pin 2 of ESP8266-12) and I add 7-segment module (IC 74595 built-in) to display temperature value, I found 7-segment blink every time while OneWire executed. When I comment out OneWire lib everything work as normal
Let me show my schematic:
ESP8266-12
Pin 2 <-----> DS18B20
Pin14 <------> SCLK 74595
Pin 4 < -----> Latch 74595
Pin5 <------> Data in 74595
I use TIcker lib to display 7-segment
#include <Ticker.h>
Ticker Segment;
Segment.attach_ms(1,showDisplay);
I test only Ticker lib my 7-segment work OK
after I add OneWire lib my 7-segment is blink when DS18B20 is read.
Could you please any suggest ?