You can't use pins 0 and 1 for the GPS and the serial monitor. You need to either move your GPS to other pins and use SoftwareSerial or use a board that has multiple hardware serial ports.
You can't use pins 0 and 1 for the GPS and the serial monitor. You need to either move your GPS to other pins and use SoftwareSerial or use a board that has multiple hardware serial ports.