Sign in to follow this  
Followers 0
BitsNBytesRookie

Random Number In SCL (Siemens CPU1500)

1 post in this topic

Hello, For a small project I want my SCL code to come up with a random number between 0 and 3. There are no functions that are capable of producing these random numbers. So how should I approach doing this? I have read about some algorithms on the internet, but pretty much all of them are really hard to understand or won't produce the desired result. Anybody that has a good idea? Or maybe some sample code? Thanks in Advance. -BitsNBytesRookie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0