CubeCell-Arduino
CubeCell-Arduino copied to clipboard
Error compiling `TX_test` example in Arduino IDE
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.
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: https://github.com/HelTecAutomation/CubeCell-Arduino/pull/245
It's just one line that needs to be changed right now. Hope it helps.