const int button = A0; // THIS IS ONE OF THE ANALOG PINS A0-A5 ON UNO
PINS O AND I ARE TRANSMIT AND RECEIVE
if you do not have any 10k resistors
http://arduino.cc/en/Tutorial/DigitalPins
http://arduino.cc/en/Tutorial/AnalogInputPins
Read the two websites above too
btw
Notes for example code below: See the SMARTWAV.h file for the Arduino three Arduino pins to use.
make sure u connected the right pins
or change the pins as follows:
/********************************************************
USER DEFINITIONS
********************************************************/
#define TXPIN 3 //software UART Transmit pin - Connect this pin to SmartWAV RX pin
#define RXPIN 2 //software UART Receive pin - Connect this pin to SmartWAV TX pin
#define RESET 4 //reset - Connect this pin to SmartWAV reset pin