How can I display RANDOM function with my Arduino Shield LCD / keyboard??

Hello everybody,

  1. ** How can I generate a random count (RANDOM FUNCTION) between two numbers of a range (min = 1 and max = to be defined) for each click on the defined keyboard button, without repeating the numbers ??

  2. ** How can I display this RANDOM program with my Arduino Shield LCD / keyboard ??

---> simply : how can I display this code random by Arduino Shield LCD / keyboard ??


long randNumber;

void setup() {

Serial.begin(9600);
randomSeed(analogRead(0));
}

void loop() {

randNumber = random(1,200);
Serial.println(randNumber);

delay(50);

}


I tested this code attached by picture, but it doesn't work !!

Thank you for help.