Sorry team but I feel dummy... I'm not able to get my simple code compile.
I've read all the documentation etc...
This is the code:
#include"AltSoftSerial\AltSoftSerial.h"
AltSoftSerial test1;
void setup()
{
/* add setup code here */
}
void loop()
{
/* add main program code here */
}
I get this error:
Quote:Compiling 'test1' for 'Arduino Yún'
test1.ino:1:40: fatal error: AltSoftSerial\AltSoftSerial.h: No such file or directory
Error compiling
The first line is compiled with the autocomplete functionality, so it should be correct.
I've tried to add the library manually, from the menu, from the library manager... in all possible ways... always get the error.
I get the same error with:
#include<AltSoftSerial\AltSoftSerial.h>
If I change it to this:
#include"AltSoftSerial.h"
then it does give me a syntax error on
AltSoftSerial test1;
Can you please help me? I do really feel dummy
Note that this
#include<AltSoftSerial.h>
AltSoftSerial test1;
void setup()
{
/* add setup code here */
}
void loop()
{
/* add main program code here */
}
compiles correctly in the arduino ide
Quote:
Sketch uses 1,718 bytes (5%) of program storage space. Maximum is 28,672 bytes.
Global variables use 201 bytes (9%) of dynamic memory, leaving 1,847 bytes for local variables. Maximum is 2,048 bytes.
but does not compile in Visual Studio
I followed the standard configuration on the Visual Studio plugin.