You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While compiling it was throwing me errors saying "Serial1 was not declared in HWSerial.cpp". As a chain reaction there were several other chain reaction errors. So I looked into the HWSerial.cpp file. and I put a new line after these two line at the begining:
#include "HWSerial.h"
#ifdef MEGA
It's just defining Serial1 and it looks like
HWSerial Serial1;
SO totally it looks something like :
#include "HWSerial.h"
#ifdef MEGA
HWSerial Serial1;
HWSerial::HWSerial()
{
Serial1.begin(9600);
}
and so on
....
....
....
After that it compiled.. But I don't know if it's correct.
The text was updated successfully, but these errors were encountered:
While compiling it was throwing me errors saying "Serial1 was not declared in HWSerial.cpp". As a chain reaction there were several other chain reaction errors. So I looked into the HWSerial.cpp file. and I put a new line after these two line at the begining:
It's just defining Serial1 and it looks like
HWSerial Serial1;
SO totally it looks something like :
After that it compiled.. But I don't know if it's correct.
The text was updated successfully, but these errors were encountered: