Obviously children don’t just become architects straight away; they play with building blocks, they mess around and have fun. The same is true of engineering, and if you will, Red Pitaya’s Visual Programming is the programming equivalent of Lego. Each block performs a basic function, you insert the block in the right place on the screen and your project performs the selected function. Simple as that.
Not only does Visual Programming provide a hugely simplified process, but it also acts as a code translator. So that once you have inserted your block, you are able to see how that function would appear in six different programming languages. This feature really goes a long way towards demystifying the complex world of code languages and will undoubtedly help you, or your child, develop in to a competent engineer.
Here is the simple example on how to make a Blinking LED on you Red Pitaya. As you can see the Visual code is build from few basic blocks:
Repeat block – Will cause continuous executions of everything which is inside the block i.e while loop.
Inside Repeat block we have put two Set Led blocks for switching ON and OFF the LED.
Between ON and OFF states we have added some time delay so we can follow LEDs blinking.