Questions and discussions about the software that runs on the TD RF module itself.
stimpoff
 
Posts: 7
Joined: Sun Mar 20, 2016 11:42 pm

How generate random number

by stimpoff Tue Dec 13, 2016 8:06 am

Hello, I am struggling to do basic thing as generate random integer is... :cry: Could you somebody help me please generate (pseudo) random number in SDK.

Thank you
User avatar
mstempin
 
Posts: 168
Joined: Thu May 07, 2015 9:24 am

Re: How generate random number

by mstempin Wed Dec 14, 2016 4:32 pm

You can use the "extern uint32_t __BOOTVARIABLE TD_RandomValue" as a seed to a PRNG function.
Return to Firmware

Who is online

Users browsing this forum: No registered users and 22 guests