Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

How can I identify the abilities of my ESP32 module?

I discovered the ESP Product Selector (official website) to answer this question. Here's the board specs, dataheets and all the rest for my board. Now you can go to the main page find your product in ...
raddevus's user avatar
  • 422
1 vote

Delay function not working with ESP32

Placing a delay within any built-in function pertaining to the wireless radio will only halt operations on the Wi-Fi core or core0. Your main loop code wont be affected by a delay placed in core0. It ...
Rob Moore's user avatar
0 votes
Accepted

ModuleNotFoundError: No module named 'serial' when compiling for ESP32 in Arduino IDE

Try pip install pyserial arduino-esp32 uses esptool which is written in Python and uses pyserial. So you are probably getting this error on upload, not compiling. Maybe it is neither packaged in the ...
timemage's user avatar
  • 5,299
0 votes

How to connect two devices via i2c?

I guess you are using this library from pololu. In the Readme file under "Library reference" you can find the following entry: `bool init(deviceType device, sa0State sa0) Initializes the ...
chrisl's user avatar
  • 16.3k
0 votes

74HC595 chip with 7 segment display constantly displays either all 1's or all 0's

First of all, the code in the question does not match the code in "the supposed solution". ShiftOut function is pretty slow, so it could work as an extra delay when put between latch ...
Matt's user avatar
  • 147
4 votes
Accepted

74HC595 chip with 7 segment display constantly displays either all 1's or all 0's

I can't believe a one second delay is needed to clock data out. I have loops that clock out bits using SPI with no delays, which is even faster than shiftOut. See Using a 74HC595 output shift register ...
Nick Gammon's user avatar
  • 38.3k
3 votes

74HC595 chip with 7 segment display constantly displays either all 1's or all 0's

I would've never ever expected this, but turns out that my MCU was 'too fast' (i suppose) and so nothing would show. This is the code before the fix: digitalWrite(latchPin, LOW); // Latch the ...
Niko's user avatar
  • 73

Top 50 recent answers are included