Makeblock-library-for-Arduino  V3.2.4
It's a library for arduino application developers
MeAuriga.h
Go to the documentation of this file.
1 
32 #ifndef MeAuriga_H
33 #define MeAuriga_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 #include "MeEncoderOnBoard.h"
70 #include "MeOnBoardTemp.h"
71 
72 /********************* Auriga Board GPIO Map *********************************/
73 // struct defined in MeAuriga.h
75  {
76  { NC, NC }, { 5, 4 }, { 3, 2 }, { 7, 6 }, { 9, 8 },
77  { 16, 17 }, { A10, A15 }, { A9, A14 }, { A8, A13 }, { A7, A12 },
78  // LIGHT2 LIGHT1 TEMP SOUND
79  { A6,A11 }, { NC, A2 }, { NC, A3 }, { NC, A0 }, { NC, A1 },
80  };
81 
83 {
84  { NC, NC, NC, NC, NC},
85  //ENA A ENA B PWMA DIR A2 DIR A1
86  { 19, 42, 11, 49, 48},
87  //ENB A ENB B PWMB DIR B1 DIR B2
88  { 18, 43, 10, 47, 46},
89  { NC, NC, NC, NC, NC},
90  { NC, NC, NC, NC, NC},
91 };
92 
93 #define buzzerOn() pinMode(45,OUTPUT),digitalWrite(45, HIGH)
94 #define buzzerOff() pinMode(45,OUTPUT),digitalWrite(45, LOW)
95 
96 #endif // MeAuriga_H
Header for MeDCMotor.cpp module.
Header for for MeUltrasonicSensor.cpp module.
MePort_Sig mePort[15]
Definition: MeAuriga.h:74
Header for for MeInfraredReceiver.cpp module.
Configuration file of library.
Header file for Me-Light Sensor.cpp.
Header for MeGasSensor.cpp module.
Header for MeGyro.cpp module.
Header for for MeHumitureSensor.cpp module.
Header for for MeTouchSensor.cpp module.
Header for MeUSBHost.cpp module.
Header for for MeSerial.cpp module.
Header for MeOnBoardTemp.cpp module.
Header for MeCompass.cpp module.
Header for for MeLineFollower.cpp module.
Header for for MeSoundSensor.cpp module.
Header for MeEncoderOnBoard.cpp module.
Header for MeBuzzer.cpp module.
Header for MeShutter.cpp module.
Header file for Me7SegmentDisplay.cpp.
Header for MeJoystick.cpp module.
Definition: MePort.h:68
Header for MeFlameSensor.cpp module.
Header for MeEncoderNew.cpp module.
Header for MePotentiometer.cpp.
Header for MeLimitSwitch.cpp.
Header for MeLEDMatrix.cpp module.
Header for MeEncoderMotor.cpp module.
Header for MeBluetooth.cpp module.
Header for MeStepper.cpp module.
Header for MeTemperature.cpp module.
Header for MePIRMotionSensor.cpp.
#define NC
Definition: MePort.h:76
Header for MeRGBLed.cpp module.
Definition: MeEncoderOnBoard.h:120
Header for for MeWifi.cpp module.
Header for Me4Button.cpp module.
Encoder_port_type encoder_Port[6]
Definition: MeAuriga.h:82