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 ...
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.
Fortunately the amazing Arduino community picked up the slack by providing well maintained unofficial support software. The current recommendation is to use the excellent ATTinyCore boards platform, which has DigiSpark support.
Many times people ask questions about how to fix their LCDs that don't display or displays wrong/random stuff. The following information, when supplied with your thread, will get your problem solved the quickest way. Fixing these problems ends up being mostly a frustrating experience unless the following are provided upfront without any "BUT"s. I believe several other helpers here would agree ...
Disconnect the USB cable of the Arduino board from your computer. Select Tools > Port from the Arduino IDE menus. Take note of the ports, if any, listed in the menu. Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential. Connect the Arduino board to your computer with a USB cable. Select Tools > Port from the Arduino IDE menus. - If a ...
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.