|
MakeBlock Drive Updated
Updated library for MakeBlock Ranger
|
Driver for MegaPi board. More...
#include <Arduino.h>#include "MeConfig.h"#include "Me7SegmentDisplay.h"#include "MeUltrasonicSensor.h"#include "MeDCMotor.h"#include "MeRGBLed.h"#include "Me4Button.h"#include "MePotentiometer.h"#include "MeJoystick.h"#include "MePIRMotionSensor.h"#include "MeShutter.h"#include "MeLineFollower.h"#include "MeSoundSensor.h"#include "MeLimitSwitch.h"#include "MeLightSensor.h"#include "MeSerial.h"#include "MeBluetooth.h"#include "MeWifi.h"#include "MeTemperature.h"#include "MeGyro.h"#include "MeInfraredReceiver.h"#include "MeCompass.h"#include "MeUSBHost.h"#include "MeTouchSensor.h"#include "MeStepper.h"#include "MeStepperOnBoard.h"#include "MeEncoderMotor.h"#include "MeEncoderNew.h"#include "MeBuzzer.h"#include "MeLEDMatrix.h"#include "MeHumitureSensor.h"#include "MeFlameSensor.h"#include "MeGasSensor.h"#include "MeEncoderOnBoard.h"#include "MeMegaPiDCMotor.h"#include "MePressureSensor.h"#include "MePS2.h"#include "MeColorSensor.h"
Go to the source code of this file.
Macros | |
| #define | PORT1A PORT_1 |
| #define | PORT1B PORT_9 |
| #define | PORT2A PORT_2 |
| #define | PORT2B PORT_10 |
| #define | PORT3A PORT_3 |
| #define | PORT3B PORT_11 |
| #define | PORT4A PORT_4 |
| #define | PORT4B PORT_12 |
Variables | |
| MePort_Sig | mePort [17] |
| Encoder_port_type | encoder_Port [6] |
| megapi_dc_type | megapi_dc_Port [14] |
| megaPi_slot_type | megaPi_slots [4] |
Driver for MegaPi board.
Driver for MegaPi board.
`<Author>` `<Time>` `<Version>` `<Descr>` Mark Yan 2016/02/20 1.0.0 Build the New. Mark Yan 2016/03/10 1.0.1 Port mapping changes. Scott wang 2016/09/18 1.0.2 Add the PORT[15]. Scott 2016/09/20 1.0.3 Add the PORT[16]. Scott 2016/09/23 1.0.4 Add the MePS2.h . Zzipeng 2017/02/20 1.0.5 put the array megaPi_slots[4] to MegaPi.h
| Encoder_port_type encoder_Port[6] |
| megapi_dc_type megapi_dc_Port[14] |
| megaPi_slot_type megaPi_slots[4] |
| MePort_Sig mePort[17] |