Select File > Preferences... from the Arduino IDE menus. The " Preferences " dialog will open. Check the box next to " Show verbose output during: ☐ compilation " in the " Preferences " dialog. Click the OK button. Select Sketch > Verify/Compile from the Arduino IDE menus. Wait for the compilation to fail. You will see a " Compilation error: ... " notification at the bottom right corner of ...
Serial data is slow by Arduino standards When anything sends serial data to the Arduino it arrives into the Arduino input buffer at a speed set by the baud rate. At 9600 baud about 960 characters arrive per second which means there is a gap of just over 1 millisecond between characters.
Works with many different ultrasonic sensor models: SR04, SRF05, SRF06, DYP-ME007 & Parallax PING)))™. Option to interface with all but the SRF06 sensor using only one Arduino pin. Doesn't lag for a full second if no ping echo is received like all other ultrasonic libraries. Ping sensors consistently and reliably at up to 30 times per second. Compatible with the entire Arduino line-up (and ...
I have the same error, when I was testing it I found that it was the bluetooth module, for some reason if it is to the current to program my Arduino gave me that error, my solution was to program the Arduino UNO without a connected module and it worked.
Please don't hijack threads @araa-araaa. I have split your post out to its own topic. Hijacking is against the Arduino forum rules. The reason is that it may sidetrack the discussion, even preventing the creator of the topic from getting the assistance they need. It also reduces your own chances of getting assistance. This is basic forum etiquette, as explained in the "How to get the best out ...
The simplest way would be to use a program such as puTTY in place of the Arduino Serial Monitor. puTTY can save data into a file. You could also write a program on your PC to receive the data and save it into a file. This Python - Arduino demo should provide some ideas - it would need to be extended a little to save the data into a file. You could do the same sort of thing with Processing ...
You declare variables in the scope of setup (), and you try to use them in the scope of loop (), so the compiler tells you that you haven't declared them to be used in the scope of loop () . . . . What's the confusion? Put your variable declarations before setup () by where all of your #define 's are and they'll be global.