randomSeed


randomSeed() \ Language (API) \ Wiring ALPHA 1.0 Search wiring.org.co: Language (A-Z) \ Libraries \ Environment \ Learning \ Hardware Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know. Name randomSeed() Examples void setup() { Serial.begin(57600); randomSeed(20); } void loop() { int randNum = random(0, 500); Serial.println(randNum, 2); delay(500); } Description Sets the seed value for random(). By default, random() produces different results each time the program is run. Set the value parameter to a constant to return the same pseudo-random numbers each time the software is run. Syntax randomSeed(value); Parameters value int Returns None Usage Application Related random() Updated on September 16, 2010 09:16:47pm PDT Wiring is an open project initiated by Hernando Barragán. It is developed by a small team of volunteers. © Info, Processing © Info

Wyszukiwarka

Podobne podstrony:
Random?ts of Kindness
random
random jokes
random page
random sample
module random
randomsamatch
random?cess iterator
random number
random name
randomsamatch
Uniform Random Number
Random
randomiz
random 4
random place

więcej podobnych podstron