I'm trying to make a Fortnite drop spot chooser (one that will take in a bunch of values in an array, and will give a random one), and I keep getting faced with a blank LCD screen.
// need to know the number of elements in location[]
const char* location[9]={"Breakwater Bay", "The Citadel", "Shattered Slabs", "Anvil Square", "Frenzy Fields", "Faulty Springs", "Slappy Shores", "Brutal Bastion", "Lonely Labs"};
void setup() {
Serial.begin(115200);
for (int i=1; i<5; i++)
Serial.println(location[random(0,9)]); //generate index 0 to 8
}
void loop() {
}