{Chilicode}
Long RandNumber1;
Long RandNumber2;
Void Setup(){
Serial.Begin(9600);
RandomSeed(AnalogRead(0));
}
Void Loop(){
RandNumber1 = Random(300);
Serial.Print("Number1 = ");
Serial.Println(RandNumber1);
RandNumber2 = Random(10, 20);
Serial.Print("Number2 = ");
Serial.Println(RandNumber2);
Delay(2000);
}
{/Chilicode} |