How to Make a Blinking LED in FLOWSTONE.

by Mjtrinihobby in Circuits > Software

2880 Views, 31 Favorites, 0 Comments

How to Make a Blinking LED in FLOWSTONE.

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

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

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

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

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.