Random number between a range

DSP related issues, mathematics, processing and techniques
Post Reply
Maryirita
Posts: 16
Joined: Sun Dec 07, 2014 7:08 pm
Location: Colombia

Random number between a range

Post by Maryirita »

Hello guys,
I want to do a program that show a random number between a determinated range and do it the times that i want , for example, i need 5 numbers randomnly between 1 to 10 one after another, i tried to do it but just work one time or may i don't know how show many numbers . Thank youuuu
Attachments
rand.fsm
(120.27 KiB) Downloaded 1480 times
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Random number between a range

Post by Tronic »

Hi Maryirita
like this?
Attachments
rnd_nbr.fsm
(131.33 KiB) Downloaded 1523 times
Maryirita
Posts: 16
Joined: Sun Dec 07, 2014 7:08 pm
Location: Colombia

Re: Random number between a range

Post by Maryirita »

Hi Tronic,
Yes , like that, but you could explain me what mean "watch in_avr" please?
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Random number between a range

Post by Tronic »

The watch method is used to "watch" the value in the Ruby Editor view portion for debug
this is explained in FlowStone User Guide pag.155
Maryirita
Posts: 16
Joined: Sun Dec 07, 2014 7:08 pm
Location: Colombia

Re: Random number between a range

Post by Maryirita »

Thank you very much , Tronic !

Hug :)
BobF
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Random number between a range

Post by BobF »

Hello Tronic,

Thanks a lot, I have been looking for just such a rnd generator.
Keep up the great work!

Later then, BobF.....
Post Reply