Hey everyone, I wrote a sketch to test out manipulating variables with bitwise operators, and I wanted to see the result I got, so I used Serial.println(var); to transmit the var once the arduino finished with the bitwise operation. Unfortunately, I did not think this through and placed that function in the loop() function. Now, my arduino is continuously outputting one variable and I cannot even open the serial monitor to view the data. I think it is outputting too much for the serial monitor to read. Also, I can no longer upload sketches anymore, probably because the arduino is just constantly sending serial data.
Please help me! What can I do to fix it?