pH kit issues

Hello,

I am working on a project where I am taking pH readings using the atlas scientific pH kit. It works great on the arduino Uno but wont compile on the Yun. I keep getting the following problem. Does anyone know how to solve this problem?

"In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:118,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:197,
from sketch_feb17a.ino:5:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/USBAPI.h:179: error: expected ',' or '...' before numeric constant"

could you please share your code?

Ok I fixed the issue by commenting out the line that gives the error in the relevant header file. The code now builds but I get nothing on the serial monitor showing values. It works flawlessly on the uno though. I used the code from the site I bought the kit.

http://atlas-scientific.com/_files/code/Arduino-sample-code-EZ-COM.pdf

Your code:

#include <SoftwareSerial.h> 
#define rxpin 2 
#define txpin 3 
SoftwareSerial myserial(rxpin, txpin);

http://arduino.cc/en/Reference/SoftwareSerial#.UwafNvldX04

Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

Leonardo and Yun have same chipbased. Please use for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

Excellent point thank you for that but I tried changing the RX and TX pins and still there is no response on the serial monitor. Im thinking im just going to use the arduino uno with a wifi shield as the Yun seems have some issues. =(