Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Compiling #69

Open
Tros-t opened this issue Dec 11, 2020 · 0 comments
Open

Error Compiling #69

Tros-t opened this issue Dec 11, 2020 · 0 comments

Comments

@Tros-t
Copy link

Tros-t commented Dec 11, 2020

SO I installed the library made a new sketch and just typed this code:

`#include <MeLEDMatrix.h>
#include <MeLEDMatrixData.h>
#include <MeLightSensor.h
#include <MeMCore.h>
#include <MeRGBLed.h>
#include <MeSerial.h>

MeRGBLed rgbled_7(7, 2);

void _delay(float seconds) {
long endTime = millis() + seconds * 1000;
while(millis() < endTime) _loop();
}

void setup() {
rgbled_7.fillPixelsBak(0, 2, 1);

rgbled_7.setColor(0,255,0,0);
rgbled_7.show();

}

void _loop() {
}

void loop() {
_loop();
}`

My code is simple I am a beginner using an mbot.
I saw a youtube vid where the library was different but this one if different as it dosent has the makeblock starter kit.

The error:

`Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:81:0: warning: "buzzerOn" redefined

#define buzzerOn() DDRE |= 0x04,PORTE |= B00000100

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:101:0: note: this is the location of the previous definition

#define buzzerOn() pinMode(45,OUTPUT),digitalWrite(45, HIGH)

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:82:0: warning: "buzzerOff" redefined

#define buzzerOff() DDRE |= 0x04,PORTE &= B11111011

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:102:0: note: this is the location of the previous definition

#define buzzerOff() pinMode(45,OUTPUT),digitalWrite(45, LOW)

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:37:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeOrion.h:83:0: warning: "buzzerOn" redefined

#define buzzerOn() pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:81:0: note: this is the location of the previous definition

#define buzzerOn() DDRE |= 0x04,PORTE |= B00000100

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:37:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeOrion.h:84:0: warning: "buzzerOff" redefined

#define buzzerOff() pinMode(SCL,OUTPUT),digitalWrite(SCL, LOW)

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:82:0: note: this is the location of the previous definition

#define buzzerOff() DDRE |= 0x04,PORTE &= B11111011

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:18: error: 'A10' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

              ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:18: note: suggested alternative: 'A1'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

              ^~~

              A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:23: error: 'A15' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                   ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:23: note: suggested alternative: 'A5'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                   ^~~

                   A5

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:33: error: 'A9' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                             ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:33: note: suggested alternative: 'A7'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                             ^~

                             A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:37: error: 'A14' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                 ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:37: note: suggested alternative: 'A4'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                 ^~~

                                 A4

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:47: error: 'A8' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                           ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:47: note: suggested alternative: 'A7'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                           ^~

                                           A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:51: error: 'A13' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                               ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:51: note: suggested alternative: 'A3'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                               ^~~

                                               A3

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:65: error: 'A12' was not declared in this scope

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                                             ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:84:65: note: suggested alternative: 'A2'

{ 16, 17 }, { A10, A15 }, {  A9, A14 }, {  A8, A13 }, {  A7, A12 },

                                                             ^~~

                                                             A2

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:86:9: error: 'A11' was not declared in this scope

{ A6,A11 }, {  NC,  A2 }, {  NC,  A3 }, {  NC,  A0 }, {  NC,  A1 },

     ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:86:9: note: suggested alternative: 'A1'

{ A6,A11 }, {  NC,  A2 }, {  NC,  A3 }, {  NC,  A0 }, {  NC,  A1 },

     ^~~

     A1

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:73:21: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                 ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:4:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:24: error: 'A8' was not declared in this scope

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                    ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:24: note: suggested alternative: 'A7'

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                    ^~

                    A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:36: error: 'A11' was not declared in this scope

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:36: note: suggested alternative: 'A1'

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                ^~~

                                A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:45: error: 'A10' was not declared in this scope

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                         ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:45: note: suggested alternative: 'A1'

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                         ^~~

                                         A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:50: error: 'A9' was not declared in this scope

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                              ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeBaseBoard.h:75:50: note: suggested alternative: 'A7'

{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },

                                              ^~

                                              A7

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:29:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMCore.h:77:21: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                 ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:30:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:90:22: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                  ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:30:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:19: error: 'A8' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

               ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:19: note: suggested alternative: 'A7'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

               ^~

               A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:24: error: 'A9' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                    ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:24: note: suggested alternative: 'A7'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                    ^~

                    A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:32: error: 'A10' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                            ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:32: note: suggested alternative: 'A1'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                            ^~~

                            A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:37: error: 'A11' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                 ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:37: note: suggested alternative: 'A1'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                 ^~~

                                 A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:46: error: 'A13' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                          ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:46: note: suggested alternative: 'A3'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                          ^~~

                                          A3

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:51: error: 'A12' was not declared in this scope

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                               ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:93:51: note: suggested alternative: 'A2'

{ 16, 17 }, {  A8,  A9 }, { A10, A11 }, { A13, A12 }, {  NC,  NC },

                                               ^~~

                                               A2

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:98:33: error: redefinition of 'Encoder_port_type encoder_Port [6]'

Encoder_port_type encoder_Port[6] =

                             ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:90:19: note: 'Encoder_port_type encoder_Port [6]' previously defined here

Encoder_port_type encoder_Port[6] =

               ^~~~~~~~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:32:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:98:22: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                  ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:32:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:17: error: 'A9' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

             ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:17: note: suggested alternative: 'A7'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

             ^~

             A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:29: error: 'A10' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                         ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:29: note: suggested alternative: 'A1'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                         ^~~

                         A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:34: error: 'A11' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                              ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:34: note: suggested alternative: 'A1'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                              ^~~

                              A1

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:42: error: 'A15' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                      ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:42: note: suggested alternative: 'A5'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                      ^~~

                                      A5

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:47: error: 'A14' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                           ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:47: note: suggested alternative: 'A4'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                           ^~~

                                           A4

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:55: error: 'A13' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                                   ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:55: note: suggested alternative: 'A3'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                                   ^~~

                                                   A3

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:60: error: 'A12' was not declared in this scope

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                                        ^~~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:101:60: note: suggested alternative: 'A2'

{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },

                                                        ^~~

                                                        A2

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:102:10: error: 'A8' was not declared in this scope

{ A7, A8 },{ A6, A5 }, { A1,  A2 }, { NC, NC }, { NC, NC },

      ^~

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:102:10: note: suggested alternative: 'A7'

{ A7, A8 },{ A6, A5 }, { A1,  A2 }, { NC, NC }, { NC, NC },

      ^~

      A7

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:107:33: error: redefinition of 'megapi_dc_type megapi_dc_Port [14]'

megapi_dc_type megapi_dc_Port[14] =

                             ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:30:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:110:16: note: 'megapi_dc_type megapi_dc_Port [14]' previously defined here

megapi_dc_type megapi_dc_Port[14] =

            ^~~~~~~~~~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:32:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:114:33: error: redefinition of 'Encoder_port_type encoder_Port [6]'

Encoder_port_type encoder_Port[6] =

                             ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:90:19: note: 'Encoder_port_type encoder_Port [6]' previously defined here

Encoder_port_type encoder_Port[6] =

               ^~~~~~~~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:32:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPiPro.h:128:32: error: redefinition of 'megaPi_slot_type megaPi_slots [4]'

megaPi_slot_type megaPi_slots[4] =

                            ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:30:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeMegaPi.h:117:18: note: 'megaPi_slot_type megaPi_slots [4]' previously defined here

megaPi_slot_type megaPi_slots[4] =

              ^~~~~~~~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:37:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeOrion.h:75:21: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                 ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:46:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeShield.h:72:21: error: redefinition of 'MePort_Sig mePort [17]'

MePort_Sig mePort[17] =

                 ^

In file included from C:\Users\Ahmer Khan\Documents\Arduino\sketch_dec11a\sketch_dec11a.ino:3:0:

C:\Users\Ahmer Khan\Desktop\Arduino\arduino-1.8.13\libraries\Makeblock-Libraries-master\src/MeAuriga.h:81:13: note: 'MePort_Sig mePort [17]' previously defined here

MePort_Sig mePort[17] =

         ^~~~~~

exit status 1

Error compiling for board Arduino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`

If anyone can help me how to code the mbot using the arduino ide pls comment, and kindly add me to your hangouts.
I know python, html, css, js but not arduino c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant