MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
MeAuriga.h
Go to the documentation of this file.
1
36#ifndef MeAuriga_H
37#define MeAuriga_H
38
39#include <Arduino.h>
40#include <Wire.h>
41#include "MeConfig.h"
42
43// Supported Modules drive needs to be added here
44#include "Me7SegmentDisplay.h"
45#include "MeUltrasonicSensor.h"
46#include "MeDCMotor.h"
47#include "MeRGBLed.h"
48#include "Me4Button.h"
49#include "MePotentiometer.h"
50#include "MeJoystick.h"
51#include "MePIRMotionSensor.h"
52#include "MeShutter.h"
53#include "MeLineFollower.h"
54#include "MeSoundSensor.h"
55#include "MeLimitSwitch.h"
56#include "MeLightSensor.h"
57#include "MeSerial.h"
58#include "MeBluetooth.h"
59#include "MeWifi.h"
60#include "MeTemperature.h"
61#include "MeGyro.h"
62#include "MeInfraredReceiver.h"
63#include "MeCompass.h"
64#include "MeUSBHost.h"
65#include "MeTouchSensor.h"
66#include "MeStepper.h"
67#include "MeEncoderMotor.h"
68#include "MeEncoderNew.h"
69#include "MeBuzzer.h"
70#include "MeLEDMatrix.h"
71#include "MeHumitureSensor.h"
72#include "MeFlameSensor.h"
73#include "MeGasSensor.h"
74#include "MeEncoderOnBoard.h"
75#include "MeOnBoardTemp.h"
76#include "MeSmartServo.h"
77#include "MePS2.h"
78#include "MePm25Sensor.h"
79#include "MeColorSensor.h"
80/********************* Auriga Board GPIO Map *********************************/
81// struct defined in MeAuriga.h
82 MePort_Sig mePort[17] =
83 {
84 { NC, NC }, { 5, 4 }, { 3, 2 }, { 7, 6 }, { 9, 8 },
85 { 16, 17 }, { A10, A15 }, { A9, A14 }, { A8, A13 }, { A7, A12 },
86 // LIGHT2 LIGHT1 TEMP SOUND
87 { A6,A11 }, { NC, A2 }, { NC, A3 }, { NC, A0 }, { NC, A1 },
88 { NC, NC }, { NC, NC },
89 };
90
91 Encoder_port_type encoder_Port[6] =
92{
93 { NC, NC, NC, NC, NC},
94 //ENA A ENA B PWMA DIR A2 DIR A1
95 { 19, 42, 11, 49, 48},
96 //ENB A ENB B PWMB DIR B1 DIR B2
97 { 18, 43, 10, 47, 46},
98 { NC, NC, NC, NC, NC},
99 { NC, NC, NC, NC, NC},
100};
101
102#define buzzerOn() pinMode(45,OUTPUT),digitalWrite(45, HIGH)
103#define buzzerOff() pinMode(45,OUTPUT),digitalWrite(45, LOW)
104
105#endif // MeAuriga_H
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.
MeColorSensor.h
Header for MeColorSensor.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.
MeEncoderOnBoard.h
Header for MeEncoderOnBoard.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.
MeOnBoardTemp.h
Header for MeOnBoardTemp.cpp module.
MePIRMotionSensor.h
Header for MePIRMotionSensor.cpp.
MePS2.h
Header for MePS2.cpp module.
MePm25Sensor.h
Header for for MePm25Sensor.cpp module.
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.
MeSmartServo.h
Header for for MeSmartServo.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.
Encoder_port_type
Definition MeEncoderOnBoard.h:122
MePort_Sig
Definition MePort.h:71