2013 Embedded Systems - Grant Ford
Thursday, 13 June 2013
21 - Random
void setup()
{
Serial.begin(9600);
}
int count = 0;
void loop()
{
while (count < 100)
{
Serial.println(random(1,7));
count ++;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment