VescUartControl icon indicating copy to clipboard operation
VescUartControl copied to clipboard

Arduino/libraries/VescUart/VescUart.h:45:21: fatal error: arduino.h: No such file or directory #include "arduino.h"

Open lukebelz opened this issue 8 years ago • 3 comments

Not quite sure what I am doing wrong, but I downloaded the zip, unpacked into the libraries folder. Then I tried to run the VescUartSample.ino file in the samples folder. But this is the error I get. I have the right board selected (uno) and the right port selected.

Any ideas or advice on getting started with this library?

Running from ubuntu 16.04 in the off-line IDE enviroment.

lukebelz avatar Dec 31 '17 00:12 lukebelz

Try to use #include <arduino.h>

RollingGecko avatar Dec 31 '17 00:12 RollingGecko

Arduino/libraries/VescUart/VescUart.h:45:21: fatal error: arduino.h: No such file or directory #include <arduino.h>

Still same issue. If I comment that line out, Than I get:

Arduino/vesc_test/vesc_test.ino: In function 'void setup()': vesc_test:11: error: 'Serial1' was not declared in this scope Serial1.begin(115200);

If I change that to Serial instead of Serial1 (On the uno, it should be Serial), then I get this:

Arduino/libraries/VescUart/VescUart.cpp:18: Arduino/libraries/VescUart/local_datatypes.h:25:2: error: 'boolean' does not name a type boolean valUpperButton;

lukebelz avatar Dec 31 '17 00:12 lukebelz

The problem is the miscapitalization of the filename. It should be Arduino.h, not arduino.h

per1234 avatar Feb 06 '18 08:02 per1234