Hi, I am extremely new to Arduino and lost all my code for the smart car which I don't have a sketch of. Does anyone know how to get the code back? My model has the TB6612 & MPU6050 Motor driver and gyro modules.
Thank you
@
Your other topic on the same subject deleted.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.
Thank you.
Hi. Welcome to the Forum!
I believe you can get the sketch back on Elegoo site : https://www.elegoo.com/pages/arduino-kits-support-files
I have tried this
It always gave me an error
I will send
This is not an error. This is the sketch that you should compile and upload to the board.
At the forum, sketches might be formatted, using this button:
/*
* @Author: ELEGOO
* @Date: 2019-10-22 11:59:09
* @LastEditTime: 2020-12-29 16:07:48
* @LastEditors: Changhua
* @Description: Smart Robot Car V4.0
* @FilePath:
*/
#include "DeviceDriverSet_xxx0.h"
//#include "PinChangeInt.h"
#include <avr/wdt.h>
#include <stdio.h>
static void
delay_xxx(uint16_t _ms)
{
wdt_reset();
for (unsigned long i = 0; i < _ms; i++)
{
delay(1);
}
}
/*RBG LED*/
static uint32_t Color(uint8_t r, uint8_t g, uint8_t b)
{
return (((uint32_t)r << 16) | ((uint32_t)g << 8) | b);
}
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_xxx(uint16_t Duration, uint8_t Traversal_Number, CRGB colour)
{
if (NUM_LEDS < Traversal_Number)
{
Traversal_Number = NUM_LEDS;
}
for (int Number = 0; Number < Traversal_Number; Number++)
{
leds[Number] = colour;
FastLED.show();
delay_xxx(Duration);
}
}
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_Init(uint8_t set_Brightness)
{
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
FastLED.setBrightness(set_Brightness);
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_Test(void)
{
leds[0] = CRGB::White;
FastLED.show();
delay_xxx(50);
leds[1] = CRGB::Red;
FastLED.show();
delay_xxx(50);
DeviceDriverSet_RBGLED_xxx(50 /*Duration*/, 5 /*Traversal_Number*/, CRGB::Black);
}
#endif
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_Color(uint8_t LED_s, uint8_t r, uint8_t g, uint8_t b)
{
if (LED_s > NUM_LEDS)
return;
if (LED_s == NUM_LEDS)
{
FastLED.showColor(Color(r, g, b));
}
else
{
leds[LED_s] = Color(r, g, b);
}
FastLED.show();
}
/*Key*/
uint8_t DeviceDriverSet_Key::keyValue = 0;
static void attachPinChangeInterrupt_GetKeyValue(void)
{
DeviceDriverSet_Key Key;
static uint32_t keyValue_time = 0;
static uint8_t keyValue_temp = 0;
if ((millis() - keyValue_time) > 500)
{
keyValue_temp++;
keyValue_time = millis();
if (keyValue_temp > keyValue_Max)
{
keyValue_temp = 0;
}
Key.keyValue = keyValue_temp;
}
}
void DeviceDriverSet_Key::DeviceDriverSet_Key_Init(void)
{
pinMode(PIN_Key, INPUT_PULLUP);
//attachPinChangeInterrupt(PIN_Key, attachPinChangeInterrupt_GetKeyValue, FALLING);
attachInterrupt(0, attachPinChangeInterrupt_GetKeyValue, FALLING);
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_Key::DeviceDriverSet_Key_Test(void)
{
Serial.println(DeviceDriverSet_Key::keyValue);
}
#endif
void DeviceDriverSet_Key::DeviceDriverSet_key_Get(uint8_t *get_keyValue)
{
*get_keyValue = keyValue;
}
/*ITR20001 Detection*/
bool DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_Init(void)
{
pinMode(PIN_ITR20001xxxL, INPUT);
pinMode(PIN_ITR20001xxxM, INPUT);
pinMode(PIN_ITR20001xxxR, INPUT);
return false;
}
int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_L(void)
{
return analogRead(PIN_ITR20001xxxL);
}
int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_M(void)
{
return analogRead(PIN_ITR20001xxxM);
}
int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_R(void)
{
return analogRead(PIN_ITR20001xxxR);
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_Test(void)
{
Serial.print("\tL=");
Serial.print(analogRead(PIN_ITR20001xxxL));
Serial.print("\tM=");
Serial.print(analogRead(PIN_ITR20001xxxM));
Serial.print("\tR=");
Serial.println(analogRead(PIN_ITR20001xxxR));
}
#endif
/*Voltage Detection*/
void DeviceDriverSet_Voltage::DeviceDriverSet_Voltage_Init(void)
{
pinMode(PIN_Voltage, INPUT);
//analogReference(INTERNAL);
}
float DeviceDriverSet_Voltage::DeviceDriverSet_Voltage_getAnalogue(void)
{
//float Voltage = ((analogRead(PIN_Voltage) * 5.00 / 1024) * 7.67); //7.66666=((10 + 1.50) / 1.50)
float Voltage = (analogRead(PIN_Voltage) * 0.0375);
Voltage = Voltage + (Voltage * 0.08); //Compensation 8%
//return (analogRead(PIN_Voltage) * 5.00 / 1024) * ((10 + 1.50) / 1.50); //Read voltage value
return Voltage;
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_Voltage::DeviceDriverSet_Voltage_Test(void)
{
//float Voltage = ((analogRead(PIN_Voltage) * 5.00 / 1024) * 7.67); //7.66666=((10 + 1.50) / 1.50)
float Voltage = (analogRead(PIN_Voltage) * 0.0375); //7.66666=((10 + 1.50) / 1.50)
Voltage = Voltage + (Voltage * 0.08); //Compensation 8%
//Serial.println(analogRead(PIN_Voltage) * 4.97 / 1024);
Serial.println(Voltage);
}
#endif
/*Motor control*/
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_Init(void)
{
pinMode(PIN_Motor_PWMA, OUTPUT);
pinMode(PIN_Motor_PWMB, OUTPUT);
pinMode(PIN_Motor_AIN_1, OUTPUT);
pinMode(PIN_Motor_BIN_1, OUTPUT);
pinMode(PIN_Motor_STBY, OUTPUT);
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_Test(void)
{
//A...Right
//B...Left
digitalWrite(PIN_Motor_STBY, HIGH);
digitalWrite(PIN_Motor_AIN_1, HIGH);
analogWrite(PIN_Motor_PWMA, 100);
digitalWrite(PIN_Motor_BIN_1, HIGH);
analogWrite(PIN_Motor_PWMB, 100);
delay_xxx(1000);
digitalWrite(PIN_Motor_STBY, LOW);
delay_xxx(1000);
digitalWrite(PIN_Motor_STBY, HIGH);
digitalWrite(PIN_Motor_AIN_1, LOW);
analogWrite(PIN_Motor_PWMA, 100);
digitalWrite(PIN_Motor_BIN_1, LOW);
analogWrite(PIN_Motor_PWMB, 100);
delay_xxx(1000);
}
#endif
/*
Motor_control:AB / movement direction and speed
*/
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_control(boolean direction_A, uint8_t speed_A, //Group A motor parameters
boolean direction_B, uint8_t speed_B, //Group B motor parameters
boolean controlED //AB enable setting (true)
) //Motor control
{
if (controlED == control_enable) //Enable motot control?
{
digitalWrite(PIN_Motor_STBY, HIGH);
{ //A...Right
switch (direction_A) //movement direction control
{
case direction_just:
digitalWrite(PIN_Motor_AIN_1, HIGH);
analogWrite(PIN_Motor_PWMA, speed_A);
break;
case direction_back:
digitalWrite(PIN_Motor_AIN_1, LOW);
analogWrite(PIN_Motor_PWMA, speed_A);
break;
case direction_void:
analogWrite(PIN_Motor_PWMA, 0);
digitalWrite(PIN_Motor_STBY, LOW);
break;
default:
analogWrite(PIN_Motor_PWMA, 0);
digitalWrite(PIN_Motor_STBY, LOW);
break;
}
}
{ //B...Left
switch (direction_B)
{
case direction_just:
digitalWrite(PIN_Motor_BIN_1, HIGH);
analogWrite(PIN_Motor_PWMB, speed_B);
break;
case direction_back:
digitalWrite(PIN_Motor_BIN_1, LOW);
analogWrite(PIN_Motor_PWMB, speed_B);
break;
case direction_void:
analogWrite(PIN_Motor_PWMB, 0);
digitalWrite(PIN_Motor_STBY, LOW);
break;
default:
analogWrite(PIN_Motor_PWMB, 0);
digitalWrite(PIN_Motor_STBY, LOW);
break;
}
}
}
else
{
digitalWrite(PIN_Motor_STBY, LOW);
return;
}
}
/*ULTRASONIC*/
//#include <NewPing.h>
// NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance.
void DeviceDriverSet_ULTRASONIC::DeviceDriverSet_ULTRASONIC_Init(void)
{
pinMode(ECHO_PIN, INPUT); //Ultrasonic module initialization
pinMode(TRIG_PIN, OUTPUT);
}
void DeviceDriverSet_ULTRASONIC::DeviceDriverSet_ULTRASONIC_Get(uint16_t *ULTRASONIC_Get /*out*/)
{
unsigned int tempda_x = 0;
digitalWrite(TRIG_PIN, LOW);
delayMicroseconds(2);
digitalWrite(TRIG_PIN, HIGH);
delayMicroseconds(10);
digitalWrite(TRIG_PIN, LOW);
tempda_x = ((unsigned int)pulseIn(ECHO_PIN, HIGH) / 58);
// *ULTRASONIC_Get = tempda_x;
if (tempda_x > 150)
{
*ULTRASONIC_Get = 150;
}
else
{
*ULTRASONIC_Get = tempda_x;
}
// sonar.ping() / US_ROUNDTRIP_CM; // Send ping, get ping time in microseconds (uS).
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_ULTRASONIC::DeviceDriverSet_ULTRASONIC_Test(void)
{
unsigned int tempda = 0;
digitalWrite(TRIG_PIN, LOW);
delayMicroseconds(2);
digitalWrite(TRIG_PIN, HIGH);
delayMicroseconds(10);
digitalWrite(TRIG_PIN, LOW);
tempda = ((unsigned int)pulseIn(ECHO_PIN, HIGH) / 58);
// if (tempda_x > 50)
// {
// tempda_x = 50;
// }
// // return tempda;
// return tempda_x;
Serial.print("ULTRASONIC=");
Serial.print(tempda); // Convert ping time to distance and print result (0 = outside set distance range, no ping echo)
Serial.println("cm");
}
#endif
/*Servo*/
Servo myservo; // create servo object to control a servo
void DeviceDriverSet_Servo::DeviceDriverSet_Servo_Init(unsigned int Position_angle)
{
myservo.attach(PIN_Servo_z, 500, 2400); //500: 0 degree 2400: 180 degree
myservo.attach(PIN_Servo_z);
myservo.write(Position_angle); //sets the servo position according to the 90(middle)
delay_xxx(500);
myservo.attach(PIN_Servo_y, 500, 2400); //500: 0 degree 2400: 180 degree
myservo.attach(PIN_Servo_y);
myservo.write(Position_angle); //sets the servo position according to the 90(middle)
delay_xxx(500);
myservo.detach();
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_Servo::DeviceDriverSet_Servo_Test(void)
{
for (;;)
{
myservo.attach(PIN_Servo_z);
myservo.write(180);
delay_xxx(500);
myservo.write(0);
delay_xxx(500);
}
// for (uint8_t i = 0; i < 6; i++)
// {
// myservo.write(30 * i);
// delay(500);
// }
// for (uint8_t i = 6; i > 0; i--)
// {
// myservo.write(30 * i);
// delay(500);
// }
// myservo.attach(PIN_Servo_y);
// for (uint8_t i = 0; i < 6; i++)
// {
// myservo.write(30 * i);
// delay(500);
// }
// for (uint8_t i = 6; i > 0; i--)
// {
// myservo.write(30 * i);
// delay(500);
// }
}
#endif
/*0.17sec/60degree(4.8v)*/
void DeviceDriverSet_Servo::DeviceDriverSet_Servo_control(unsigned int Position_angle)
{
myservo.attach(PIN_Servo_z);
myservo.write(Position_angle);
delay_xxx(450);
myservo.detach();
}
//Servo motor control:Servo motor number and position angle
void DeviceDriverSet_Servo::DeviceDriverSet_Servo_controls(uint8_t Servo, unsigned int Position_angle)
{
if (Servo == 1 || Servo == 3) //Servo_z
{
if (Position_angle <= 1) //minimum angle control
{
Position_angle = 1;
}
if (Position_angle >= 17) //maximum angle control
{
Position_angle = 17;
}
myservo.attach(PIN_Servo_z);
myservo.write(10 * Position_angle);
delay_xxx(500);
}
if (Servo == 2 || Servo == 3) //Servo_y
{
if (Position_angle <= 3) //minimum angle control
{
Position_angle = 3;
}
if (Position_angle >= 11) //maximum angle control
{
Position_angle = 11;
}
myservo.attach(PIN_Servo_y);
myservo.write(10 * Position_angle);
delay_xxx(500);
}
myservo.detach();
}
/*IRrecv*/
IRrecv irrecv(RECV_PIN); // Create an infrared receive drive object
decode_results results; // Create decoding object
void DeviceDriverSet_IRrecv::DeviceDriverSet_IRrecv_Init(void)
{
irrecv.enableIRIn(); //Enable infrared communication NEC
}
bool DeviceDriverSet_IRrecv::DeviceDriverSet_IRrecv_Get(uint8_t *IRrecv_Get /*out*/)
{
if (irrecv.decode(&results))
{
IR_PreMillis = millis();
switch (results.value)
{
case /* constant-expression */ aRECV_upper:
case /* constant-expression */ bRECV_upper:
/* code */ *IRrecv_Get = 1;
break;
case /* constant-expression */ aRECV_lower:
case /* constant-expression */ bRECV_lower:
/* code */ *IRrecv_Get = 2;
break;
case /* constant-expression */ aRECV_Left:
case /* constant-expression */ bRECV_Left:
/* code */ *IRrecv_Get = 3;
break;
case /* constant-expression */ aRECV_right:
case /* constant-expression */ bRECV_right:
/* code */ *IRrecv_Get = 4;
break;
case /* constant-expression */ aRECV_ok:
case /* constant-expression */ bRECV_ok:
/* code */ *IRrecv_Get = 5;
break;
case /* constant-expression */ aRECV_1:
case /* constant-expression */ bRECV_1:
/* code */ *IRrecv_Get = 6;
break;
case /* constant-expression */ aRECV_2:
case /* constant-expression */ bRECV_2:
/* code */ *IRrecv_Get = 7;
break;
case /* constant-expression */ aRECV_3:
case /* constant-expression */ bRECV_3:
/* code */ *IRrecv_Get = 8;
break;
case /* constant-expression */ aRECV_4:
case /* constant-expression */ bRECV_4:
/* code */ *IRrecv_Get = 9;
break;
case /* constant-expression */ aRECV_5:
case /* constant-expression */ bRECV_5:
/* code */ *IRrecv_Get = 10;
break;
case /* constant-expression */ aRECV_6:
case /* constant-expression */ bRECV_6:
/* code */ *IRrecv_Get = 11;
break;
case /* constant-expression */ aRECV_7:
case /* constant-expression */ bRECV_7:
/* code */ *IRrecv_Get = 12;
break;
case /* constant-expression */ aRECV_8:
case /* constant-expression */ bRECV_8:
/* code */ *IRrecv_Get = 13;
break;
case /* constant-expression */ aRECV_9:
case /* constant-expression */ bRECV_9:
/* code */ *IRrecv_Get = 14;
break;
default:
// *IRrecv_Get = 5;
irrecv.resume();
return false;
break;
}
irrecv.resume();
return true;
}
else
{
return false;
}
}
#if _Test_DeviceDriverSet
void DeviceDriverSet_IRrecv::DeviceDriverSet_IRrecv_Test(void)
{
if (irrecv.decode(&results))
{
Serial.print("IRrecv_Test:");
Serial.println(results.value);
irrecv.resume();
}
}
#endif``
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In function 'void delay_xxx(uint16_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:19:5: error: 'delay' was not declared in this scope
delay(1);
^~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:19:5: note: suggested alternative: 'delay_xxx'
delay(1);
^~~~~
delay_xxx
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:27:6: error: 'DeviceDriverSet_RBGLED' has not been declared
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_xxx(uint16_t Duration, uint8_t Traversal_Number, CRGB colour)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:27:102: error: 'CRGB' has not been declared
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_xxx(uint16_t Duration, uint8_t Traversal_Number, CRGB colour)
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In function 'void DeviceDriverSet_RBGLED_xxx(uint16_t, uint8_t, int)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:29:7: error: 'NUM_LEDS' was not declared in this scope
if (NUM_LEDS < Traversal_Number)
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:35:5: error: 'leds' was not declared in this scope
leds[Number] = colour;
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:35:5: note: suggested alternative: 'gets'
leds[Number] = colour;
^~~~
gets
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:36:5: error: 'FastLED' was not declared in this scope
FastLED.show();
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:40:6: error: 'DeviceDriverSet_RBGLED' has not been declared
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_Init(uint8_t set_Brightness)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In function 'void DeviceDriverSet_RBGLED_Init(uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:3: error: 'FastLED' was not declared in this scope
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:19: error: 'NEOPIXEL' was not declared in this scope
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:29: error: 'PIN_RBGLED' was not declared in this scope
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:41: error: 'leds' was not declared in this scope
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:41: note: suggested alternative: 'gets'
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~
gets
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:42:47: error: 'NUM_LEDS' was not declared in this scope
FastLED.addLeds<NEOPIXEL, PIN_RBGLED>(leds, NUM_LEDS);
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:58:6: error: 'DeviceDriverSet_RBGLED' has not been declared
void DeviceDriverSet_RBGLED::DeviceDriverSet_RBGLED_Color(uint8_t LED_s, uint8_t r, uint8_t g, uint8_t b)
^~~~~~~~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In function 'void DeviceDriverSet_RBGLED_Color(uint8_t, uint8_t, uint8_t, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:60:15: error: 'NUM_LEDS' was not declared in this scope
if (LED_s > NUM_LEDS)
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:62:16: error: 'NUM_LEDS' was not declared in this scope
if (LED_s == NUM_LEDS)
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:64:5: error: 'FastLED' was not declared in this scope
FastLED.showColor(Color(r, g, b));
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:68:5: error: 'leds' was not declared in this scope
leds[LED_s] = Color(r, g, b);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:68:5: note: suggested alternative: 'gets'
leds[LED_s] = Color(r, g, b);
^~~~
gets
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:70:3: error: 'FastLED' was not declared in this scope
FastLED.show();
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:74:30: error: 'uint8_t DeviceDriverSet_Key::keyValue' is not a static data member of 'class DeviceDriverSet_Key'
uint8_t DeviceDriverSet_Key::keyValue = 0;
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In function 'void attachPinChangeInterrupt_GetKeyValue()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:81:8: error: 'millis' was not declared in this scope
if ((millis() - keyValue_time) > 500)
^~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:89:9: error: 'class DeviceDriverSet_Key' has no member named 'keyValue'
Key.keyValue = keyValue_temp;
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'void DeviceDriverSet_Key::DeviceDriverSet_Key_Init()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:94:20: error: 'INPUT_PULLUP' was not declared in this scope
pinMode(PIN_Key, INPUT_PULLUP);
^~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:94:3: error: 'pinMode' was not declared in this scope
pinMode(PIN_Key, INPUT_PULLUP);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:96:60: error: 'FALLING' was not declared in this scope
attachInterrupt(0, attachPinChangeInterrupt_GetKeyValue, FALLING);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:96:3: error: 'attachInterrupt' was not declared in this scope
attachInterrupt(0, attachPinChangeInterrupt_GetKeyValue, FALLING);
^~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:106:72: error: no 'void DeviceDriverSet_Key::DeviceDriverSet_key_Get(uint8_t*)' member function declared in class 'DeviceDriverSet_Key'
void DeviceDriverSet_Key::DeviceDriverSet_key_Get(uint8_t *get_keyValue)
^
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'bool DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_Init()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:48:26: error: 'A2' was not declared in this scope
#define PIN_ITR20001xxxL A2
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:114:11: note: in expansion of macro 'PIN_ITR20001xxxL'
pinMode(PIN_ITR20001xxxL, INPUT);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:48:26: note: suggested alternative: 'AS2'
#define PIN_ITR20001xxxL A2
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:114:11: note: in expansion of macro 'PIN_ITR20001xxxL'
pinMode(PIN_ITR20001xxxL, INPUT);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:114:29: error: 'INPUT' was not declared in this scope
pinMode(PIN_ITR20001xxxL, INPUT);
^~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:114:3: error: 'pinMode' was not declared in this scope
pinMode(PIN_ITR20001xxxL, INPUT);
^~~~~~~
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:49:26: error: 'A1' was not declared in this scope
#define PIN_ITR20001xxxM A1
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:115:11: note: in expansion of macro 'PIN_ITR20001xxxM'
pinMode(PIN_ITR20001xxxM, INPUT);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:50:26: error: 'A0' was not declared in this scope
#define PIN_ITR20001xxxR A0
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:116:11: note: in expansion of macro 'PIN_ITR20001xxxR'
pinMode(PIN_ITR20001xxxR, INPUT);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_L()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:48:26: error: 'A2' was not declared in this scope
#define PIN_ITR20001xxxL A2
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:121:21: note: in expansion of macro 'PIN_ITR20001xxxL'
return analogRead(PIN_ITR20001xxxL);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:48:26: note: suggested alternative: 'AS2'
#define PIN_ITR20001xxxL A2
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:121:21: note: in expansion of macro 'PIN_ITR20001xxxL'
return analogRead(PIN_ITR20001xxxL);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:121:10: error: 'analogRead' was not declared in this scope
return analogRead(PIN_ITR20001xxxL);
^~~~~~~~~~
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_M()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:49:26: error: 'A1' was not declared in this scope
#define PIN_ITR20001xxxM A1
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:125:21: note: in expansion of macro 'PIN_ITR20001xxxM'
return analogRead(PIN_ITR20001xxxM);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:125:10: error: 'analogRead' was not declared in this scope
return analogRead(PIN_ITR20001xxxM);
^~~~~~~~~~
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'int DeviceDriverSet_ITR20001::DeviceDriverSet_ITR20001_getAnaloguexxx_R()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:50:26: error: 'A0' was not declared in this scope
#define PIN_ITR20001xxxR A0
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:129:21: note: in expansion of macro 'PIN_ITR20001xxxR'
return analogRead(PIN_ITR20001xxxR);
^~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:129:10: error: 'analogRead' was not declared in this scope
return analogRead(PIN_ITR20001xxxR);
^~~~~~~~~~
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'void DeviceDriverSet_Voltage::DeviceDriverSet_Voltage_Init()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:63:21: error: 'A3' was not declared in this scope
#define PIN_Voltage A3
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:148:11: note: in expansion of macro 'PIN_Voltage'
pinMode(PIN_Voltage, INPUT);
^~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:148:24: error: 'INPUT' was not declared in this scope
pinMode(PIN_Voltage, INPUT);
^~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:148:3: error: 'pinMode' was not declared in this scope
pinMode(PIN_Voltage, INPUT);
^~~~~~~
In file included from C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:9:0:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'float DeviceDriverSet_Voltage::DeviceDriverSet_Voltage_getAnalogue()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.h:63:21: error: 'A3' was not declared in this scope
#define PIN_Voltage A3
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:154:31: note: in expansion of macro 'PIN_Voltage'
float Voltage = (analogRead(PIN_Voltage) * 0.0375);
^~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:154:20: error: 'analogRead' was not declared in this scope
float Voltage = (analogRead(PIN_Voltage) * 0.0375);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: At global scope:
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:171:60: error: no 'void DeviceDriverSet_Motor::DeviceDriverSet_Motor_Init()' member function declared in class 'DeviceDriverSet_Motor'
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_Init(void)
^
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:208:59: error: variable or field 'DeviceDriverSet_Motor_control' declared void
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_control(boolean direction_A, uint8_t speed_A, //Group A motor parameters
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:208:59: error: 'boolean' was not declared in this scope
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:208:59: note: suggested alternative: 'bool'
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_control(boolean direction_A, uint8_t speed_A, //Group A motor parameters
^~~~~~~
bool
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:208:88: error: expected primary-expression before 'speed_A'
void DeviceDriverSet_Motor::DeviceDriverSet_Motor_control(boolean direction_A, uint8_t speed_A, //Group A motor parameters
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:209:59: error: 'boolean' was not declared in this scope
boolean direction_B, uint8_t speed_B, //Group B motor parameters
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:209:59: note: suggested alternative: 'bool'
boolean direction_B, uint8_t speed_B, //Group B motor parameters
^~~~~~~
bool
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:209:88: error: expected primary-expression before 'speed_B'
boolean direction_B, uint8_t speed_B, //Group B motor parameters
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:210:59: error: 'boolean' was not declared in this scope
boolean controlED //AB enable setting (true)
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:210:59: note: suggested alternative: 'bool'
boolean controlED //AB enable setting (true)
^~~~~~~
bool
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'void DeviceDriverSet_ULTRASONIC::DeviceDriverSet_ULTRASONIC_Init()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:276:21: error: 'INPUT' was not declared in this scope
pinMode(ECHO_PIN, INPUT); //Ultrasonic module initialization
^~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:276:3: error: 'pinMode' was not declared in this scope
pinMode(ECHO_PIN, INPUT); //Ultrasonic module initialization
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:277:21: error: 'OUTPUT' was not declared in this scope
pinMode(TRIG_PIN, OUTPUT);
^~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'void DeviceDriverSet_ULTRASONIC::DeviceDriverSet_ULTRASONIC_Get(uint16_t*)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:282:26: error: 'LOW' was not declared in this scope
digitalWrite(TRIG_PIN, LOW);
^~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:282:3: error: 'digitalWrite' was not declared in this scope
digitalWrite(TRIG_PIN, LOW);
^~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:283:3: error: 'delayMicroseconds' was not declared in this scope
delayMicroseconds(2);
^~~~~~~~~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:284:26: error: 'HIGH' was not declared in this scope
digitalWrite(TRIG_PIN, HIGH);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:284:26: note: suggested alternative: 'DISH'
digitalWrite(TRIG_PIN, HIGH);
^~~~
DISH
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:287:29: error: 'pulseIn' was not declared in this scope
tempda_x = ((unsigned int)pulseIn(ECHO_PIN, HIGH) / 58);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp: In member function 'bool DeviceDriverSet_IRrecv::DeviceDriverSet_IRrecv_Get(uint8_t*)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\DeviceDriverSet_xxx0.cpp:436:20: error: 'millis' was not declared in this scope
IR_PreMillis = millis();
^~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:26:1: error: 'DeviceDriverSet_RBGLED' does not name a type; did you mean 'DeviceDriverSet_IRrecv'?
DeviceDriverSet_RBGLED AppRBG_LED;
^~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_IRrecv
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::ApplicationFunctionSet_Init()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:109:12: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_Init'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_Init();
^~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:112:3: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_Init(20);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In function 'void ApplicationFunctionSet_SmartRobotCarLinearMotionControl(SmartRobotCarMotionControl, uint8_t, uint8_t, uint8_t, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:159:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ 0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:191:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ R,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:196:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ L,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In function 'void ApplicationFunctionSet_SmartRobotCarMotionControl(SmartRobotCarMotionControl, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:247:16: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:261:16: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:274:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:280:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:286:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:292:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ speed,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:298:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ speed / 2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:304:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ speed / 2,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:310:14: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ 0,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In function 'void CMD_Lighting(uint8_t, int8_t, uint8_t, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:386:5: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_Color(NUM_LEDS, is_LightingColorValue_R, is_LightingColorValue_G, is_LightingColorValue_B);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:386:45: error: 'NUM_LEDS' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_Color(NUM_LEDS, is_LightingColorValue_R, is_LightingColorValue_G, is_LightingColorValue_B);
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::ApplicationFunctionSet_RGB()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:412:3: error: 'FastLED' was not declared in this scope
FastLED.clear(true);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:427:7: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:427:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:431:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:435:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:439:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:443:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:447:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:451:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:455:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:459:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:463:85: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:478:11: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:478:89: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Red);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:480:89: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:506:11: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.leds[0] = CRGB::Violet;
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:506:32: error: 'CRGB' has not been declared
AppRBG_LED.leds[0] = CRGB::Violet;
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:520:9: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Green);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:520:87: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Green);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:526:9: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Yellow);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:526:87: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Yellow);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:532:9: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Blue);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:532:87: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Blue);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:538:9: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Violet);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:538:87: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, 2 /*Traversal_Number*/, CRGB::Violet);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_MotorControl_xxx0(uint8_t, uint8_t, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:957:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:963:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:978:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:984:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:999:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1005:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_MotorControl_xxx0()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1052:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1058:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1073:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1079:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_back, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1094:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1100:20: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_void, /*speed_A*/ is_MotorSpeed_A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_MotorControlSpeed_xxx0(uint8_t, uint8_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1299:16: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ is_Speed_L,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_MotorControlSpeed_xxx0()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1324:16: error: 'class DeviceDriverSet_Motor' has no member named 'DeviceDriverSet_Motor_control'; did you mean 'DeviceDriverSet_Motor'?
AppMotor.DeviceDriverSet_Motor_control(/*direction_A*/ direction_just, /*speed_A*/ CMD_is_MotorSpeed_L,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Motor
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_LightingControlTimeLimit_xxx0(uint8_t, uint8_t, uint8_t, uint8_t, uint32_t)':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1370:9: error: 'FastLED' was not declared in this scope
FastLED.clear(true);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_LightingControlTimeLimit_xxx0()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1417:9: error: 'FastLED' was not declared in this scope
FastLED.clear(true);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::CMD_ClearAllFunctions_xxx0()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1496:5: error: 'FastLED' was not declared in this scope
FastLED.clear(true);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1497:5: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1497:59: error: 'NUM_LEDS' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1497:90: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1505:5: error: 'FastLED' was not declared in this scope
FastLED.clear(true);
^~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1506:5: error: 'AppRBG_LED' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1506:59: error: 'NUM_LEDS' was not declared in this scope
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~~~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1506:90: error: 'CRGB' has not been declared
AppRBG_LED.DeviceDriverSet_RBGLED_xxx(0 /*Duration*/, NUM_LEDS /*Traversal_Number*/, CRGB::Black);
^~~~
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::ApplicationFunctionSet_KeyCommand()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1628:10: error: 'class DeviceDriverSet_Key' has no member named 'DeviceDriverSet_key_Get'; did you mean 'DeviceDriverSet_Key_Init'?
AppKey.DeviceDriverSet_key_Get(&get_keyValue);
^~~~~~~~~~~~~~~~~~~~~~~
DeviceDriverSet_Key_Init
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp: In member function 'void ApplicationFunctionSet::ApplicationFunctionSet_SerialPortDataAnalysis()':
C:\Users\nagor\Downloads\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\ELEGOO Smart Robot Car Kit V4.0 2022.10.26\02 Manual & Main Code & APP\02 Main Program (Arduino UNO)\TB6612 & MPU6050\SmartRobotCarV4.0_V1_20220303\ApplicationFunctionSet_xxx0.cpp:1962:9: error: 'FastLED' was not declared in this scope
FastLED.setBrightness(CMD_is_FastLED_setBrightness);
^~~~~~~
exit status 1
Compilation error: 'delay' was not declared in this scope``
ApplicationFunctionSet_xxx0.cpp (67.8 KB)
ApplicationFunctionSet_xxx0.h (4.5 KB)
ArduinoJson-v6.11.1.h (172.7 KB)
Description.txt (687 Bytes)
DeviceDriverSet_xxx0.cpp (14.0 KB)
DeviceDriverSet_xxx0.h (4.2 KB)
I2Cdev.cpp (55.1 KB)
I2Cdev.h (6.8 KB)
IRremote.cpp (31.0 KB)
IRremote.h (4.1 KB)
IRremoteInt.h (14.6 KB)
MPU6050.cpp (45.2 KB)
MPU6050.h (36.3 KB)
MPU6050_getdata.cpp (2.3 KB)
MPU6050_getdata.h (692 Bytes)
SmartRobotCarV4.0_V1_20220303.ino (1.5 KB)
This code is not the same of the one in post #8. Upload this one to your board.
it doesnt work
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.