...........................................................................
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.
...............................................................................................................................................
Serial Input basics.
For instance using the words "9v battery" in the search box one could find lots of reasons why this may be a bad idea.
.........................................................................................................
The events portrayed in this post are not all true. The names are not real names of real people and real organizations.
..............................................................................