I have a D-Type flip flop circuit set up to flash a pair of LEDs on and off in turn. One LED is connected to Q and the other connected to NOT Q. The data pin is also connected to NOT Q. This means that every time there is a clock pulse, the LEDs swap state, so one is on and the other is off.
I want to be able to make the same 2 LEDs flash at a different brightness when an LDR circuit outputs a logic 1. The LER is connected to a Schmitt Inverted so that I get a digital output.
When the light level falls below a certain level (Schmitt will output logic 1), I want the LEDs to flash but at a lower brightness.
Incase it makes a difference to the circuit design, I will be using a PICAXE microcontroller to control when the flashing sequence is active. I was also assuming that the Schmitt output would go into the microcontroller, on which case it would be easier to assume that the flip flop is given power from the microcontroller, i.e the flip flop is only on when the microcontroller output is at logic one
Hopefully that description wasn't too confusing, and any help that I could get would be very much appreciated.
I want to be able to make the same 2 LEDs flash at a different brightness when an LDR circuit outputs a logic 1. The LER is connected to a Schmitt Inverted so that I get a digital output.
When the light level falls below a certain level (Schmitt will output logic 1), I want the LEDs to flash but at a lower brightness.
Incase it makes a difference to the circuit design, I will be using a PICAXE microcontroller to control when the flashing sequence is active. I was also assuming that the Schmitt output would go into the microcontroller, on which case it would be easier to assume that the flip flop is given power from the microcontroller, i.e the flip flop is only on when the microcontroller output is at logic one
Hopefully that description wasn't too confusing, and any help that I could get would be very much appreciated.