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 *********************************/
72MePort_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
Header for Me4Button.cpp module.
Header file for Me7SegmentDisplay.cpp.
Header for MeBluetooth.cpp module.
Header for MeBuzzer.cpp module.
Header for MeCompass.cpp module.
Configuration file of library.
Header for MeDCMotor.cpp module.
Header for MeEncoderMotor.cpp module.
Header for MeEncoderNew.cpp module.
Header for MeFlameSensor.cpp module.
Header for MeGasSensor.cpp module.
Header for MeGyro.cpp module.
Header for for MeHumitureSensor.cpp module.
Header for for MeInfraredReceiver.cpp module.
Header for MeJoystick.cpp module.
Header for MeLEDMatrix.cpp module.
Header file for Me-Light Sensor.cpp.
Header for MeLimitSwitch.cpp.
Header for for MeLineFollower.cpp module.
Header for MePIRMotionSensor.cpp.
Header for MePotentiometer.cpp.
Header for MeRGBLed.cpp module.
Header for for MeSerial.cpp module.
Header for MeShutter.cpp module.
Header for MeStepper.cpp module.
Header for MeTemperature.cpp module.
Header for for MeTouchSensor.cpp module.
Header for MeUSBHost.cpp module.
Header for for MeUltrasonicSensor.cpp module.
Header for for MeWifi.cpp module.
Definition MePort.h:71