From 1cfb949f27a0b89b6d1bba77e9521d4657fd7a02 Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Sun, 30 Jun 2024 18:48:55 +0100 Subject: [PATCH] Update dimmer_control.md Added logic demo --- docs/dimmer_control.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/dimmer_control.md b/docs/dimmer_control.md index fdcda71..d741f2d 100644 --- a/docs/dimmer_control.md +++ b/docs/dimmer_control.md @@ -1,6 +1,6 @@ # Dimmer Control -This is not provided as a demo with a solution as it is sufficiently similar to other ideas presented, but different enough that it might be of interest for someone to try. Consider a room light dimmer control that can be incremented and decremented in brightness. +Consider a room light dimmer control that can be incremented and decremented in brightness of the main light. This is a digital version of the classic analogue dimmer that you rotate. ![Dimmer Controller Sequence](./images/sim_controls/dimmer_control_demo.gif) @@ -31,3 +31,19 @@ Now we just need to add the output assignments, e.g. using a `case` statement, t | 2 | "1100" | | 3 | "1110" | | 4 | "1111" | + + +## Non-Finite State Machine + +An implementation using a two-way shift register. The FSM implementation is perhaps more descriptive and hence easier to understand. + +
+ +