HELP! OLED code not working

I am trying to add an OLED display to my robot to display the readout from the serial monitor. When I try to compile it it gives me an error "Error compiling for board Arduino Uno". I don't know if this is even close to correct. My problem is, when I have it connected to my computer the robot does what I want it to. When I use the 9v battery pack that is on the robot it acts different. I put fresh batteries in and still have the issue of not functioning like it's programmed. My idea was to add an OLED so I could see if the photoresistor is reading the same on the battery as it is on the computer power. If it's different I will adjust the program to function with the readings while it's on the battery power. Thanks in advance for any help.

#include <Servo.h>
#include <SPI.h>
#include <Wire.h>

#include <Adafruit_GFX.h>

#include <Adafruit_SSD1306.h>

#define OLED_RESET 4

Adafruit_SSD1306 display(OLED_RESET);

#define NUMFLAKES 10

#define XPOS 0

#define YPOS 1

#define DELTAY 2

#define LOGO16_GLCD_HEIGHT 16

#define LOGO16_GLCD_WIDTH 16

static const unsigned char PROGMEM logo_bmp[]={B00000000, B11000000,
B00000001, B11000000, B00000001, B11000000, B00000011, B11100000, B11110011,
B11100000, B11111110, B11111000, B01111110, B11111111, B00110011, B10011111,
B00011111, B11111100, B00001101, B01110000, B00011011, B10100000, B00111111,
B11100000, B00111111, B11110000, B01111100, B11110000, B01110000, B01110000,
B00000000, B00110000 };

#if (SSD1306_LCDHEIGHT != 64)

//#error("Height incorrect, please fix Adafruit_SSD1306.h!");

#endif

Servo myservo1;  
Servo myservo2;
int white=800;
int black=500;
#include <RGBLed.h>

RGBLed led(5, 6, 7, RGBLed::COMMON_CATHODE);

void setup() {

Serial.begin(9600);

display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // initialize with the I2C addr 0x3D (for the 128x64) // init done // Show image buffer on the display hardware.

display.display(); //delay(2000);

display.setTextSize(1);

display.setTextColor(WHITE);

display.setCursor(10, 0);

display.clearDisplay();

display.println("INPUT YOUR TEXT HERE: ");

// invert the display

display.invertDisplay(true);

display.invertDisplay(false);

display.display();

display.clearDisplay(); 

  led.setColor(255, 255, 255); 
  myservo1.attach(12);
  myservo2.attach(13);
 

  int val = analogRead(2);
Serial.println("white = "); Serial.print(white);
Serial.print("black="); Serial.print(black);
Serial.print("val="); Serial.print(val);

if(val>white) {slow_left(); }
else if (val<black) {slow_right(); }
else {slow_forward();}
}

void slow_forward()
{
  myservo1.writeMicroseconds(1400);
  myservo2.writeMicroseconds(1530);
}

void slow_right()
{
  myservo1.writeMicroseconds(1410);
  myservo2.writeMicroseconds(1600);
}
void slow_left()
{
  myservo1.writeMicroseconds(1275);
  myservo2.writeMicroseconds(1500);
}
void loop() {
  while (1) {

display.setTextSize(1);

display.setTextColor(WHITE);

display.setCursor(10, 0);

display.clearDisplay();

display.println("input:");

printText();

display.display();

}
}
void printText(void){
  String s;
  if(Serial.available()){
    s=Serial.readString(); //getting string input in variable "s"
    display.println(s);
    display.display();
    display.println("\n");
  }
  delay(1000);
}

Always show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

Why are you using SPI ?

Schematics, schematics, schematics.... Else You might be insulted by guesses often being correct for questions like Yours. Powering things.....

hopefully y'all can make sense of this. I couldn't find the photoresistor I have. It's just a 2 lead photoresistor. The servos are continuous servos and I didn't add the resistors that are in my actual circuit. The problem isn't the wiring, it's the code. The robot works without the OLED just not like I would like it to/ need it to. One thing I realized is I have my PWM wires to the servos wired to 12 and 13, I'm about to move them to 10 an 11 and see how things do.

To begin with SDA is A4 and SCL is A5.......
Servos won't run off the 5V from the Arduino, power separately.
Don't forget to common the ground on your "additional" power for the servo.
What are you using for power.?

The above is not a schematic.....better to just draw out with pen and paper than use these useless things.

LEDs require current limiting resistors.

I have a 220 ohm resistor on each leg of the rgd led. The selections in the website i used to draw the picture out quickly didnt have much of a selection.

This robot is for engineering fundamentals class and we were told that the board will power the servos. However there is a troubleshooting power point that says if we have issues with powering the servos to add a 470 micro ohm capacitor. I do have that in the circuit. The OLED is not a requirement it is something i wanted to incorporate.

All that aside my main problem is the ide said it was having issues compiling for an Uno board.

In the IDE, Please use File>Preferences and select "Show verbose output during compilation" and then copy and paste the complete error message in your next forum post.

Which RGBled library are you using?

Please post the error message. With the RGBled library I tried, WHITE has a conflicting declaration with the Adafruit SSD1306 library.

What exactly is the robot suppose to do? The code reads the analog input in setup, sets the speed of the servos, then never reads the analog input again, so the robot should just constantly run in circles either to the left or right (straight ahead would be nearly impossible to achieve). If it is responding differently when connected to USB, that is likely caused by the board constantly resetting and running setup over and over again.


