Arduino Library for Makeblock Electronic Modules
In makeblock's library, some of the modules are derived from other open source projects, and also part of some code is inspired by the algorithms of other individuals or organizations. We will retain the copyright of the original open source code.
Before I released version 3.0.0, I didn't review the source of some old code in the makeblock library. This made me make some obvious mistakes. Fortunately, some of our users pointed out the mistakes we made.
So I reviewed our code in 2018/05/16, and correct some copyright information.
These modules is derived from other open source projects:
- MeRGBLed
- MeHumitureSensor
- Me7SegmentDisplay
- MeOneWire
- MeStepper
and these modules is inspired by some projects:
- MeUSBHost
As an open source library, we respect all contributors to the open source community and thank you very much for everyone's supervision.
If you have a discussion about licensing issues, please contact me ([email protected] -- Mark Yan)
-
Download the source from the git https://github.com/Makeblock-official/Makeblock-Libraries
-
copy the makeblock folder to your arduino default library. Your Arduino library folder should now look like this
(on Windows): [arduino installation directory]\libraries\makeblock\src
(on MACOS): [arduino Package Contents]\contents\Java\libraries\makeblock\src -
Open the Arduino Application. (If it's already open, you will need to restart it to see changes.)
-
Click "File-> Examples". Here are some test programs in "MakeBlockDrive->"
-
Depending on the type of board you're using, you need to modify the header file to match. For example, if you're using a mCore. You should change
#include <MeOrion.h>
to#include <MeMCore.h>
Corresponding boards and there header file are:Orion <--------> MeOrion.h
BaseBoard <----> MeBaseBoard.h
mCore <--------> MeMCore.h
Shield <-------> MeShield.h
Auriga <-------> MeAuriga.h
MegaPi <-------> MeMegaPi.h
Author | Time | Version | Descr |
---|---|---|---|
Mark Yan | 2015/07/24 | 3.0.0 | Rebuild the old lib. |
Rafael Lee | 2015/09/02 | 3.1.0 | Added some comments and macros. |
Lawrence | 2015/09/09 | 3.2.0 | Include some Arduino's official headfiles which path specified. |
Mark Yan | 2015/11/02 | 3.2.1 | fix bug on MACOS. |
Mark Yan | 2016/01/21 | 3.2.2 | fix some library bugs. |
Mark Yan | 2016/05/17 | 3.2.3 | add support for MegaPi and Auriga Board. |
Mark Yan | 2016/07/27 | 3.2.4 | fix some JIRA issue, add PID motion for Megapi/Auriga on board encoder motor. |
Mark Yan | 2018/05/16 | 3.2.5 | Correct copyright information. |
Vincent He | 2019/01/04 | 3.2.6 | 1.Mbot /ranger adds the function of communication variables. 2.Solve the blocking problem of 9g steering gear. 3.Solve the problem that the intelligent steering gear cannot read back the parameters. 4.Add version number function. 5.High power code motor reinforcement version query function. 6.Solve the problem that MeCompass will hang dead on 7 or 8 ports in Orion. 7.Solve the problem of SetColor (uint8_t index, long value) function error in mergharp.cpp. 8.Solve the problem that the function getPointFast() in the MeHumitureSensor. CPP cannot output the value normally. 9.The mBot board cannot extinguish the RGB. First upload the program with the RGB in any color, and then upload the program with the RGB in all colors. The RGB cannot extinguish (MeRGBLed bled. CPP file). 10.In the MegaPi firmware, SLOT1 is changed to slot_num instead of parameter transmission in the command processing stepper motor. |
|