This code example demonstrates a CAPSENSE™-based proximity sensing design to control the brightness of an onboard LED. It helps to learn how to design a proximity sensor using a PSoC™ 4 device, and ...
Connect a 4k7 Ω pull-up resistor between the 1-Wire data line and 5V power. Note this applies to the Arduino platform, for ESP32 and 8266 you'll need to adjust the resistor value accordingly. For ...