sketch_feb16b.cpp:2:27: error: NewSoftSerial.h: No such file or directory
sketch_feb16b:7: error: 'NewSoftSerial' does not name a type
sketch_feb16b.cpp: In function 'void setup()':
sketch_feb16b:31: error: 'cell' was not declared in this scope
sketch_feb16b.cpp: In function 'void loop()':
sketch_feb16b:52: error: 'cell' was not declared in this scope
If you're using one of these libraries, you need to install it first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import Library menu. For details, see the page on the Arduino environment.
LyMax:
I downloaded NewSoftSerial but it must be installed in that file?
Paul: I do not understand?!
There are hardware serial ports on all Arduinos. Some have more than one. On all of them, the hardware serial port is connected to pins 0 and 1. The HardwareSerial class, instanced as Serial, is designed to manage those two pins.
Any other pair of pins can be used for serial I/O, using NewSoftSerial. But, NewSoftSerial should NOT be used to do software serial on the hardware pins.
There is already a class that can do the (much more robust and rapid) job of serial I/O on those pins.