From 960ed8ed607f6e8f28e726c97c5725b0442ec8a3 Mon Sep 17 00:00:00 2001 From: ImplFerris Date: Thu, 26 Dec 2024 19:47:29 +0530 Subject: [PATCH] dimming illusion --- src/led/index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/led/index.md b/src/led/index.md index e0eb5e4..b55983b 100644 --- a/src/led/index.md +++ b/src/led/index.md @@ -7,4 +7,17 @@ To make it dim, we use a technique called PWM (Pulse Width Modulation). You can We will gradually increment the PWM's duty cycle to increase the brightness, then we gradually decrement the PWM duty cycle to reduce the brightness of the LED. This effectively creates the dimming LED effect. +## The Eye +" +Come in close... Closer... + +Because the more you think you see... The easier it’ll be to fool you... + +Because, what is seeing?.... You're looking but what you're really doing is filtering, interpreting, searching for meaning... +" + +Now, here's the cool part: when this switching happens super quickly, our eyes can't keep up. Instead of seeing the blinking, it just looks like the brightness changes! The longer the LED stays ON, the brighter it seems, and the shorter it's ON, the dimmer it looks. It's like tricking your brain into thinking the LED is smoothly dimming or brightening. PWM: the magician of electronics! + + pico2 +