Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling TX_test example in Arduino IDE #244

Open
agilly opened this issue Jul 21, 2022 · 1 comment
Open

Error compiling TX_test example in Arduino IDE #244

agilly opened this issue Jul 21, 2022 · 1 comment

Comments

@agilly
Copy link

agilly commented Jul 21, 2022

Everything is in the title. I select Examples>Basic>serial>TX_test and hit 'Compile'. This gives the following error:

C:\Users\Mbl\Documents\Arduino\hardware\CubeCell\ASR650x-Arduino\libraries\Basics\src\softSerial.cpp: In static member function 'static void softSerial::receiverBegin()':
C:\Users\Mbl\Documents\Arduino\hardware\CubeCell\ASR650x-Arduino\libraries\Basics\src\softSerial.cpp:129:7: error: 'start' does not name a type
  auto start = millis();
       ^
C:\Users\Mbl\Documents\Arduino\hardware\CubeCell\ASR650x-Arduino\libraries\Basics\src\softSerial.cpp:161:22: error: 'start' was not declared in this scope
  } while (millis() - start < SOFTSERIAL_RX_TIMEOUT);

I am using Arduino IDE on Windows. This happens whether I add the board through the Board Manager or using the instructions found at https://github.com/HelTecAutomation/CubeCell-Arduino/blob/master/InstallGuide/windows.md.

Any help appreciated.

@SirSundays
Copy link

Hi,

I had the same problem. It worked for me on Linux but not Windows.
Was a really quick fix tho. I already created a pull request:
#245

It's just one line that needs to be changed right now. Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants