MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
MeShield.h
Go to the documentation of this file.
1
32#ifndef MeShield_H
33#define MeShield_H
34
35#include <Arduino.h>
36#include "MeConfig.h"
37
38/* Supported Modules drive needs to be added here */
39#include "Me7SegmentDisplay.h"
40#include "MeUltrasonicSensor.h"
41#include "MeDCMotor.h"
42#include "MeRGBLed.h"
43#include "Me4Button.h"
44#include "MePotentiometer.h"
45#include "MeJoystick.h"
46#include "MePIRMotionSensor.h"
47#include "MeShutter.h"
48#include "MeLineFollower.h"
49#include "MeSoundSensor.h"
50#include "MeLimitSwitch.h"
51#include "MeLightSensor.h"
52#include "MeSerial.h"
53#include "MeBluetooth.h"
54#include "MeWifi.h"
55#include "MeTemperature.h"
56#include "MeGyro.h"
57#include "MeInfraredReceiver.h"
58#include "MeCompass.h"
59#include "MeUSBHost.h"
60#include "MeTouchSensor.h"
61#include "MeStepper.h"
62#include "MeEncoderMotor.h"
63#include "MeEncoderNew.h"
64#include "MeBuzzer.h"
65#include "MeLEDMatrix.h"
66#include "MeHumitureSensor.h"
67#include "MeFlameSensor.h"
68#include "MeGasSensor.h"
69
70
71/********************* Shield Board GPIO Map *********************************/
72 MePort_Sig mePort[17] =
73{
74 { NC, NC }, { 11, 10 }, { 9, 12 }, { 13, 8 }, { NC, 3 },
75 { NC, NC }, { NC, 2 }, { A2, A3 }, { A0, A1 }, { 5, 4 },
76 { 6, 7 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
77 { NC, NC }, { NC, NC },
78};
79
80#define buzzerOn() pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)
81#define buzzerOff() pinMode(SCL,OUTPUT),digitalWrite(SCL, LOW)
82
83#endif // MeShield_H
84
Me4Button.h
Header for Me4Button.cpp module.
Me7SegmentDisplay.h
Header file for Me7SegmentDisplay.cpp.
MeBluetooth.h
Header for MeBluetooth.cpp module.
MeBuzzer.h
Header for MeBuzzer.cpp module.
MeCompass.h
Header for MeCompass.cpp module.
MeConfig.h
Configuration file of library.
MeDCMotor.h
Header for MeDCMotor.cpp module.
MeEncoderMotor.h
Header for MeEncoderMotor.cpp module.
MeEncoderNew.h
Header for MeEncoderNew.cpp module.
MeFlameSensor.h
Header for MeFlameSensor.cpp module.
MeGasSensor.h
Header for MeGasSensor.cpp module.
MeGyro.h
Header for MeGyro.cpp module.
MeHumitureSensor.h
Header for for MeHumitureSensor.cpp module.
MeInfraredReceiver.h
Header for for MeInfraredReceiver.cpp module.
MeJoystick.h
Header for MeJoystick.cpp module.
MeLEDMatrix.h
Header for MeLEDMatrix.cpp module.
MeLightSensor.h
Header file for Me-Light Sensor.cpp.
MeLimitSwitch.h
Header for MeLimitSwitch.cpp.
MeLineFollower.h
Header for for MeLineFollower.cpp module.
MePIRMotionSensor.h
Header for MePIRMotionSensor.cpp.
MePotentiometer.h
Header for MePotentiometer.cpp.
MeRGBLed.h
Header for MeRGBLed.cpp module.
MeSerial.h
Header for for MeSerial.cpp module.
MeShutter.h
Header for MeShutter.cpp module.
MeStepper.h
Header for MeStepper.cpp module.
MeTemperature.h
Header for MeTemperature.cpp module.
MeTouchSensor.h
Header for for MeTouchSensor.cpp module.
MeUSBHost.h
Header for MeUSBHost.cpp module.
MeUltrasonicSensor.h
Header for for MeUltrasonicSensor.cpp module.
MeWifi.h
Header for for MeWifi.cpp module.
MePort_Sig
Definition MePort.h:71