Go Down

Topic: Trouble with the SoftwareSerail.h in Arduino 1.03 (Read 3 times) previous topic - next topic

Hovic

Jan 08, 2013, 01:51 am Last Edit: Jan 08, 2013, 02:37 am by Hovic Reason: 1
I'm getting an error that says that  PCMSK and PCICR is not declare in scope of SoftwareSerial.cpp lines 399-403 and lines 417-418

this is code that the arduino compiler point me too  in the cpp file
Code: [Select]
if (digitalPinToPCICR(_receivePin))
       {
          *digitalPinToPCICR(_receivePin) |= _BV(digitalPinToPCICRbit(_receivePin));
          *digitalPinToPCMSK(_receivePin) |= _BV(digitalPinToPCMSKbit(_receivePin));
      }

Code: [Select]
if (digitalPinToPCMSK(_receivePin))
             *digitalPinToPCMSK(_receivePin) &= ~_BV(digitalPinToPCMSKbit(_receivePin));

Can anyone please help me fix this error? I get this error with the example that came with the Arduino 1.03 software.


Coding Badly


Hovic


I try softwareSerialExample on different computer and had no problems.

Even thou i redownload the program on my computer that has the problems, there was no change in error

Coding Badly


In which case you need to remove[font=Courier New] SoftwareSerial [/font]from the[font=Courier New] {SketchRoot}/libraries/ [/font]folder.

Hovic

#4
Jan 08, 2013, 04:51 am Last Edit: Jan 08, 2013, 04:54 am by Hovic Reason: 1
the problem started with the arduino 1.02.   but
is it possible that old arduino 1.02 corrupt the SoftwareSerial.h in the updated version arduino 1.03?

Go Up