EmbeddedProject
This blog follows my attempts to create things using the Arduino Duemilanove board and components
Pages
Home
OSC IPhone and Arduino
Monday, May 3, 2010
Task 34: 100 Random Numbers
int min = 1;
int max = 100;
int randNumber = 0;
void setup(){
Serial.begine(9600);
}
void loop() {
for(int i = 0; i >= 100; i++) {
randNumber = random(300);
Serial.println(randNumber);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment