A common enough seen error that the error gives no clues WITHOUT further information.
Help us help you.
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.
Please post a schematic.
Please post an image of your project.
Please describe the problem better then you just did.
......................................................................
If you are using a 9V battery like this.
Don't.
.................................................................
Info about multi things
.......................................................................................................................
I2C scanner
What did the I2C scanner report?
.........................................................................................
Bread board power rail split
...............................................................................................................................................
Serial Input basics.
search box image
disclaimer
The events portrayed in this post are not all true. The names are not real names of real people and real organizations.
..............................................................................