C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\power\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\power\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\power\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10819 -build-path C:\Users\power\AppData\Local\Temp\arduino_build_392011 -warnings=none -build-cache C:\Users\power\AppData\Local\Temp\arduino_cache_524636 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\power\OneDrive\Desktop\Engineering 100\display__Follow_the_line_In_Class_Servo_12_6_22\display__Follow_the_line_In_Class_Servo_12_6_22.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\power\OneDrive\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\power\OneDrive\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\power\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10819 -build-path C:\Users\power\AppData\Local\Temp\arduino_build_392011 -warnings=none -build-cache C:\Users\power\AppData\Local\Temp\arduino_cache_524636 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\power\OneDrive\Desktop\Engineering 100\display__Follow_the_line_In_Class_Servo_12_6_22\display__Follow_the_line_In_Class_Servo_12_6_22.ino
Using board 'uno' from platform in folder: C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.5
Using core 'arduino' from platform in folder: C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.5
Detecting libraries used...
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for Servo.h: [Servo@1.1.8]
ResolveLibrary(Servo.h)
  -> candidates: [Servo@1.1.8]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.11.3]
ResolveLibrary(Adafruit_GFX.h)
  -> candidates: [Adafruit_GFX_Library@1.11.3]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for Adafruit_I2CDevice.h: [Adafruit_BusIO@1.12.0]
ResolveLibrary(Adafruit_I2CDevice.h)
  -> candidates: [Adafruit_BusIO@1.12.0]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for Adafruit_SSD1306.h: [Adafruit_SSD1306@2.5.6]
ResolveLibrary(Adafruit_SSD1306.h)
  -> candidates: [Adafruit_SSD1306@2.5.6]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
Alternatives for RGBLed.h: [RGBLed-master@1.0.10]
ResolveLibrary(RGBLed.h)
  -> candidates: [RGBLed-master@1.0.10]
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\avr\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\mbed\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\megaavr\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\nrf52\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\sam\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\samd\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src\\stm32f4\\Servo.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src\\SPI.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src\\Wire.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src\\utility\\twi.c" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\glcdfont.c" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp" -o nul
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src\\RGBLed.cpp" -o nul
Generating function prototypes...
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-IC:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\libraries\\Servo\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\SPI\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\ArduinoData\\packages\\arduino\\hardware\\avr\\1.8.5\\libraries\\Wire\\src" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\power\\OneDrive\\Documents\\Arduino\\libraries\\RGBLed-master\\src" "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp" -o "C:\\Users\\power\\AppData\\Local\\Temp\\arduino_build_392011\\sketch\\display__Follow_the_line_In_Class_Servo_12_6_22.ino.cpp.o"
In file included from C:\Users\power\OneDrive\Desktop\Engineering 100\display__Follow_the_line_In_Class_Servo_12_6_22\display__Follow_the_line_In_Class_Servo_12_6_22.ino:7:0:
C:\Users\power\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1306/Adafruit_SSD1306.h:72:23: error: expected unqualified-id before numeric constant
 #define SSD1306_WHITE 1   ///< Draw 'on' pixels
                       ^
C:\Users\power\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1306/Adafruit_SSD1306.h:67:15: note: in expansion of macro 'SSD1306_WHITE'
 #define WHITE SSD1306_WHITE     ///< Draw 'on' pixels
               ^~~~~~~~~~~~~
C:\Users\power\OneDrive\Documents\Arduino\libraries\RGBLed-master\src/RGBLed.h:45:13: note: in expansion of macro 'WHITE'
  static int WHITE[3];
             ^~~~~
Using library Servo at version 1.1.8 in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\Servo 
Using library SPI at version 1.0 in folder: C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.5\libraries\SPI 
Using library Wire at version 1.0 in folder: C:\Users\power\OneDrive\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.5\libraries\Wire 
Using library Adafruit_GFX_Library at version 1.11.3 in folder: C:\Users\power\OneDrive\Documents\Arduino\libraries\Adafruit_GFX_Library 
Using library Adafruit_BusIO at version 1.12.0 in folder: C:\Users\power\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO 
Using library Adafruit_SSD1306 at version 2.5.6 in folder: C:\Users\power\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1306 
Using library RGBLed-master at version 1.0.10 in folder: C:\Users\power\OneDrive\Documents\Arduino\libraries\RGBLed-master 
exit status 1
Error compiling for board Arduino Uno.

Conflicting definitions of WHITE, in the Adafruit_SSD1306 library WHITE is defined as 1, in the RGBLed library WHITE is an array of three integers. You would need to modify one of the libraries to eliminate the conflict.

Yes, as @david_2018 says, there is a library conflict.

It's not clear to me how you are planning to use the rgb led. In the code you posted you only set it to white.

If that's all you want to do, perhaps you don't need the RGBLed library.

You should be able to digitalWrite each of the color pins high and get the same white output as the library code which is just using an analogWrite with 255 on each of the pins.

I'm not sure what it is that you are trying to say here. I have a mega that I wired the screen up to and used the same library and it has WHITE in it and it did fine. Of course I was just playing around with it and didn't write the code. I just copy and pasted and it worked. I'm not much of a programmer but I am trying to learn.

That's all I needed was a white LED. It helps the photo sensor in dim lighting situations. I didn't even think about just doing a digitalWrite and setting the values to 255. All I was trying to do is add an OLED to my robot. It's not a big deal if it doesn't work. It would just be nice to be able to read the serial monitor with it not hooked up to the computer, that is all. Thanks for the tip and suggestions so far.