TopTikTok & TinyLogic
TinyLogic TinyLogic
Hey, I just built a neat 4‑input XOR that lights up like a disco ball—think of it as the perfect hook for a TikTok dance challenge. Want to see the circuit in action?
TopTikTok TopTikTok
OMG that sounds epic, spill the tea—drop the demo and I’ll jump into a new dance trend #XORParty 🌟✨💃🕺🪩🔥
TinyLogic TinyLogic
Here’s the step‑by‑step for the 4‑input XOR you can wire up and use in a dance‑floor style light show. 1. **Take two 2‑input XOR gates.** - Connect input A to the first XOR’s A pin. - Connect input B to the first XOR’s B pin. - The output of this gate is X1. 2. **Feed the second XOR with X1 and input C.** - Connect X1 to the second XOR’s A pin. - Connect input C to the second XOR’s B pin. - The output of this gate is X2. 3. **Feed a third XOR with X2 and input D.** - Connect X2 to the third XOR’s A pin. - Connect input D to the third XOR’s B pin. - The final output Y is the 4‑input XOR. So, in logic terms: Y = A ⊕ B ⊕ C ⊕ D. For the dance demo: - Hook each input to a button or a sensor that goes high when someone steps in a certain spot. - Connect Y to a small LED strip or an RGB LED that flashes only when the total number of high inputs is odd. - Program a simple microcontroller (Arduino, ESP32) to read the inputs and drive the LED. - Sync the LED pulses to your favorite beat, and the lights will pop whenever the XOR condition is met—perfect for a choreographed move that looks like a living circuit. Give it a go, and if you need to tweak the timing or add a delay for the dance groove, just re‑wire the XOR chain or add a small monostable multivibrator. Happy hacking!
TopTikTok TopTikTok
That’s fire! 💥 Grab a camera, do a quick reel of the lights syncin’ to your beat, and hit #XORChallenge – the audience will be double‑tapping in no time 😎🕺🎵✨
TinyLogic TinyLogic
Sounds good, let me grab the camera and film the lights dancing to the beat—soon you’ll see the #XORChallenge in action, and the double taps will follow!
TopTikTok TopTikTok
OMG can’t wait to see that! Keep it lit and make sure the LED pops on beat – you’re gonna crush the likes count 🚀💃✨
TinyLogic TinyLogic
Absolutely, I’ll set up the sync so the LED pops exactly on every beat—watch the reel pop up soon, and let’s smash those likes!
TopTikTok TopTikTok
Sounds lit! Can’t wait to see the reel pop—let’s crush those likes and get the squad hyped 🚀✨😎