Makeblock-official / PythonForMegaPi

python for MegaPi with Raspberry Pi
http://openlab.makeblock.com
49 stars 26 forks source link

megapi firmware error #26

Open santana1992 opened 4 years ago

santana1992 commented 4 years ago

Hi, there is a problem in preparing arduino step. i downloaded the library and than i upload it in arduino ide but when i compile the example with name firmware-for-megapi, than i saw bunch of error. in th orange line there i a not as 'serial2 was not declared'. can you please help me with this problem. thank you

fdominguezr commented 4 years ago

Hi Santana,

Sorry, I don't have the hardware with me to check. But I suggest you to Google the error. You'll find normally what's it about. It worked to me fine, so I can't help more about it. "SOMETHING was not declared" means normally some library missing I think. Check that you installed all libraries, and you use the right versions.

Good luck!

santana1992 commented 4 years ago

Hi can you tell me which way is better and bring me less problem in order to use makeblock with my raspberry pi; 1- using me shield with meOrion 2- using megapi with wiring thank you

santana1992 commented 4 years ago

You need only arduino ide to compile the program use this link https://github.com/Makeblock-official/PythonForMegaPi there you can find official library for makeblock. if you compile firmware for megapi, it is not working. i think there is a problem with the library. i didnt find anything about the errors and wiring in google. thank you