if (newseed > 0) seed = newseed; | if (newseed > 0) seed = newseed; | ||||
} | } | ||||
void srandom(uint32_t newseed) | |||||
void srandom(unsigned int newseed) | |||||
{ | { | ||||
seed = newseed; | seed = newseed; | ||||
} | } |
uint32_t random(uint32_t howbig); | uint32_t random(uint32_t howbig); | ||||
int32_t random(int32_t howsmall, int32_t howbig); | int32_t random(int32_t howsmall, int32_t howbig); | ||||
void randomSeed(uint32_t newseed); | void randomSeed(uint32_t newseed); | ||||
void srandom(uint32_t newseed); | |||||
void srandom(unsigned int newseed); | |||||
#include "pins_arduino.h" | #include "pins_arduino.h" | ||||