The arduino gives an error that Port[0]is nonsense


#1

the arduino IDE gives an error Arduino: 1.6.12 (Windows 10), Board: “Arduino/Genuino Uno”

In file included from C:\Users\RAYMON~1\AppData\Local\Temp\arduino_modified_sketch_401841\sketch_oct22a.ino:5:0:

C:\Users\Raymond Kellison\Documents\Arduino\libraries\makeblock/MeMCore.h:75:21: error: conflicting declaration ‘MePort_Sig mePort [17]’

MePort_Sig mePort[17] =

                 ^

In file included from C:\Users\Raymond Kellison\Documents\Arduino\libraries\Me7SegmentDisplay/Me7SegmentDisplay.h:70:0,

             from C:\Users\Raymond Kellison\Documents\Arduino\libraries\makeblock/MeMCore.h:42,

             from C:\Users\RAYMON~1\AppData\Local\Temp\arduino_modified_sketch_401841\sketch_oct22a.ino:5:

C:\Users\Raymond Kellison\Documents\Arduino\libraries\MePort/MePort.h:74:19: note: previous declaration as ‘MePort_Sig mePort [15]’

extern MePort_Sig mePort[15]; // mePort[0] is nonsense

               ^

C:\Users\RAYMON~1\AppData\Local\Temp\arduino_modified_sketch_401841\sketch_oct22a.ino: In function ‘void _loop()’:

sketch_oct22a:64: error: expected ‘}’ at end of input

void _loop(){

         ^

exit status 1
expected ‘}’ at end of input

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

Could you help me?
RayK


#2

Hi Butterfly987rk,

You may refer to this instruction to install the latest version makeblock library have a try.How can I add the Makeblock library to my Arduino IDE.zip (489.5 KB)


#3

I have already the newest version of the makeblock library.


#4