How to Make a Blinking LED in FLOWSTONE.
by Mjtrinihobby in Circuits > Software
2896 Views, 31 Favorites, 0 Comments
How to Make a Blinking LED in FLOWSTONE.
![banner-flowstone2-white-short.jpg](/proxy/?url=https://content.instructables.com/F3V/CHWC/IKYGCUTE/F3VCHWCIKYGCUTE.jpg&filename=banner-flowstone2-white-short.jpg)
For those of us who use Flowstone, the standard LED module is great but does not blink when turned on via software. In cases where a visual annunciation is needed to grab the attention of an operator, blinking is necessary. Read on for how I achieved this feature.
Getting a Repeating Pulse.
![Clipboard03.jpg](/proxy/?url=https://content.instructables.com/FFD/H74Q/IKYGCVMN/FFDH74QIKYGCVMN.jpg&filename=Clipboard03.jpg)
I used a Tick to give me 25 pulses per second. Using a trigger pulse divider, the pulse output is now 1 time per second or 1Hertz. If the division is made with a smaller integer than the pulse rate will increase.
Counting the Pulses.
![Clipboard04.jpg](/proxy/?url=https://content.instructables.com/F92/056Z/IKYGCYDP/F92056ZIKYGCYDP.jpg&filename=Clipboard04.jpg)
Using a counter primitive, I counted the pulses in order to be able to know when the LED must come on and off.
Converting to Boolean.
![Clipboard06.jpg](/proxy/?url=https://content.instructables.com/FTO/3KH5/IKYGCZ7D/FTO3KH5IKYGCZ7D.jpg&filename=Clipboard06.jpg)
This is how I converted pulses to good ole Boolean that toggles between TRUE and FALSE. The output of the selector gives this repeating logic state to the LED.
Complete Schematic.
![Clipboard07.jpg](/proxy/?url=https://content.instructables.com/FMW/9SVK/IKYGCZGV/FMW9SVKIKYGCZGV.jpg&filename=Clipboard07.jpg)
So this is the complete schematic on how to make a blinking LED in flowstone. I hope it will be of use to you enthusiasts.