ELEGOO UNO Smart Robot Car Kit V 4.0

Hi There,

I am getting the following error while uploading the code to the board.

C:\Users\00000\Downloads\Compressed\ELEGOO Smart Robot Car Kit V4.0 2023.02.01\02 Manual & Main Code & APP\02 Main Program   (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20230201\SmartRobotCarV4.0_V1_20230201.ino:9:21: fatal error: avr/wdt.h: No such file or directory
compilation terminated.

I have got the code from the following URL.

I am trying to upload the following code.
02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20230201

Can anyone please guide me on how to do that?

Thanks

It looks like You have not installed/downloaded the avr... library.

You have to install the avr watchdog timer library: Where can I download the (avr/wdt.h) library? - #4 by elfuse79

You should already have the watchdog library.

Thank you everyone for your response.

I have installed avr. Now I am getting the following error.

In file included from C:\Users\mujtaba\Downloads\Compressed\ELEGOO Smart Robot Car Kit V4.0 2023.02.01\02 Manual & Main Code & APP\02 Main Program   (Arduino UNO)\DRV8835\SmartRobotCarV4.0_V0_20210120\DeviceDriverSet_xxx0.h:19:0,
                 from C:\Users\mujtaba\Downloads\Compressed\ELEGOO Smart Robot Car Kit V4.0 2023.02.01\02 Manual & Main Code & APP\02 Main Program   (Arduino UNO)\DRV8835\SmartRobotCarV4.0_V0_20210120\DeviceDriverSet_xxx0.cpp:9:
c:\Users\mujtaba\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010
 #    pragma message "FastLED version 3.002.010"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\mujtaba\Downloads\Compressed\ELEGOO Smart Robot Car Kit V4.0 2023.02.01\02 Manual & Main Code & APP\02 Main Program   (Arduino UNO)\DRV8835\SmartRobotCarV4.0_V0_20210120\DeviceDriverSet_xxx0.h:19:0,
                 from C:\Users\mujtaba\Downloads\Compressed\ELEGOO Smart Robot Car Kit V4.0 2023.02.01\02 Manual & Main Code & APP\02 Main Program   (Arduino UNO)\DRV8835\SmartRobotCarV4.0_V0_20210120\ApplicationFunctionSet_xxx0.cpp:14:
c:\Users\mujtaba\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010
 #    pragma message "FastLED version 3.002.010"
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Sketch uses 31734 bytes (98%) of program storage space. Maximum is 32256 bytes.
Global variables use 1162 bytes (56%) of dynamic memory, leaving 886 bytes for local variables. Maximum is 2048 bytes.

Look carefully there for the word "error" in that message
You won't find it :wink:
The code compiled correctly.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.