diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..87c527e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,57 @@ +# Created by https://www.toptal.com/developers/gitignore/api/c++,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=c++,visualstudiocode + +### C++ ### +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# End of https://www.toptal.com/developers/gitignore/api/c++,visualstudiocode diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6f73c6a6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "files.associations": { + "deque": "cpp", + "initializer_list": "cpp", + "list": "cpp", + "vector": "cpp", + "xhash": "cpp", + "xstring": "cpp", + "xtree": "cpp", + "xutility": "cpp" + } +} \ No newline at end of file diff --git a/README.md b/README.md index 8e014617..aec85d06 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ -# Makeblock Library v3.27 +# Makeblock Library v3.28.0 Arduino Library for Makeblock Electronic Modules +## Note +The original library from Makeblock is not maintained anymore. I have a fleet of Makeblock Ranger robots and I needed to fix some issues with the library. I will try to keep it up to date with the original library. + +Feel free to open an issue if you have any problem with the library or create a pull request if you have a fix. + # Copyright notice In makeblock's library, some of the modules are derived from other open source projects, and also part of some code is inspired by the algorithms of other individuals or organizations. We will retain the copyright of the original open source code. @@ -22,15 +27,12 @@ As an open source library, we respect all contributors to the open source commun If you have a discussion about licensing issues, please contact me (myan@makeblock.com -- Mark Yan) -### How to use: - -1. Download the source from the git https://codeload.github.com/Makeblock-official/Makeblock-Libraries/zip/master +## How to use: -2. In the Arduino IDE: "Sketch-> Include Library-> Add .ZIP Library-> select the downloaded file-> Open" - -3. Click "File-> Examples". There are some test programs in "MakeBlockDrive->" - -4. Depending on the type of board you're using, you need to modify the header file to match. +1. Download the library from the Arduino Library manager +2. Search for Makeblock in the Library Manager and select `Makeblock Drive Updated` +4. Click "File-> Examples". There are some test programs in "MakeBlock Drive Updated->" +5. Depending on the type of board you're using, you need to modify the header file to match. For example, if you're using a mCore. You should change `#include ` to `#include ` Corresponding boards and there header file are: @@ -47,7 +49,7 @@ If you have a discussion about licensing issues, please contact me (myan@makeblo MegaPi <-------> MeMegaPi.h -### Revision of history: +## Revision of history: |Author | Time | Version | Descr | |:-------- | :-----: | :----: | :----- | @@ -61,5 +63,9 @@ If you have a discussion about licensing issues, please contact me (myan@makeblo |Mark Yan   | 2018/05/16 | 3.2.5 | Correct copyright information.| |Vincent He | 2019/01/04 | 3.2.6 | 1.Mbot /ranger adds the function of communication variables. 2.Solve the blocking problem of 9g steering gear. 3.Solve the problem that the intelligent steering gear cannot read back the parameters. 4.Add version number function. 5.High power code motor reinforcement version query function. 6.Solve the problem of SetColor (uint8_t index, long value) function error in mergharp.cpp. 7.The mBot board cannot extinguish the RGB. First upload the program with the RGB in any color, and then upload the program with the RGB in all colors. The RGB cannot extinguish (MeRGBLed bled. CPP file). 8.In the MegaPi firmware, SLOT1 is changed to slot_num instead of parameter transmission in the command processing stepper motor.| |Vincent He | 2019/09/02 | 3.2.7 | 1.fix the problem that the electronic compass Mecompass is hung on the Orion mainboard 7 or 8 ports and communication will be hung dead. 2.fix the problem that the function getPointFast() in MeHumitureSensor.cpp does not normally output the value. 3.fix the problem that compile smartservo_test.ino firmware error report using the arduino1.6.5 environment with mBlock V3.4.12. 4.remove MeSuperVariable.cpp/MeSuperVariable.h. 5.fix the problem that ultrasonic module can only measure the maximum range of 375cm,and the maximum range of normal requirements is 400cm.| +| Nicolas Bourré | 2023/10/16 | 3.28 | 1. Added missing `gyro.getGyroZ`. 2. Compliant semver.org version number. 3. Added `gyro.resetData` function. 4. Modified the gyro address if it is an Auriga board. | + +# Issues -### Learn more from Makeblock official website: www.makeblock.com +## Remove old MakeBlock library +If you have problem with the compiler complaining of ambiguous reference to `MePort`, you may have an old version of the MakeBlock library installed. You can remove it by uninstalling the official Makeblock library via the library manager. \ No newline at end of file diff --git a/doc/html/_buzzer_test_8ino-example.html b/doc/html/_buzzer_test_8ino-example.html new file mode 100644 index 00000000..aa33ed31 --- /dev/null +++ b/doc/html/_buzzer_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: BuzzerTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
BuzzerTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_color_loop_test_8ino-example.html b/doc/html/_color_loop_test_8ino-example.html new file mode 100644 index 00000000..f9751b4b --- /dev/null +++ b/doc/html/_color_loop_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: ColorLoopTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ColorLoopTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_d_c_motor_driver_test_8ino-example.html b/doc/html/_d_c_motor_driver_test_8ino-example.html new file mode 100644 index 00000000..16993b9c --- /dev/null +++ b/doc/html/_d_c_motor_driver_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: DCMotorDriverTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
DCMotorDriverTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_e_e_p_r_o_m_8h_source.html b/doc/html/_e_e_p_r_o_m_8h_source.html new file mode 100644 index 00000000..d6a39991 --- /dev/null +++ b/doc/html/_e_e_p_r_o_m_8h_source.html @@ -0,0 +1,268 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/EEPROM.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EEPROM.h
+
+
+
1/*
+
2 EEPROM.h - EEPROM library
+
3 Original Copyright (c) 2006 David A. Mellis. All right reserved.
+
4 New version by Christopher Andrews 2015.
+
5
+
6 This library is free software; you can redistribute it and/or
+
7 modify it under the terms of the GNU Lesser General Public
+
8 License as published by the Free Software Foundation; either
+
9 version 2.1 of the License, or (at your option) any later version.
+
10
+
11 This library is distributed in the hope that it will be useful,
+
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
+
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
14 Lesser General Public License for more details.
+
15
+
16 You should have received a copy of the GNU Lesser General Public
+
17 License along with this library; if not, write to the Free Software
+
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
19*/
+
20
+
21#ifndef EEPROM_h
+
22#define EEPROM_h
+
23
+
24#include <inttypes.h>
+
25#include <avr/eeprom.h>
+
26#include <avr/io.h>
+
27
+
28/***
+
29 EERef class.
+
30
+
31 This object references an EEPROM cell.
+
32 Its purpose is to mimic a typical byte of RAM, however its storage is the EEPROM.
+
33 This class has an overhead of two bytes, similar to storing a pointer to an EEPROM cell.
+
34***/
+
35
+
+
36struct EERef{
+
37
+
38 EERef( const int index )
+
39 : index( index ) {}
+
40
+
41 //Access/read members.
+
42 uint8_t operator*() const { return eeprom_read_byte( (uint8_t*) index ); }
+
43 operator uint8_t() const { return **this; }
+
44
+
45 //Assignment/write members.
+
46 EERef &operator=( const EERef &ref ) { return *this = *ref; }
+
47 EERef &operator=( uint8_t in ) { return eeprom_write_byte( (uint8_t*) index, in ), *this; }
+
48 EERef &operator +=( uint8_t in ) { return *this = **this + in; }
+
49 EERef &operator -=( uint8_t in ) { return *this = **this - in; }
+
50 EERef &operator *=( uint8_t in ) { return *this = **this * in; }
+
51 EERef &operator /=( uint8_t in ) { return *this = **this / in; }
+
52 EERef &operator ^=( uint8_t in ) { return *this = **this ^ in; }
+
53 EERef &operator %=( uint8_t in ) { return *this = **this % in; }
+
54 EERef &operator &=( uint8_t in ) { return *this = **this & in; }
+
55 EERef &operator |=( uint8_t in ) { return *this = **this | in; }
+
56 EERef &operator <<=( uint8_t in ) { return *this = **this << in; }
+
57 EERef &operator >>=( uint8_t in ) { return *this = **this >> in; }
+
58
+
59 EERef &update( uint8_t in ) { return in != *this ? *this = in : *this; }
+
60
+
62 EERef& operator++() { return *this += 1; }
+
63 EERef& operator--() { return *this -= 1; }
+
64
+
+
66 uint8_t operator++ (int){
+
67 uint8_t ret = **this;
+
68 return ++(*this), ret;
+
69 }
+
+
70
+
71 uint8_t operator-- (int){
+
72 uint8_t ret = **this;
+
73 return --(*this), ret;
+
74 }
+
75
+
76 int index; //Index of current EEPROM cell.
+
77};
+
+
78
+
79/***
+
80 EEPtr class.
+
81
+
82 This object is a bidirectional pointer to EEPROM cells represented by EERef objects.
+
83 Just like a normal pointer type, this can be dereferenced and repositioned using
+
84 increment/decrement operators.
+
85***/
+
86
+
+
87struct EEPtr{
+
88
+
89 EEPtr( const int index )
+
90 : index( index ) {}
+
91
+
92 operator int() const { return index; }
+
93 EEPtr &operator=( int in ) { return index = in, *this; }
+
94
+
95 //Iterator functionality.
+
96 bool operator!=( const EEPtr &ptr ) { return index != ptr.index; }
+
97 EERef operator*() { return index; }
+
98
+
100 EEPtr& operator++() { return ++index, *this; }
+
101 EEPtr& operator--() { return --index, *this; }
+
102 EEPtr operator++ (int) { return index++; }
+
103 EEPtr operator-- (int) { return index--; }
+
104
+
105 int index; //Index of current EEPROM cell.
+
106};
+
+
107
+
108/***
+
109 EEPROMClass class.
+
110
+
111 This object represents the entire EEPROM space.
+
112 It wraps the functionality of EEPtr and EERef into a basic interface.
+
113 This class is also 100% backwards compatible with earlier Arduino core releases.
+
114***/
+
115
+
+ +
117
+
118 //Basic user access methods.
+
119 EERef operator[]( const int idx ) { return idx; }
+
120 uint8_t read( int idx ) { return EERef( idx ); }
+
121 void write( int idx, uint8_t val ) { (EERef( idx )) = val; }
+
122 void update( int idx, uint8_t val ) { EERef( idx ).update( val ); }
+
123
+
124 //STL and C++11 iteration capability.
+
125 EEPtr begin() { return 0x00; }
+
126 EEPtr end() { return length(); } //Standards requires this to be the item after the last valid entry. The returned pointer is invalid.
+
127 uint16_t length() { return E2END + 1; }
+
128
+
129 //Functionality to 'get' and 'put' objects to and from EEPROM.
+
130 template< typename T > T &get( int idx, T &t ){
+
131 EEPtr e = idx;
+
132 uint8_t *ptr = (uint8_t*) &t;
+
133 for( int count = sizeof(T) ; count ; --count, ++e ) *ptr++ = *e;
+
134 return t;
+
135 }
+
136
+
137 template< typename T > const T &put( int idx, const T &t ){
+
138 EEPtr e = idx;
+
139 const uint8_t *ptr = (const uint8_t*) &t;
+
140 for( int count = sizeof(T) ; count ; --count, ++e ) (*e).update( *ptr++ );
+
141 return t;
+
142 }
+
143};
+
+
144
+
145__attribute__((unused))
+
146static EEPROMClass EEPROM;
+
147#endif
+
Definition EEPROM.h:116
+
Definition EEPROM.h:87
+
EEPtr & operator++()
Definition EEPROM.h:100
+
Definition EEPROM.h:36
+
EERef & operator++()
Definition EEPROM.h:62
+
+
+ + + + diff --git a/doc/html/_encoder_motor_change_i2_c_dev_i_d_8ino-example.html b/doc/html/_encoder_motor_change_i2_c_dev_i_d_8ino-example.html new file mode 100644 index 00000000..dc16ce76 --- /dev/null +++ b/doc/html/_encoder_motor_change_i2_c_dev_i_d_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorChangeI2CDevID.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorChangeI2CDevID.ino
+
+
+
+
+ + + + diff --git a/doc/html/_encoder_motor_test_is_tar_pos_reached_8ino-example.html b/doc/html/_encoder_motor_test_is_tar_pos_reached_8ino-example.html new file mode 100644 index 00000000..920cc885 --- /dev/null +++ b/doc/html/_encoder_motor_test_is_tar_pos_reached_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorTestIsTarPosReached.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorTestIsTarPosReached.ino
+
+
+
+
+ + + + diff --git a/doc/html/_encoder_motor_test_move_to_8ino-example.html b/doc/html/_encoder_motor_test_move_to_8ino-example.html new file mode 100644 index 00000000..5d15e2b8 --- /dev/null +++ b/doc/html/_encoder_motor_test_move_to_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorTestMoveTo.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorTestMoveTo.ino
+
+
+
+
+ + + + diff --git a/doc/html/_encoder_motor_test_run_speed_8ino-example.html b/doc/html/_encoder_motor_test_run_speed_8ino-example.html new file mode 100644 index 00000000..51c01507 --- /dev/null +++ b/doc/html/_encoder_motor_test_run_speed_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorTestRunSpeed.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorTestRunSpeed.ino
+
+
+
+
+ + + + diff --git a/doc/html/_encoder_motor_test_run_speed_and_time_8ino-example.html b/doc/html/_encoder_motor_test_run_speed_and_time_8ino-example.html new file mode 100644 index 00000000..94ae9fe8 --- /dev/null +++ b/doc/html/_encoder_motor_test_run_speed_and_time_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorTestRunSpeedAndTime.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorTestRunSpeedAndTime.ino
+
+
+
+
+ + + + diff --git a/doc/html/_encoder_motor_test_run_turns_8ino-example.html b/doc/html/_encoder_motor_test_run_turns_8ino-example.html new file mode 100644 index 00000000..7a6fe947 --- /dev/null +++ b/doc/html/_encoder_motor_test_run_turns_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: EncoderMotorTestRunTurns.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
EncoderMotorTestRunTurns.ino
+
+
+
+
+ + + + diff --git a/doc/html/_indicators_test_8ino-example.html b/doc/html/_indicators_test_8ino-example.html new file mode 100644 index 00000000..d73747d8 --- /dev/null +++ b/doc/html/_indicators_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: IndicatorsTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
IndicatorsTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_infrared_receiver_test_8ino-example.html b/doc/html/_infrared_receiver_test_8ino-example.html new file mode 100644 index 00000000..54e85c9d --- /dev/null +++ b/doc/html/_infrared_receiver_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: InfraredReceiverTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
InfraredReceiverTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_limit_switch_test_8ino-example.html b/doc/html/_limit_switch_test_8ino-example.html new file mode 100644 index 00000000..fffbf1ca --- /dev/null +++ b/doc/html/_limit_switch_test_8ino-example.html @@ -0,0 +1,107 @@ + + + + + + + +MakeBlock Drive Updated: LimitSwitchTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LimitSwitchTest.ino
+
+
+


+ MicroSwitchTest.ino
+

+
+ + + + diff --git a/doc/html/_line_follower_test_8ino-example.html b/doc/html/_line_follower_test_8ino-example.html new file mode 100644 index 00000000..ac7c224b --- /dev/null +++ b/doc/html/_line_follower_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: LineFollowerTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
LineFollowerTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_mbot_buzzer_test2_8ino-example.html b/doc/html/_mbot_buzzer_test2_8ino-example.html new file mode 100644 index 00000000..6eb22911 --- /dev/null +++ b/doc/html/_mbot_buzzer_test2_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MbotBuzzerTest2.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MbotBuzzerTest2.ino
+
+
+
+
+ + + + diff --git a/doc/html/_mbot_buzzer_test_8ino-example.html b/doc/html/_mbot_buzzer_test_8ino-example.html new file mode 100644 index 00000000..32735dd2 --- /dev/null +++ b/doc/html/_mbot_buzzer_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MbotBuzzerTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MbotBuzzerTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me4_button_8cpp.html b/doc/html/_me4_button_8cpp.html new file mode 100644 index 00000000..8df08ef5 --- /dev/null +++ b/doc/html/_me4_button_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/Me4Button.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me4Button.cpp File Reference
+
+
+ +

Driver for Me 4 Button module. +More...

+
#include "Me4Button.h"
+
+Include dependency graph for Me4Button.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me 4 Button module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/01
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for 4 Button module, It supports Me-4 Button V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void Me4Button::setpin(uint8_t port);
  2. +
  3. uint8_t Me4Button::pressed();
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added some comments and macros add setpin function.
+
+
+
+ + + + diff --git a/doc/html/_me4_button_8cpp__incl.map b/doc/html/_me4_button_8cpp__incl.map new file mode 100644 index 00000000..74af6252 --- /dev/null +++ b/doc/html/_me4_button_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me4_button_8cpp__incl.md5 b/doc/html/_me4_button_8cpp__incl.md5 new file mode 100644 index 00000000..0887ae63 --- /dev/null +++ b/doc/html/_me4_button_8cpp__incl.md5 @@ -0,0 +1 @@ +4ed68d08e53378fecdc39b44f53e1a23 \ No newline at end of file diff --git a/doc/html/_me4_button_8cpp__incl.png b/doc/html/_me4_button_8cpp__incl.png new file mode 100644 index 00000000..e5c26733 Binary files /dev/null and b/doc/html/_me4_button_8cpp__incl.png differ diff --git a/doc/html/_me4_button_8h.html b/doc/html/_me4_button_8h.html new file mode 100644 index 00000000..e1e8a69f --- /dev/null +++ b/doc/html/_me4_button_8h.html @@ -0,0 +1,268 @@ + + + + + + + +MakeBlock Drive Updated: src/Me4Button.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Me4Button.h File Reference
+
+
+ +

Header for Me4Button.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for Me4Button.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Me4Button
 Driver for Me 4 Button module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define KEY_NULL   (0)
 
+#define KEY_1   (1)
 
+#define KEY_2   (2)
 
+#define KEY_3   (3)
 
+#define KEY_4   (4)
 
+#define KEY_NULL_VALUE   (962)
 
+#define KEY_1_VALUE   (0)
 
+#define KEY_2_VALUE   (481)
 
+#define KEY_3_VALUE   (641)
 
+#define KEY_4_VALUE   (721)
 
+#define DEBOUNCED_INTERVAL   (8)
 
+#define FALSE   (0)
 
+#define TRUE   (1)
 
+

Detailed Description

+

Header for Me4Button.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/08/31
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is the drive for 4 Button module, It supports Me-4 Button V1.0 module provided by MakeBlock.
+
Method List:
+
    +
  1. void Me4Button::setpin(uint8_t port);
  2. +
  3. uint8_t Me4Button::pressed();
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/08/31     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me4_button_8h.js b/doc/html/_me4_button_8h.js new file mode 100644 index 00000000..4fd61745 --- /dev/null +++ b/doc/html/_me4_button_8h.js @@ -0,0 +1,4 @@ +var _me4_button_8h = +[ + [ "Me4Button", "class_me4_button.html", "class_me4_button" ] +]; \ No newline at end of file diff --git a/doc/html/_me4_button_8h__dep__incl.map b/doc/html/_me4_button_8h__dep__incl.map new file mode 100644 index 00000000..bae00b42 --- /dev/null +++ b/doc/html/_me4_button_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me4_button_8h__dep__incl.md5 b/doc/html/_me4_button_8h__dep__incl.md5 new file mode 100644 index 00000000..b5a9f3ab --- /dev/null +++ b/doc/html/_me4_button_8h__dep__incl.md5 @@ -0,0 +1 @@ +61b3715faa7ee6148ac39926933eb062 \ No newline at end of file diff --git a/doc/html/_me4_button_8h__dep__incl.png b/doc/html/_me4_button_8h__dep__incl.png new file mode 100644 index 00000000..3474d7f2 Binary files /dev/null and b/doc/html/_me4_button_8h__dep__incl.png differ diff --git a/doc/html/_me4_button_8h__incl.map b/doc/html/_me4_button_8h__incl.map new file mode 100644 index 00000000..87bb2401 --- /dev/null +++ b/doc/html/_me4_button_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me4_button_8h__incl.md5 b/doc/html/_me4_button_8h__incl.md5 new file mode 100644 index 00000000..e08375fa --- /dev/null +++ b/doc/html/_me4_button_8h__incl.md5 @@ -0,0 +1 @@ +71e8a9cccba2e8f6fc237d964aa3d0d9 \ No newline at end of file diff --git a/doc/html/_me4_button_8h__incl.png b/doc/html/_me4_button_8h__incl.png new file mode 100644 index 00000000..d21dfe7c Binary files /dev/null and b/doc/html/_me4_button_8h__incl.png differ diff --git a/doc/html/_me4_button_8h_source.html b/doc/html/_me4_button_8h_source.html new file mode 100644 index 00000000..163135e7 --- /dev/null +++ b/doc/html/_me4_button_8h_source.html @@ -0,0 +1,180 @@ + + + + + + + +MakeBlock Drive Updated: src/Me4Button.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me4Button.h
+
+
+Go to the documentation of this file.
1
+
39/* Define to prevent recursive inclusion -------------------------------------*/
+
40#ifndef Me4Button_H
+
41#define Me4Button_H
+
42
+
43/* Includes ------------------------------------------------------------------*/
+
44#include <stdint.h>
+
45#include <stdbool.h>
+
46#include <Arduino.h>
+
47#include "MeConfig.h"
+
48
+
49#ifdef ME_PORT_DEFINED
+
50#include "MePort.h"
+
51#endif // ME_PORT_DEFINED
+
52
+
53/* Exported macro ------------------------------------------------------------*/
+
54#define KEY_NULL (0)
+
55#define KEY_1 (1)
+
56#define KEY_2 (2)
+
57#define KEY_3 (3)
+
58#define KEY_4 (4)
+
59
+
60#define KEY_NULL_VALUE (962) // 1023*((5-0.3)/5)
+
61#define KEY_1_VALUE (0)
+
62#define KEY_2_VALUE (481) // 962/2
+
63#define KEY_3_VALUE (641) // 962*2/3
+
64#define KEY_4_VALUE (721) // 962*3/4
+
65
+
66#define DEBOUNCED_INTERVAL (8)
+
67// If you want key response faster, you can set DEBOUNCED_INTERVAL to a
+
68// smaller number.
+
69
+
70#define FALSE (0)
+
71#define TRUE (1)
+
72
+
78#ifndef ME_PORT_DEFINED
+
79class Me4Button
+
80#else // !ME_PORT_DEFINED
+
+
81class Me4Button : public MePort
+
82#endif // !ME_PORT_DEFINED
+
83{
+
84public:
+
85#ifdef ME_PORT_DEFINED
+
92 Me4Button(void);
+
93
+
100 Me4Button(uint8_t port);
+
101#else // ME_PORT_DEFINED
+
107 Me4Button(uint8_t port);
+
108#endif // ME_PORT_DEFINED
+
123 void setpin(uint8_t port);
+
124
+
139 uint8_t pressed(void);
+
140private:
+
141 volatile unsigned long previous_time;
+
142 volatile unsigned long key_debounced_count;
+
143 volatile unsigned long key_match_count;
+
144 volatile unsigned long key_debounced_value;
+
145 volatile int16_t Pre_Button_Value;
+
146 volatile uint8_t _KeyPin;
+
147};
+
+
148#endif // Me4Button_H
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me 4 Button module.
Definition Me4Button.h:83
+
Me4Button(void)
Definition Me4Button.cpp:54
+
uint8_t pressed(void)
Definition Me4Button.cpp:121
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me4_button_test_8ino-example.html b/doc/html/_me4_button_test_8ino-example.html new file mode 100644 index 00000000..c603aad6 --- /dev/null +++ b/doc/html/_me4_button_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me4ButtonTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me4ButtonTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me7_segment_display_8cpp.html b/doc/html/_me7_segment_display_8cpp.html new file mode 100644 index 00000000..ea91e50b --- /dev/null +++ b/doc/html/_me7_segment_display_8cpp.html @@ -0,0 +1,241 @@ + + + + + + + +MakeBlock Drive Updated: src/Me7SegmentDisplay.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Me7SegmentDisplay.cpp File Reference
+
+
+ +

Driver for Me 7 Segment Serial Display module. +More...

+
#include "Me7SegmentDisplay.h"
+
+Include dependency graph for Me7SegmentDisplay.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +

+Variables

const uint8_t TubeTab[] PROGMEM
 
+

Detailed Description

+

Driver for Me 7 Segment Serial Display module.

+
Author
Frankie.Chu, MakeBlock
+
Version
V1.0.5
+
Date
2016/07/27
+
Copyright
This software is Copyright (C), 2012-2018, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
Driver for Me 7 Segment Serial Display module.
+
Method List:
+
    +
  1. void Me7SegmentDisplay::init(void);
  2. +
  3. void Me7SegmentDisplay::set(uint8_t brightness, uint8_t SetData, uint8_t SetAddr);
  4. +
  5. void Me7SegmentDisplay::reset(uint8_t port);
  6. +
  7. void Me7SegmentDisplay::setpin(uint8_t dataPin, uint8_t clkPin);
  8. +
  9. void Me7SegmentDisplay::write(uint8_t SegData[]);
  10. +
  11. void Me7SegmentDisplay::write(uint8_t BitAddr, uint8_t SegData);
  12. +
  13. void Me7SegmentDisplay::display(uint16_t value);
  14. +
  15. void Me7SegmentDisplay::display(int16_t value);
  16. +
  17. void Me7SegmentDisplay::display(float value);
  18. +
  19. void Me7SegmentDisplay::display(long value);
  20. +
  21. int16_t Me7SegmentDisplay::checkNum(float v,int16_t b);
  22. +
  23. void Me7SegmentDisplay::display(double value, uint8_t digits);
  24. +
  25. void Me7SegmentDisplay::display(uint8_t DispData[]);
  26. +
  27. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData);
  28. +
  29. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on);
  30. +
  31. void Me7SegmentDisplay::clearDisplay(void);
  32. +
  33. void Me7SegmentDisplay::setBrightness(uint8_t brightness);
  34. +
  35. void Me7SegmentDisplay::coding(uint8_t DispData[]);
  36. +
  37. uint8_t Me7SegmentDisplay::coding(uint8_t DispData);
  38. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+makeblock        2013/08/08     0.0.1            According to hardware differences, initial revision                     
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added some comments and macros. Some bug fixed in coding function.
+Mark Yan         2015/10/29     1.0.2            fix issue when display negative data.
+Mark Yan         2015/11/09     1.0.3            fix some comments error.
+Mark Yan         2015/11/12     1.0.4            fix driver API.
+Mark Yan         2016/07/27     1.0.5            add display to support long type.
+
+

Variable Documentation

+ +

◆ PROGMEM

+ +
+
+ + + + +
const uint8_t TubeTab [] PROGMEM
+
+Initial value:
=
+
{
+
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
+
0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71,
+
0xbf, 0x86, 0xdb, 0xcf, 0xe6, 0xed, 0xfd, 0x87, 0xff, 0xef,
+
0xf7, 0xfc, 0xb9, 0xde, 0xf9, 0xf1,
+
0, 0x40
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me7_segment_display_8cpp__incl.map b/doc/html/_me7_segment_display_8cpp__incl.map new file mode 100644 index 00000000..75f13f8e --- /dev/null +++ b/doc/html/_me7_segment_display_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me7_segment_display_8cpp__incl.md5 b/doc/html/_me7_segment_display_8cpp__incl.md5 new file mode 100644 index 00000000..a5f395eb --- /dev/null +++ b/doc/html/_me7_segment_display_8cpp__incl.md5 @@ -0,0 +1 @@ +19e40702f930d46c9a5a90cad6f072d0 \ No newline at end of file diff --git a/doc/html/_me7_segment_display_8cpp__incl.png b/doc/html/_me7_segment_display_8cpp__incl.png new file mode 100644 index 00000000..47438ec4 Binary files /dev/null and b/doc/html/_me7_segment_display_8cpp__incl.png differ diff --git a/doc/html/_me7_segment_display_8h.html b/doc/html/_me7_segment_display_8h.html new file mode 100644 index 00000000..ecfc201e --- /dev/null +++ b/doc/html/_me7_segment_display_8h.html @@ -0,0 +1,296 @@ + + + + + + + +MakeBlock Drive Updated: src/Me7SegmentDisplay.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Me7SegmentDisplay.h File Reference
+
+
+ +

Header file for Me7SegmentDisplay.cpp. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for Me7SegmentDisplay.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  Me7SegmentDisplay
 Class for numeric display module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Variables

+const uint8_t ADDR_AUTO = 0x40
 
+const uint8_t ADDR_FIXED = 0x44
 
+const uint8_t STARTADDR = 0xc0
 
+const uint8_t SEGDIS_ON = 0x88
 
+const uint8_t SEGDIS_OFF = 0x80
 
+const uint8_t POINT_ON = 1
 
+const uint8_t POINT_OFF = 0
 
+const uint8_t BRIGHTNESS_0 = 0
 
+const uint8_t BRIGHTNESS_1 = 1
 
+const uint8_t BRIGHTNESS_2 = 2
 
+const uint8_t BRIGHTNESS_3 = 3
 
+const uint8_t BRIGHTNESS_4 = 4
 
+const uint8_t BRIGHTNESS_5 = 5
 
+const uint8_t BRIGHTNESS_6 = 6
 
+const uint8_t BRIGHTNESS_7 = 7
 
+

Detailed Description

+

Header file for Me7SegmentDisplay.cpp.

+
Author
Frankie.Chu, MakeBlock
+
Version
V1.0.5
+
Date
2016/07/27
+
Copyright
This software is Copyright (C), 2012-2018, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
Driver for Me 7 Segment Serial Display module.
+
Method List:
+
    +
  1. void Me7SegmentDisplay::init(void);
  2. +
  3. void Me7SegmentDisplay::set(uint8_t brightness, uint8_t SetData, uint8_t SetAddr);
  4. +
  5. void Me7SegmentDisplay::reset(uint8_t port);
  6. +
  7. void Me7SegmentDisplay::setpin(uint8_t dataPin, uint8_t clkPin);
  8. +
  9. void Me7SegmentDisplay::write(uint8_t SegData[]);
  10. +
  11. void Me7SegmentDisplay::write(uint8_t BitAddr, uint8_t SegData);
  12. +
  13. void Me7SegmentDisplay::display(uint16_t value);
  14. +
  15. void Me7SegmentDisplay::display(int16_t value);
  16. +
  17. void Me7SegmentDisplay::display(float value);
  18. +
  19. void Me7SegmentDisplay::display(long value);
  20. +
  21. int16_t Me7SegmentDisplay::checkNum(float v,int16_t b);
  22. +
  23. void Me7SegmentDisplay::display(double value, uint8_t digits);
  24. +
  25. void Me7SegmentDisplay::display(uint8_t DispData[]);
  26. +
  27. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData);
  28. +
  29. void Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on);
  30. +
  31. void Me7SegmentDisplay::clearDisplay(void);
  32. +
  33. void Me7SegmentDisplay::setBrightness(uint8_t brightness);
  34. +
  35. void Me7SegmentDisplay::coding(uint8_t DispData[]);
  36. +
  37. uint8_t Me7SegmentDisplay::coding(uint8_t DispData);
  38. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+makeblock        2013/08/08     0.0.1            According to hardware differences, initial revision                     
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added some comments and macros.
+Mark Yan         2015/10/29     1.0.2            fix issue when display negative data.
+Mark Yan         2015/11/09     1.0.3            fix some comments error.
+Mark Yan         2015/11/12     1.0.4            fix driver API.
+Mark Yan         2016/07/27     1.0.5            add display to support long type.
+
+
+
+ + + + diff --git a/doc/html/_me7_segment_display_8h.js b/doc/html/_me7_segment_display_8h.js new file mode 100644 index 00000000..11715e97 --- /dev/null +++ b/doc/html/_me7_segment_display_8h.js @@ -0,0 +1,4 @@ +var _me7_segment_display_8h = +[ + [ "Me7SegmentDisplay", "class_me7_segment_display.html", "class_me7_segment_display" ] +]; \ No newline at end of file diff --git a/doc/html/_me7_segment_display_8h__dep__incl.map b/doc/html/_me7_segment_display_8h__dep__incl.map new file mode 100644 index 00000000..3daa8822 --- /dev/null +++ b/doc/html/_me7_segment_display_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me7_segment_display_8h__dep__incl.md5 b/doc/html/_me7_segment_display_8h__dep__incl.md5 new file mode 100644 index 00000000..f654c2a7 --- /dev/null +++ b/doc/html/_me7_segment_display_8h__dep__incl.md5 @@ -0,0 +1 @@ +733f585832f991a42cf54b7cf136af18 \ No newline at end of file diff --git a/doc/html/_me7_segment_display_8h__dep__incl.png b/doc/html/_me7_segment_display_8h__dep__incl.png new file mode 100644 index 00000000..be5cb148 Binary files /dev/null and b/doc/html/_me7_segment_display_8h__dep__incl.png differ diff --git a/doc/html/_me7_segment_display_8h__incl.map b/doc/html/_me7_segment_display_8h__incl.map new file mode 100644 index 00000000..b763b220 --- /dev/null +++ b/doc/html/_me7_segment_display_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me7_segment_display_8h__incl.md5 b/doc/html/_me7_segment_display_8h__incl.md5 new file mode 100644 index 00000000..ec0e8e7a --- /dev/null +++ b/doc/html/_me7_segment_display_8h__incl.md5 @@ -0,0 +1 @@ +4a3cad6a84e56ba06609ba9ef67fdc0b \ No newline at end of file diff --git a/doc/html/_me7_segment_display_8h__incl.png b/doc/html/_me7_segment_display_8h__incl.png new file mode 100644 index 00000000..13eaf831 Binary files /dev/null and b/doc/html/_me7_segment_display_8h__incl.png differ diff --git a/doc/html/_me7_segment_display_8h_source.html b/doc/html/_me7_segment_display_8h_source.html new file mode 100644 index 00000000..3bd44d66 --- /dev/null +++ b/doc/html/_me7_segment_display_8h_source.html @@ -0,0 +1,230 @@ + + + + + + + +MakeBlock Drive Updated: src/Me7SegmentDisplay.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me7SegmentDisplay.h
+
+
+Go to the documentation of this file.
1
+
82/* Define to prevent recursive inclusion -------------------------------------*/
+
83#ifndef Me7SegmentDisplay_H
+
84#define Me7SegmentDisplay_H
+
85
+
86//************definitions for TM1637*********************
+
87#include <stdint.h>
+
88#include <stdbool.h>
+
89#include <Arduino.h>
+
90#include "MeConfig.h"
+
91
+
92#ifdef ME_PORT_DEFINED
+
93#include "MePort.h"
+
94#endif // ME_PORT_DEFINED
+
95
+
96/* Exported constants --------------------------------------------------------*/
+
97/******************definitions for TM1637**********************/
+
98const uint8_t ADDR_AUTO = 0x40; //Automatic address increment mode
+
99const uint8_t ADDR_FIXED = 0x44; //Fixed address mode
+
100const uint8_t STARTADDR = 0xc0; //start address of display register
+
101const uint8_t SEGDIS_ON = 0x88; //diplay on
+
102const uint8_t SEGDIS_OFF = 0x80; //diplay off
+
103/**** definitions for the clock point of the digit tube *******/
+
104const uint8_t POINT_ON = 1;
+
105const uint8_t POINT_OFF = 0;
+
106/**************definitions for brightness***********************/
+
107const uint8_t BRIGHTNESS_0 = 0;
+
108const uint8_t BRIGHTNESS_1 = 1;
+
109const uint8_t BRIGHTNESS_2 = 2;
+
110const uint8_t BRIGHTNESS_3 = 3;
+
111const uint8_t BRIGHTNESS_4 = 4;
+
112const uint8_t BRIGHTNESS_5 = 5;
+
113const uint8_t BRIGHTNESS_6 = 6;
+
114const uint8_t BRIGHTNESS_7 = 7;
+
116
+
122#ifndef ME_PORT_DEFINED
+ +
124#else // ME_PORT_DEFINED
+
+ +
126#endif // ME_PORT_DEFINED
+
127{
+
128public:
+
129#ifdef ME_PORT_DEFINED
+
136 Me7SegmentDisplay(void);
+
137
+
144 Me7SegmentDisplay(uint8_t port);
+
145#else // ME_PORT_DEFINED
+
153 Me7SegmentDisplay(uint8_t dataPin, uint8_t clkPin);
+
154#endif // ME_PORT_DEFINED
+
155#ifdef ME_PORT_DEFINED
+
170 void reset(uint8_t port);
+
171#endif // ME_PORT_DEFINED
+
184 void init(void); // Clear display
+
185
+
206 void set(uint8_t = BRIGHTNESS_2, uint8_t = ADDR_AUTO, uint8_t = STARTADDR);// Take effect next display cycle.
+
207
+
224 void setpin(uint8_t dataPin, uint8_t clkPin);
+
225
+
240 void write(uint8_t SegData[]);
+
241
+
258 void write(uint8_t BitAddr, uint8_t SegData);
+
259
+
274 void display(uint16_t value);
+
275
+
290 void display(int16_t value);
+
291
+
306 void display(float value);
+
307
+
322 void display(long value);
+
323
+
340 int16_t checkNum(float v,int16_t b);
+
341
+
358 void display(double value, uint8_t = 1);
+
359
+
374 void display(uint8_t DispData[]);
+
375
+
392 void display(uint8_t BitAddr, uint8_t DispData);
+
393
+
412 void display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on);
+
413
+
426 void clearDisplay(void);
+
427
+
442 void setBrightness(uint8_t brightness);
+
443
+
458 void coding(uint8_t DispData[]);
+
459
+
474 uint8_t coding(uint8_t DispData);
+
475private:
+
476 uint8_t Cmd_SetData;
+
477 uint8_t Cmd_SetAddr;
+
478 uint8_t Cmd_DispCtrl;
+
479 bool _PointFlag; //_PointFlag=1:the clock point on
+
480
+
495 void writeByte(uint8_t wr_data);// Write 8 bits data to tm1637.
+
496
+
511 void start(void);// Send start bits
+
512 void point(bool PointFlag);// Whether to light the clock point ":". Take effect next display cycle.
+
513
+
528 void stop(void); // Send stop bits.
+
529 uint8_t _clkPin;
+
530 uint8_t _dataPin;
+
531};
+
+
532#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Class for numeric display module.
Definition Me7SegmentDisplay.h:127
+
Me7SegmentDisplay(void)
Definition Me7SegmentDisplay.cpp:102
+
void write(uint8_t SegData[])
Definition Me7SegmentDisplay.cpp:342
+
int16_t checkNum(float v, int16_t b)
Definition Me7SegmentDisplay.cpp:518
+
void set(uint8_t=BRIGHTNESS_2, uint8_t=ADDR_AUTO, uint8_t=STARTADDR)
Definition Me7SegmentDisplay.cpp:750
+
void setpin(uint8_t dataPin, uint8_t clkPin)
Definition Me7SegmentDisplay.cpp:187
+
void setBrightness(uint8_t brightness)
Definition Me7SegmentDisplay.cpp:771
+
void clearDisplay(void)
Definition Me7SegmentDisplay.cpp:210
+
void display(uint16_t value)
Definition Me7SegmentDisplay.cpp:404
+
void reset(uint8_t port)
Definition Me7SegmentDisplay.cpp:157
+
void coding(uint8_t DispData[])
Definition Me7SegmentDisplay.cpp:790
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me__auriga_encoder_callback_8ino-example.html b/doc/html/_me__auriga_encoder_callback_8ino-example.html new file mode 100644 index 00000000..dcf14656 --- /dev/null +++ b/doc/html/_me__auriga_encoder_callback_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Auriga_encoder_callback.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Auriga_encoder_callback.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__auriga_encoder_direct_8ino-example.html b/doc/html/_me__auriga_encoder_direct_8ino-example.html new file mode 100644 index 00000000..2de489ee --- /dev/null +++ b/doc/html/_me__auriga_encoder_direct_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Auriga_encoder_direct.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Auriga_encoder_direct.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__auriga_encoder_pid_pos_8ino-example.html b/doc/html/_me__auriga_encoder_pid_pos_8ino-example.html new file mode 100644 index 00000000..d097eed2 --- /dev/null +++ b/doc/html/_me__auriga_encoder_pid_pos_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Auriga_encoder_pid_pos.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Auriga_encoder_pid_pos.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__auriga_encoder_pid_speed_8ino-example.html b/doc/html/_me__auriga_encoder_pid_speed_8ino-example.html new file mode 100644 index 00000000..fed0eebf --- /dev/null +++ b/doc/html/_me__auriga_encoder_pid_speed_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Auriga_encoder_pid_speed.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Auriga_encoder_pid_speed.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__auriga_encoder_pwm_8ino-example.html b/doc/html/_me__auriga_encoder_pwm_8ino-example.html new file mode 100644 index 00000000..41518278 --- /dev/null +++ b/doc/html/_me__auriga_encoder_pwm_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Auriga_encoder_pwm.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Auriga_encoder_pwm.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__l_e_d_matrix_test_8ino-example.html b/doc/html/_me__l_e_d_matrix_test_8ino-example.html new file mode 100644 index 00000000..531d1d79 --- /dev/null +++ b/doc/html/_me__l_e_d_matrix_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_LEDMatrixTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_LEDMatrixTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__megapi_encoder_direct_8ino-example.html b/doc/html/_me__megapi_encoder_direct_8ino-example.html new file mode 100644 index 00000000..1c940ce3 --- /dev/null +++ b/doc/html/_me__megapi_encoder_direct_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Megapi_encoder_direct.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Megapi_encoder_direct.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__megapi_encoder_pid_pos_8ino-example.html b/doc/html/_me__megapi_encoder_pid_pos_8ino-example.html new file mode 100644 index 00000000..e0f2035c --- /dev/null +++ b/doc/html/_me__megapi_encoder_pid_pos_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Megapi_encoder_pid_pos.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Megapi_encoder_pid_pos.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__megapi_encoder_pid_speed_8ino-example.html b/doc/html/_me__megapi_encoder_pid_speed_8ino-example.html new file mode 100644 index 00000000..0c428aa8 --- /dev/null +++ b/doc/html/_me__megapi_encoder_pid_speed_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Megapi_encoder_pid_speed.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Megapi_encoder_pid_speed.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me__megapi_encoder_pwm_8ino-example.html b/doc/html/_me__megapi_encoder_pwm_8ino-example.html new file mode 100644 index 00000000..0139a908 --- /dev/null +++ b/doc/html/_me__megapi_encoder_pwm_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: Me_Megapi_encoder_pwm.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me_Megapi_encoder_pwm.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_auriga_8h.html b/doc/html/_me_auriga_8h.html new file mode 100644 index 00000000..0a484e9f --- /dev/null +++ b/doc/html/_me_auriga_8h.html @@ -0,0 +1,527 @@ + + + + + + + +MakeBlock Drive Updated: src/MeAuriga.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeAuriga.h File Reference
+
+
+ +

Driver for MeAuriga board. +More...

+
#include <Arduino.h>
+#include <Wire.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 "MeEncoderMotor.h"
+#include "MeEncoderNew.h"
+#include "MeBuzzer.h"
+#include "MeLEDMatrix.h"
+#include "MeHumitureSensor.h"
+#include "MeFlameSensor.h"
+#include "MeGasSensor.h"
+#include "MeEncoderOnBoard.h"
+#include "MeOnBoardTemp.h"
+#include "MeSmartServo.h"
+#include "MePS2.h"
+#include "MePm25Sensor.h"
+#include "MeColorSensor.h"
+
+Include dependency graph for MeAuriga.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

+#define buzzerOn()   pinMode(45,OUTPUT),digitalWrite(45, HIGH)
 
+#define buzzerOff()   pinMode(45,OUTPUT),digitalWrite(45, LOW)
 
+ + + + + +

+Variables

MePort_Sig mePort [17]
 
Encoder_port_type encoder_Port [6]
 
+

Detailed Description

+

Driver for MeAuriga board.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2016/09/23
+

Driver for MeAuriga board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is the driver for MeAuriga board by MakeBlock.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/01/27          1.0.0            Build the New.
+Mark Yan         2016/02/20          1.0.1            Change the port enumeration
+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          2016/12/15          1.0.5            Add the MePm25Sensor.h .
+
+

Variable Documentation

+ +

◆ encoder_Port

+ +
+
+ + + + +
Encoder_port_type encoder_Port[6]
+
+Initial value:
=
+
{
+
{ NC, NC, NC, NC, NC},
+
+
{ 19, 42, 11, 49, 48},
+
+
{ 18, 43, 10, 47, 46},
+
{ NC, NC, NC, NC, NC},
+
{ NC, NC, NC, NC, NC},
+
}
+
+
+
+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { 5, 4 }, { 3, 2 }, { 7, 6 }, { 9, 8 },
+
{ 16, 17 }, { A10, A15 }, { A9, A14 }, { A8, A13 }, { A7, A12 },
+
+
{ A6,A11 }, { NC, A2 }, { NC, A3 }, { NC, A0 }, { NC, A1 },
+
{ NC, NC }, { NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_auriga_8h__incl.map b/doc/html/_me_auriga_8h__incl.map new file mode 100644 index 00000000..8e2bd554 --- /dev/null +++ b/doc/html/_me_auriga_8h__incl.map @@ -0,0 +1,279 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_auriga_8h__incl.md5 b/doc/html/_me_auriga_8h__incl.md5 new file mode 100644 index 00000000..dc0d43e5 --- /dev/null +++ b/doc/html/_me_auriga_8h__incl.md5 @@ -0,0 +1 @@ +b85565437ea1ce52e108ed1ba65d60f1 \ No newline at end of file diff --git a/doc/html/_me_auriga_8h__incl.png b/doc/html/_me_auriga_8h__incl.png new file mode 100644 index 00000000..90ca64f5 Binary files /dev/null and b/doc/html/_me_auriga_8h__incl.png differ diff --git a/doc/html/_me_auriga_8h_source.html b/doc/html/_me_auriga_8h_source.html new file mode 100644 index 00000000..92df5ef4 --- /dev/null +++ b/doc/html/_me_auriga_8h_source.html @@ -0,0 +1,220 @@ + + + + + + + +MakeBlock Drive Updated: src/MeAuriga.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
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
+
91Encoder_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
+
Header for Me4Button.cpp module.
+
Header file for Me7SegmentDisplay.cpp.
+
Header for MeBluetooth.cpp module.
+
Header for MeBuzzer.cpp module.
+
Header for MeColorSensor.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 MeEncoderOnBoard.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 MeOnBoardTemp.cpp module.
+
Header for MePIRMotionSensor.cpp.
+
Header for MePS2.cpp module.
+
Header for for MePm25Sensor.cpp module.
+
Header for MePotentiometer.cpp.
+
Header for MeRGBLed.cpp module.
+
Header for for MeSerial.cpp module.
+
Header for MeShutter.cpp module.
+
Header for for MeSmartServo.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 MeEncoderOnBoard.h:122
+
Definition MePort.h:71
+
+
+ + + + diff --git a/doc/html/_me_base_board_8h.html b/doc/html/_me_base_board_8h.html new file mode 100644 index 00000000..c8be27f6 --- /dev/null +++ b/doc/html/_me_base_board_8h.html @@ -0,0 +1,461 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBaseBoard.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBaseBoard.h File Reference
+
+
+ +

Driver for BaseBoard. +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 "MeEncoderMotor.h"
+#include "MeEncoderNew.h"
+#include "MeBuzzer.h"
+#include "MeLEDMatrix.h"
+#include "MeHumitureSensor.h"
+#include "MeFlameSensor.h"
+#include "MeGasSensor.h"
+
+Include dependency graph for MeBaseBoard.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

+#define buzzerOn()   DDRE |= 0x04,PORTE |= B00000100
 
+#define buzzerOff()   DDRE |= 0x04,PORTE &= B11111011
 
+ + + +

+Variables

MePort_Sig mePort [17]
 
+

Detailed Description

+

Driver for BaseBoard.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2016/09/20
+

Driver for BaseBoard.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is Hardware adaptation layer between BaseBoard board and all MakeBlock drives
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01         1.0.0            Rebuild the old lib.
+Scott wang       2016/09/18         1.0.1            Add the PORT[15].
+Scott            2016/09/20         1.0.2            Add the PORT[16].
+
+

Variable Documentation

+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },
+
{ MISO, SCK }, { A0, A1 }, { A2, A3 }, { A4, A5 }, { 6, 7 },
+
{ 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ NC, NC },{ NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_base_board_8h__incl.map b/doc/html/_me_base_board_8h__incl.map new file mode 100644 index 00000000..7d0ad21e --- /dev/null +++ b/doc/html/_me_base_board_8h__incl.map @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_base_board_8h__incl.md5 b/doc/html/_me_base_board_8h__incl.md5 new file mode 100644 index 00000000..a12ce33b --- /dev/null +++ b/doc/html/_me_base_board_8h__incl.md5 @@ -0,0 +1 @@ +c14ae602891d7e71ac8c86588ab03448 \ No newline at end of file diff --git a/doc/html/_me_base_board_8h__incl.png b/doc/html/_me_base_board_8h__incl.png new file mode 100644 index 00000000..5fcb791e Binary files /dev/null and b/doc/html/_me_base_board_8h__incl.png differ diff --git a/doc/html/_me_base_board_8h_source.html b/doc/html/_me_base_board_8h_source.html new file mode 100644 index 00000000..8e1bed28 --- /dev/null +++ b/doc/html/_me_base_board_8h_source.html @@ -0,0 +1,195 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBaseBoard.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBaseBoard.h
+
+
+Go to the documentation of this file.
1
+
34#ifndef MeBaseBoard_H
+
35#define MeBaseBoard_H
+
36
+
37#include <Arduino.h>
+
38#include "MeConfig.h"
+
39
+
40/* Supported Modules drive needs to be added here */
+
41#include "Me7SegmentDisplay.h"
+
42#include "MeUltrasonicSensor.h"
+
43#include "MeDCMotor.h"
+
44#include "MeRGBLed.h"
+
45#include "Me4Button.h"
+
46#include "MePotentiometer.h"
+
47#include "MeJoystick.h"
+
48#include "MePIRMotionSensor.h"
+
49#include "MeShutter.h"
+
50#include "MeLineFollower.h"
+
51#include "MeSoundSensor.h"
+
52#include "MeLimitSwitch.h"
+
53#include "MeLightSensor.h"
+
54#include "MeSerial.h"
+
55#include "MeBluetooth.h"
+
56#include "MeWifi.h"
+
57#include "MeTemperature.h"
+
58#include "MeGyro.h"
+
59#include "MeInfraredReceiver.h"
+
60#include "MeCompass.h"
+
61#include "MeUSBHost.h"
+
62#include "MeTouchSensor.h"
+
63#include "MeStepper.h"
+
64#include "MeEncoderMotor.h"
+
65#include "MeEncoderNew.h"
+
66#include "MeBuzzer.h"
+
67#include "MeLEDMatrix.h"
+
68#include "MeHumitureSensor.h"
+
69#include "MeFlameSensor.h"
+
70#include "MeGasSensor.h"
+
71
+
72/********************* base Board GPIO Map *********************************/
+
73MePort_Sig mePort[17] =
+
74{
+
75 { NC, NC }, { 11, A8 }, { 13, A11 }, { A10, A9 }, { 1, 0 },
+
76 { MISO, SCK }, { A0, A1 }, { A2, A3 }, { A4, A5 }, { 6, 7 },
+
77 { 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
78 { NC, NC },{ NC, NC },
+
79};
+
80
+
81#define buzzerOn() DDRE |= 0x04,PORTE |= B00000100
+
82#define buzzerOff() DDRE |= 0x04,PORTE &= B11111011
+
83
+
84#endif // MeBaseBoard_H
+
85
+
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
+
+
+ + + + diff --git a/doc/html/_me_bluetooth_8cpp.html b/doc/html/_me_bluetooth_8cpp.html new file mode 100644 index 00000000..1a62fcf0 --- /dev/null +++ b/doc/html/_me_bluetooth_8cpp.html @@ -0,0 +1,190 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBluetooth.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBluetooth.cpp File Reference
+
+
+ +

Driver for Me Bluetooth device. +More...

+
#include "MeBluetooth.h"
+
+Include dependency graph for MeBluetooth.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Bluetooth device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Bluetooth device, The bluetooth inherited the MeSerial class from SoftwareSerial.
+
Method List:
inherited from MeSerial
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_bluetooth_8cpp__incl.map b/doc/html/_me_bluetooth_8cpp__incl.map new file mode 100644 index 00000000..e6045724 --- /dev/null +++ b/doc/html/_me_bluetooth_8cpp__incl.map @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_bluetooth_8cpp__incl.md5 b/doc/html/_me_bluetooth_8cpp__incl.md5 new file mode 100644 index 00000000..bb9916d8 --- /dev/null +++ b/doc/html/_me_bluetooth_8cpp__incl.md5 @@ -0,0 +1 @@ +8711606210fbf2acd85567084b8b562a \ No newline at end of file diff --git a/doc/html/_me_bluetooth_8cpp__incl.png b/doc/html/_me_bluetooth_8cpp__incl.png new file mode 100644 index 00000000..170c249a Binary files /dev/null and b/doc/html/_me_bluetooth_8cpp__incl.png differ diff --git a/doc/html/_me_bluetooth_8h.html b/doc/html/_me_bluetooth_8h.html new file mode 100644 index 00000000..b0f3e9d5 --- /dev/null +++ b/doc/html/_me_bluetooth_8h.html @@ -0,0 +1,228 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBluetooth.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBluetooth.h File Reference
+
+
+ +

Header for MeBluetooth.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MeBluetooth.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeBluetooth
 Driver for Me Bluetooth device. More...
 
+

Detailed Description

+

Header for MeBluetooth.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Bluetooth device, The bluetooth inherited the MeSerial class from SoftwareSerial.
+
Method List:
inherited from MeSerial
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_bluetooth_8h.js b/doc/html/_me_bluetooth_8h.js new file mode 100644 index 00000000..b33b4b3a --- /dev/null +++ b/doc/html/_me_bluetooth_8h.js @@ -0,0 +1,4 @@ +var _me_bluetooth_8h = +[ + [ "MeBluetooth", "class_me_bluetooth.html", "class_me_bluetooth" ] +]; \ No newline at end of file diff --git a/doc/html/_me_bluetooth_8h__dep__incl.map b/doc/html/_me_bluetooth_8h__dep__incl.map new file mode 100644 index 00000000..7f94ef62 --- /dev/null +++ b/doc/html/_me_bluetooth_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_bluetooth_8h__dep__incl.md5 b/doc/html/_me_bluetooth_8h__dep__incl.md5 new file mode 100644 index 00000000..95645749 --- /dev/null +++ b/doc/html/_me_bluetooth_8h__dep__incl.md5 @@ -0,0 +1 @@ +4837af9cebe46f8e5d0c82643eced488 \ No newline at end of file diff --git a/doc/html/_me_bluetooth_8h__dep__incl.png b/doc/html/_me_bluetooth_8h__dep__incl.png new file mode 100644 index 00000000..5c582b54 Binary files /dev/null and b/doc/html/_me_bluetooth_8h__dep__incl.png differ diff --git a/doc/html/_me_bluetooth_8h__incl.map b/doc/html/_me_bluetooth_8h__incl.map new file mode 100644 index 00000000..fec64773 --- /dev/null +++ b/doc/html/_me_bluetooth_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_bluetooth_8h__incl.md5 b/doc/html/_me_bluetooth_8h__incl.md5 new file mode 100644 index 00000000..4d2b866a --- /dev/null +++ b/doc/html/_me_bluetooth_8h__incl.md5 @@ -0,0 +1 @@ +9d8c8a08e13e24fc731d0e408436a804 \ No newline at end of file diff --git a/doc/html/_me_bluetooth_8h__incl.png b/doc/html/_me_bluetooth_8h__incl.png new file mode 100644 index 00000000..e0f7a5c6 Binary files /dev/null and b/doc/html/_me_bluetooth_8h__incl.png differ diff --git a/doc/html/_me_bluetooth_8h_source.html b/doc/html/_me_bluetooth_8h_source.html new file mode 100644 index 00000000..2cb004b4 --- /dev/null +++ b/doc/html/_me_bluetooth_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBluetooth.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBluetooth.h
+
+
+Go to the documentation of this file.
1
+
37#ifndef MeBluetooth_H
+
38#define MeBluetooth_H
+
39
+
40#include <stdint.h>
+
41#include <stdbool.h>
+
42#include <Arduino.h>
+
43#include "MeConfig.h"
+
44#include "MeSerial.h"
+
45
+
46#ifdef ME_PORT_DEFINED
+
47#include "MePort.h"
+
48#endif
+
49
+
55#ifndef ME_PORT_DEFINED
+
56class MeBluetooth
+
57#else // !ME_PORT_DEFINED
+
+
58class MeBluetooth : public MeSerial
+
59#endif // !ME_PORT_DEFINED
+
60{
+
61public:
+
62#ifdef ME_PORT_DEFINED
+ +
70
+
77 MeBluetooth(uint8_t port);
+
78#else // ME_PORT_DEFINED
+
89 MeBluetooth(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic = false);
+
90#endif // ME_PORT_DEFINED
+
91};
+
+
92#endif
+
93
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for Me Bluetooth device.
Definition MeBluetooth.h:60
+
MeBluetooth()
Definition MeBluetooth.cpp:47
+
Driver for serial.
Definition MeSerial.h:67
+
+
+ + + + diff --git a/doc/html/_me_buzzer_8cpp.html b/doc/html/_me_buzzer_8cpp.html new file mode 100644 index 00000000..362c7895 --- /dev/null +++ b/doc/html/_me_buzzer_8cpp.html @@ -0,0 +1,202 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBuzzer.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBuzzer.cpp File Reference
+
+
+ +

Driver for Me Buzzer module. +More...

+
#include "MeBuzzer.h"
+#include <avr/wdt.h>
+
+Include dependency graph for MeBuzzer.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +

+Variables

+uint8_t buzzer_pin
 
+

Detailed Description

+

Driver for Me Buzzer module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Buzzer device, The Me Buzzer inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeBuzzer::setpin(int pin);
  2. +
  3. void MeBuzzer::tone(int pin, uint16_t frequency, uint32_t duration);
  4. +
  5. void MeBuzzer::tone(uint16_t frequency, uint32_t duration)
  6. +
  7. void MeBuzzer::noTone(int pin);
  8. +
  9. void MeBuzzer::noTone();
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/09     1.0.0            Add description
+
+
+
+ + + + diff --git a/doc/html/_me_buzzer_8cpp__incl.map b/doc/html/_me_buzzer_8cpp__incl.map new file mode 100644 index 00000000..6fca0533 --- /dev/null +++ b/doc/html/_me_buzzer_8cpp__incl.map @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_buzzer_8cpp__incl.md5 b/doc/html/_me_buzzer_8cpp__incl.md5 new file mode 100644 index 00000000..9de34bdf --- /dev/null +++ b/doc/html/_me_buzzer_8cpp__incl.md5 @@ -0,0 +1 @@ +52e6c79162aff01fada8b19dc8f67ec3 \ No newline at end of file diff --git a/doc/html/_me_buzzer_8cpp__incl.png b/doc/html/_me_buzzer_8cpp__incl.png new file mode 100644 index 00000000..06d62249 Binary files /dev/null and b/doc/html/_me_buzzer_8cpp__incl.png differ diff --git a/doc/html/_me_buzzer_8h.html b/doc/html/_me_buzzer_8h.html new file mode 100644 index 00000000..f17efa7d --- /dev/null +++ b/doc/html/_me_buzzer_8h.html @@ -0,0 +1,227 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBuzzer.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBuzzer.h File Reference
+
+
+ +

Header for MeBuzzer.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeBuzzer.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeBuzzer
 Driver for Me Buzzer module. More...
 
+

Detailed Description

+

Header for MeBuzzer.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Buzzer device, The Me Buzzer inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeBuzzer::setpin(int pin);
  2. +
  3. void MeBuzzer::tone(int pin, uint16_t frequency, uint32_t duration);
  4. +
  5. void MeBuzzer::tone(uint16_t frequency, uint32_t duration)
  6. +
  7. void MeBuzzer::noTone(int pin);
  8. +
  9. void MeBuzzer::noTone();
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/09     1.0.0            Add description
+
+
+
+ + + + diff --git a/doc/html/_me_buzzer_8h.js b/doc/html/_me_buzzer_8h.js new file mode 100644 index 00000000..6817592a --- /dev/null +++ b/doc/html/_me_buzzer_8h.js @@ -0,0 +1,4 @@ +var _me_buzzer_8h = +[ + [ "MeBuzzer", "class_me_buzzer.html", "class_me_buzzer" ] +]; \ No newline at end of file diff --git a/doc/html/_me_buzzer_8h__dep__incl.map b/doc/html/_me_buzzer_8h__dep__incl.map new file mode 100644 index 00000000..d814f306 --- /dev/null +++ b/doc/html/_me_buzzer_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_buzzer_8h__dep__incl.md5 b/doc/html/_me_buzzer_8h__dep__incl.md5 new file mode 100644 index 00000000..2cc8277a --- /dev/null +++ b/doc/html/_me_buzzer_8h__dep__incl.md5 @@ -0,0 +1 @@ +e820015a5d3b5d11568f21fdc2328725 \ No newline at end of file diff --git a/doc/html/_me_buzzer_8h__dep__incl.png b/doc/html/_me_buzzer_8h__dep__incl.png new file mode 100644 index 00000000..fe29cf6b Binary files /dev/null and b/doc/html/_me_buzzer_8h__dep__incl.png differ diff --git a/doc/html/_me_buzzer_8h__incl.map b/doc/html/_me_buzzer_8h__incl.map new file mode 100644 index 00000000..bee4a71c --- /dev/null +++ b/doc/html/_me_buzzer_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_buzzer_8h__incl.md5 b/doc/html/_me_buzzer_8h__incl.md5 new file mode 100644 index 00000000..a00dea61 --- /dev/null +++ b/doc/html/_me_buzzer_8h__incl.md5 @@ -0,0 +1 @@ +479f9175966ef0a29df27998c39a8e09 \ No newline at end of file diff --git a/doc/html/_me_buzzer_8h__incl.png b/doc/html/_me_buzzer_8h__incl.png new file mode 100644 index 00000000..a5014cf8 Binary files /dev/null and b/doc/html/_me_buzzer_8h__incl.png differ diff --git a/doc/html/_me_buzzer_8h_source.html b/doc/html/_me_buzzer_8h_source.html new file mode 100644 index 00000000..80aa4c44 --- /dev/null +++ b/doc/html/_me_buzzer_8h_source.html @@ -0,0 +1,157 @@ + + + + + + + +MakeBlock Drive Updated: src/MeBuzzer.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBuzzer.h
+
+
+Go to the documentation of this file.
1
+
43#ifndef MeBuzzer_H
+
44#define MeBuzzer_H
+
45
+
46#include <stdint.h>
+
47#include <stdbool.h>
+
48#include <Arduino.h>
+
49#include "MeConfig.h"
+
50
+
51#ifdef ME_PORT_DEFINED
+
52#include "MePort.h"
+
53#endif // ME_PORT_DEFINED
+
54
+
+
60class MeBuzzer : public MePort
+
61{
+
62public:
+
63#ifdef ME_PORT_DEFINED
+
70 MeBuzzer();
+
71
+
78 MeBuzzer(uint8_t port);
+
79
+
88 MeBuzzer(uint8_t port, uint8_t slot);
+
89#else // ME_PORT_DEFINED
+
95 MeBuzzer(int pin);
+
96#endif // ME_PORT_DEFINED
+
111 void setpin(int pin);
+
112
+
131 void tone(int pin, uint16_t frequency, uint32_t duration);
+
132
+
149 void tone(uint16_t frequency, uint32_t duration = 0);
+
150
+
165 void noTone(int pin);
+
166
+
181 void noTone();
+
182};
+
+
183#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me Buzzer module.
Definition MeBuzzer.h:61
+
void noTone()
Definition MeBuzzer.cpp:224
+
MeBuzzer()
Definition MeBuzzer.cpp:57
+
void tone(int pin, uint16_t frequency, uint32_t duration)
Definition MeBuzzer.cpp:142
+
Port Mapping for RJ25.
Definition MePort.h:128
+
uint8_t pin(void)
Definition MePort.cpp:427
+
+
+ + + + diff --git a/doc/html/_me_color_sensor_8cpp.html b/doc/html/_me_color_sensor_8cpp.html new file mode 100644 index 00000000..398c1f51 --- /dev/null +++ b/doc/html/_me_color_sensor_8cpp.html @@ -0,0 +1,213 @@ + + + + + + + +MakeBlock Drive Updated: src/MeColorSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeColorSensor.cpp File Reference
+
+
+ +

Driver for MeColorSensor module. +More...

+
#include "MeColorSensor.h"
+
+Include dependency graph for MeColorSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for MeColorSensor module.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2017/01/17
+
Copyright
This software is Copyright (C), 2012-2017, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing +GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeColorSensor module, It supports MeColorSensor V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeColorSensor::SensorInit(void)
  2. +
  3. uint8_t MeColorSensor::ReportId(void)
  4. +
  5. void MeColorSensor::ColorDataRead(void)
  6. +
  7. void MeColorSensor::TurnOnLight(void)
  8. +
  9. void MeColorSensor::TurnOffLight(void)
  10. +
  11. uint16_t MeColorSensor::ReturnRedData(void)
  12. +
  13. uint16_t MeColorSensor::ReturnGreenData(void)
  14. +
  15. uint16_t MeColorSensor::ReturnBlueData(void)
  16. +
  17. uint16_t MeColorSensor::ReturnColorData(void)
  18. +
  19. long MeColorSensor::ColorIdentify(void)
  20. +
  21. long MeColorSensor::ReturnColorCode(void)
  22. +
  23. uint16_t MeColorSensor::calculateColorTemperature(void)
  24. +
  25. uint16_t MeColorSensor::calculateLux(void)
  26. +
  27. int8_t MeColorSensor::writeReg(int16_t reg, uint8_t data)
  28. +
  29. int8_t MeColorSensor::readData(uint8_t start, uint8_t *buffer, uint8_t size)
  30. +
  31. int8_t MeColorSensor::writeData(uint8_t start, const uint8_t *pData, uint8_t size);
  32. +
  33. uint8_t MeColorSensor::Returnresult(void);
  34. +
  35. uint8_t MeColorSensor::ReturnGrayscale(void);
  36. +
  37. uint16_t MeColorSensor::ReturnColorhue(void);
  38. +
  39. uint8_t MeColorSensor::MAX(uint8_t r,uint8_t g,uint8_t b);
  40. +
  41. uint8_t MeColorSensor::MIN(uint8_t r,uint8_t g,uint8_t b);
  42. +
  43. void MeColorSensor::TurnOffmodule(void);
  44. +
  45. void MeColorSensor::TurnOnmodule(void);
  46. +
  47. uint8_t MeColorSensor::ColorDataReadOnebyOne();
  48. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ zzipeng         2017/01/17          1.0.0         complete the driver code.
+ zzipeng         2017/04/03          1.0.1         only detect six colors.
+ zzipeng         2017/04/10          1.0.2         only detect seven colors and add methods named MeColorSensor::TurnOffmodule(void),MeColorSensor::TurnOnmodule.
+ zzipeng         2017/04/20          1.0.3         add methods MeColorSensor::ColorDataReadOnebyOne();
+ Lanweiting      2017/06/23          1.0.4         Canonical the code format.
+
+
+
+ + + + diff --git a/doc/html/_me_color_sensor_8cpp__incl.map b/doc/html/_me_color_sensor_8cpp__incl.map new file mode 100644 index 00000000..0e1cfb5b --- /dev/null +++ b/doc/html/_me_color_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_color_sensor_8cpp__incl.md5 b/doc/html/_me_color_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..bb2b1225 --- /dev/null +++ b/doc/html/_me_color_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +9f9fcc7625d78679954ff415a9d7de16 \ No newline at end of file diff --git a/doc/html/_me_color_sensor_8cpp__incl.png b/doc/html/_me_color_sensor_8cpp__incl.png new file mode 100644 index 00000000..6fa180be Binary files /dev/null and b/doc/html/_me_color_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_color_sensor_8h.html b/doc/html/_me_color_sensor_8h.html new file mode 100644 index 00000000..3457f578 --- /dev/null +++ b/doc/html/_me_color_sensor_8h.html @@ -0,0 +1,367 @@ + + + + + + + +MakeBlock Drive Updated: src/MeColorSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeColorSensor.h File Reference
+
+
+ +

Header for MeColorSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeColorSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeColorSensor
 Driver for MeColorSensor module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define I2C_ERROR   (-1)
 
+#define COLORSENSOR_DEFAULT_ADDRESS   (0x38)
 
+#define SYSTEM_CONTROL   (0X40)
 
+#define MODE_CONTROL1   (0X41)
 
+#define MODE_CONTROL2   (0X42)
 
+#define MODE_CONTROL3   (0X44)
 
+#define RED_DATA_LSBs   (0X50)
 
+#define RED_DATA_MSBs   (0X51)
 
+#define GREEN_DATA_LSBs   (0X52)
 
+#define GREEN_DATA_MSBs   (0X53)
 
+#define BLUE_DATA_LSBs   (0X54)
 
+#define BLUE_DATA_MSBs   (0X55)
 
+#define CLEAR_DATA_LSBs   (0X56)
 
+#define CLEAR_DATA_MSBs   (0X57)
 
+#define DINT_DATA_LSBs   (0X58)
 
+#define DINT_DATA_MSBs   (0X59)
 
+#define INTERRUPT   (0X60)
 
+#define PERSISTENCE   (0X61)
 
+#define TH_LSBs   (0X62)
 
+#define TH_MSBs   (0X63)
 
+#define TL_LSBs   (0X64)
 
+#define TL_MSBs   (0X65)
 
+#define MANUFACTURER_ID   (0X92)
 
+#define CHIP_ID   (0XE0)
 
+#define SW_RESET   (1 << 7)
 
+#define INT_RESET   (1 << 6)
 
+#define MEASURE_160MS   (0x00)
 
+#define MEASURE_320MS   (0x01)
 
+#define MEASURE_640MS   (0x02)
 
+#define MEASURE_1280MS   (0x03)
 
+#define MEASURE_2560MS   (0x04)
 
+#define MEASUREMENT_MAX   (0x05)
 
+ + + +

+Enumerations

enum  COLORTYPES {
+  WHITE = 0 +, PINKE = 1 +, RED = 2 +, ORANGE = 3 +,
+  YELLOW = 4 +, GREEN = 5 +, CYAN = 6 +, BLUE = 7 +,
+  PURPLE = 8 +, BLACK = 9 +, GOLD = 10 +
+ }
 
+

Detailed Description

+

Header for MeColorSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2017/01/17
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeColorSensor module, It supports MeColorSensor V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeColorSensor::SensorInit(void)
  2. +
  3. uint8_t MeColorSensor::ReportId(void)
  4. +
  5. void MeColorSensor::ColorDataRead(void)
  6. +
  7. void MeColorSensor::TurnOnLight(void)
  8. +
  9. void MeColorSensor::TurnOffLight(void)
  10. +
  11. uint16_t MeColorSensor::ReturnRedData(void)
  12. +
  13. uint16_t MeColorSensor::ReturnGreenData(void)
  14. +
  15. uint16_t MeColorSensor::ReturnBlueData(void)
  16. +
  17. uint16_t MeColorSensor::ReturnColorData(void)
  18. +
  19. uint8_t MeColorSensor::ColorIdentify(void)
  20. +
  21. long MeColorSensor::ReturnColorCode(void)
  22. +
  23. uint16_t MeColorSensor::calculateColorTemperature(void)
  24. +
  25. uint16_t MeColorSensor::calculateLux(void)
  26. +
  27. int8_t MeColorSensor::writeReg(int16_t reg, uint8_t data)
  28. +
  29. int8_t MeColorSensor::readData(uint8_t start, uint8_t *buffer, uint8_t size)
  30. +
  31. int8_t MeColorSensor::writeData(uint8_t start, const uint8_t *pData, uint8_t size)
  32. +
  33. uint8_t MeColorSensor::Returnresult(void);
  34. +
  35. uint8_t MeColorSensor::ReturnGrayscale(void);
  36. +
  37. uint16_t MeColorSensor::ReturnColorhue(void);
  38. +
  39. uint8_t MeColorSensor::MAX(uint8_t r,uint8_t g,uint8_t b);
  40. +
  41. uint8_t MeColorSensor::MIN(uint8_t r,uint8_t g,uint8_t b);
  42. +
  43. void MeColorSensor::TurnOffmodule(void);
  44. +
  45. void MeColorSensor::TurnOnmodule(void);
  46. +
  47. uint8_t MeColorSensor::ColorDataReadOnebyOne();
  48. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ zzipeng         2017/01/17          1.0.0         complete the driver code.
+ zzipeng         2017/04/03          1.0.1         only detect six colors.
+ zzipeng         2017/04/10          1.0.2         only detect seven colors and add methods named MeColorSensor::TurnOffmodule(void),MeColorSensor::TurnOnmodule.
+ zzipeng         2017/04/20          1.0.3         add methods MeColorSensor::ColorDataReadOnebyOne();
+ Lanweiting      2017/06/23          1.0.4         Canonical the code format.
+
+
+
+ + + + diff --git a/doc/html/_me_color_sensor_8h.js b/doc/html/_me_color_sensor_8h.js new file mode 100644 index 00000000..2cad26ac --- /dev/null +++ b/doc/html/_me_color_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_color_sensor_8h = +[ + [ "MeColorSensor", "class_me_color_sensor.html", "class_me_color_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_color_sensor_8h__dep__incl.map b/doc/html/_me_color_sensor_8h__dep__incl.map new file mode 100644 index 00000000..cd4c8abd --- /dev/null +++ b/doc/html/_me_color_sensor_8h__dep__incl.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/doc/html/_me_color_sensor_8h__dep__incl.md5 b/doc/html/_me_color_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..e993ea9d --- /dev/null +++ b/doc/html/_me_color_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +412dd61c9721add5fce88fda2f4fb8a4 \ No newline at end of file diff --git a/doc/html/_me_color_sensor_8h__dep__incl.png b/doc/html/_me_color_sensor_8h__dep__incl.png new file mode 100644 index 00000000..7a2b2360 Binary files /dev/null and b/doc/html/_me_color_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_color_sensor_8h__incl.map b/doc/html/_me_color_sensor_8h__incl.map new file mode 100644 index 00000000..54100c6d --- /dev/null +++ b/doc/html/_me_color_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_color_sensor_8h__incl.md5 b/doc/html/_me_color_sensor_8h__incl.md5 new file mode 100644 index 00000000..e62c74b2 --- /dev/null +++ b/doc/html/_me_color_sensor_8h__incl.md5 @@ -0,0 +1 @@ +564b38f6c9bcbb882f3f4751496a2ea8 \ No newline at end of file diff --git a/doc/html/_me_color_sensor_8h__incl.png b/doc/html/_me_color_sensor_8h__incl.png new file mode 100644 index 00000000..02dde871 Binary files /dev/null and b/doc/html/_me_color_sensor_8h__incl.png differ diff --git a/doc/html/_me_color_sensor_8h_source.html b/doc/html/_me_color_sensor_8h_source.html new file mode 100644 index 00000000..8a3d29bc --- /dev/null +++ b/doc/html/_me_color_sensor_8h_source.html @@ -0,0 +1,294 @@ + + + + + + + +MakeBlock Drive Updated: src/MeColorSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeColorSensor.h
+
+
+Go to the documentation of this file.
1
+
66/* Define to prevent recursive inclusion -------------------------------------*/
+
67#ifndef _MeColorSensor_H_
+
68#define _MeColorSensor_H_
+
69
+
70/* Includes ------------------------------------------------------------------*/
+
71#include <stdint.h>
+
72#include <stdbool.h>
+
73#include <Arduino.h>
+
74#include "MeConfig.h"
+
75
+
76 #ifdef ME_PORT_DEFINED
+
77#include "MePort.h"
+
78 #endif // ME_PORT_DEFINED
+
79
+
80/* Exported macro ------------------------------------------------------------*/
+
81#define I2C_ERROR (-1)
+
82#define COLORSENSOR_DEFAULT_ADDRESS (0x38)//0011 1000
+
83
+
84/* Register List define------------------------------------------------------------*/
+
85#define SYSTEM_CONTROL (0X40)
+
86#define MODE_CONTROL1 (0X41)
+
87#define MODE_CONTROL2 (0X42)
+
88#define MODE_CONTROL3 (0X44)
+
89#define RED_DATA_LSBs (0X50)
+
90#define RED_DATA_MSBs (0X51)
+
91#define GREEN_DATA_LSBs (0X52)
+
92#define GREEN_DATA_MSBs (0X53)
+
93#define BLUE_DATA_LSBs (0X54)
+
94#define BLUE_DATA_MSBs (0X55)
+
95#define CLEAR_DATA_LSBs (0X56)
+
96#define CLEAR_DATA_MSBs (0X57)
+
97#define DINT_DATA_LSBs (0X58)
+
98#define DINT_DATA_MSBs (0X59)
+
99#define INTERRUPT (0X60)
+
100#define PERSISTENCE (0X61)
+
101#define TH_LSBs (0X62)
+
102#define TH_MSBs (0X63)
+
103#define TL_LSBs (0X64)
+
104#define TL_MSBs (0X65)
+
105#define MANUFACTURER_ID (0X92)
+
106#define CHIP_ID (0XE0)
+
107
+
108#define SW_RESET (1 << 7)
+
109#define INT_RESET (1 << 6)
+
110
+
111/* REG_MODECONTROL1(0x41) */
+
112#define MEASURE_160MS (0x00)
+
113#define MEASURE_320MS (0x01)
+
114#define MEASURE_640MS (0x02)
+
115#define MEASURE_1280MS (0x03)
+
116#define MEASURE_2560MS (0x04)
+
117#define MEASUREMENT_MAX (0x05)
+
118
+
119/* Color result list*/
+
120typedef enum
+
121{
+
122 WHITE = 0,
+
123 PINKE = 1,
+
124 RED = 2,
+
125 ORANGE= 3,
+
126 YELLOW= 4,
+
127 GREEN = 5,
+
128 CYAN = 6,
+
129 BLUE = 7,
+
130 PURPLE= 8,
+
131 BLACK = 9,
+
132 GOLD = 10,
+
133}COLORTYPES;
+
134
+
135/*
+
136 * Class: MeColorSensor
+
137 * \par Description
+
138 * Declaration of Class MeColorSensor
+
139 */
+
140
+
141#ifndef ME_PORT_DEFINED
+
142class MeColorSensor
+
143#else // !ME_PORT_DEFINED
+
+
144class MeColorSensor : public MePort
+
145#endif // !ME_PORT_DEFINED
+
146{
+
147public:
+
148#ifdef ME_PORT_DEFINED
+
153 MeColorSensor(void);
+
154
+
160 MeColorSensor(uint8_t port);
+
161
+
170 MeColorSensor(uint8_t port, uint8_t address);
+
171#else // ME_PORT_DEFINED
+
179 MeColorSensor(uint8_t _AD0, uint8_t _INT);
+
180
+
191 MeColorSensor(uint8_t _AD0, uint8_t _INT, uint8_t address);
+
192#endif /* ME_PORT_DEFINED */
+
193
+
208 void SensorInit(void);
+
209
+
224 uint8_t ReportId(void);
+
225
+
240 void ColorDataRead(void);
+
241
+
256 uint8_t ColorDataReadOnebyOne(void);
+
257
+
272 long ReturnColorCode(void);
+
273
+
288 uint8_t ColorIdentify(void);
+
289
+
304 uint8_t Returnresult(void);
+
305
+
321 uint8_t ReturnGrayscale(void);
+
322
+
337 uint16_t ReturnColorhue(void);
+
338
+
353uint16_t ReturnRedData(void);
+
354
+
369 uint16_t ReturnGreenData(void);
+
370
+
385 uint16_t ReturnBlueData(void);
+
386
+
401 uint16_t ReturnColorData(void);
+
402
+
417 void TurnOnLight(void);
+
418
+
433 void TurnOffLight(void);
+
434
+
449 void TurnOffmodule(void);
+
450
+
465 void TurnOnmodule(void);
+
466
+
488 int8_t writeReg(int16_t reg, uint8_t data);
+
489
+
515 int8_t readData(uint8_t start, uint8_t *buffer, uint8_t size);
+
516
+
542 int8_t writeData(uint8_t start, const uint8_t *pData, uint8_t size);
+
543
+
557 uint8_t MAX(uint8_t r,uint8_t g,uint8_t b);
+
558
+
572 uint8_t MIN(uint8_t r,uint8_t g,uint8_t b);
+
573
+
574/***********************************/
+
575 uint8_t Device_Address;
+
576
+
577private:
+
578 volatile uint8_t _S1;
+
579 volatile uint8_t _S2;
+
580 volatile uint8_t _AD0;
+
581 volatile uint8_t _INT;
+
582 uint16_t Redvalue;
+
583 uint16_t Greenvalue;
+
584 uint16_t Bluevalue;
+
585 uint16_t Colorvalue;
+
586};
+
+
587#endif
+
588
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for MeColorSensor module.
Definition MeColorSensor.h:146
+
uint16_t ReturnBlueData(void)
Definition MeColorSensor.cpp:724
+
uint8_t ReportId(void)
Definition MeColorSensor.cpp:176
+
void SensorInit(void)
Definition MeColorSensor.cpp:149
+
uint16_t ReturnGreenData(void)
Definition MeColorSensor.cpp:705
+
uint8_t MAX(uint8_t r, uint8_t g, uint8_t b)
Definition MeColorSensor.cpp:965
+
uint8_t ColorIdentify(void)
Definition MeColorSensor.cpp:287
+
long ReturnColorCode(void)
Definition MeColorSensor.cpp:250
+
void TurnOnmodule(void)
Definition MeColorSensor.cpp:819
+
void TurnOnLight(void)
Definition MeColorSensor.cpp:762
+
uint8_t MIN(uint8_t r, uint8_t g, uint8_t b)
Definition MeColorSensor.cpp:1003
+
void TurnOffmodule(void)
Definition MeColorSensor.cpp:800
+
uint8_t ColorDataReadOnebyOne(void)
Definition MeColorSensor.cpp:221
+
uint8_t Returnresult(void)
Definition MeColorSensor.cpp:455
+
int8_t writeData(uint8_t start, const uint8_t *pData, uint8_t size)
Definition MeColorSensor.cpp:938
+
void ColorDataRead(void)
Definition MeColorSensor.cpp:197
+
int8_t writeReg(int16_t reg, uint8_t data)
Definition MeColorSensor.cpp:845
+
uint16_t ReturnRedData(void)
Definition MeColorSensor.cpp:686
+
void TurnOffLight(void)
Definition MeColorSensor.cpp:781
+
uint16_t ReturnColorhue(void)
Definition MeColorSensor.cpp:638
+
uint16_t ReturnColorData(void)
Definition MeColorSensor.cpp:743
+
int8_t readData(uint8_t start, uint8_t *buffer, uint8_t size)
Definition MeColorSensor.cpp:879
+
uint8_t ReturnGrayscale(void)
Definition MeColorSensor.cpp:607
+
MeColorSensor(void)
Definition MeColorSensor.cpp:76
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_color_sensor_test_8ino-example.html b/doc/html/_me_color_sensor_test_8ino-example.html new file mode 100644 index 00000000..3c031682 --- /dev/null +++ b/doc/html/_me_color_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeColorSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeColorSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_compass_8cpp.html b/doc/html/_me_compass_8cpp.html new file mode 100644 index 00000000..8c390c31 --- /dev/null +++ b/doc/html/_me_compass_8cpp.html @@ -0,0 +1,198 @@ + + + + + + + +MakeBlock Drive Updated: src/MeCompass.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeCompass.cpp File Reference
+
+
+ +

Driver for MeCompass module. +More...

+
#include "MeCompass.h"
+#include <avr/wdt.h>
+
+Include dependency graph for MeCompass.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for MeCompass module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeCompass module, It supports MeCompass V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeCompass::setpin(uint8_t keyPin, uint8_t ledPin)
  2. +
  3. void MeCompass::begin(void)
  4. +
  5. bool MeCompass::testConnection(void)
  6. +
  7. double MeCompass::getAngle(void)
  8. +
  9. int16_t MeCompass::getHeadingX(void)
  10. +
  11. int16_t MeCompass::getHeadingY(void)
  12. +
  13. int16_t MeCompass::getHeadingZ(void)
  14. +
  15. int16_t MeCompass::getHeading(int16_t *x, int16_t *y, int16_t *z)
  16. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Lawrence         2015/09/03           1.0.0       Rebuild the old lib.
+Lawrence         2015/09/08           1.0.1       Added some comments and macros.
+Vincent He       2019/03/01           1.0.2       fix issue: In the Orion board, the electronic compass was hung in ports 7 and 8. To avoid the crash and added timeout processing.
+
+
+
+ + + + diff --git a/doc/html/_me_compass_8cpp__incl.map b/doc/html/_me_compass_8cpp__incl.map new file mode 100644 index 00000000..cc24abf7 --- /dev/null +++ b/doc/html/_me_compass_8cpp__incl.map @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_compass_8cpp__incl.md5 b/doc/html/_me_compass_8cpp__incl.md5 new file mode 100644 index 00000000..09ff1c64 --- /dev/null +++ b/doc/html/_me_compass_8cpp__incl.md5 @@ -0,0 +1 @@ +fd55c85f822dc1b88dd25ec2af0adccb \ No newline at end of file diff --git a/doc/html/_me_compass_8cpp__incl.png b/doc/html/_me_compass_8cpp__incl.png new file mode 100644 index 00000000..364029ff Binary files /dev/null and b/doc/html/_me_compass_8cpp__incl.png differ diff --git a/doc/html/_me_compass_8h.html b/doc/html/_me_compass_8h.html new file mode 100644 index 00000000..9f855dae --- /dev/null +++ b/doc/html/_me_compass_8h.html @@ -0,0 +1,363 @@ + + + + + + + +MakeBlock Drive Updated: src/MeCompass.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeCompass.h File Reference
+
+
+ +

Header for MeCompass.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeCompass.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  Compass_Calibration_Parameter
 
class  MeCompass
 Driver for MeCompass module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define I2C_ERROR   (-1)
 
+#define COMPASS_DEFAULT_ADDRESS   (0x1E)
 
+#define COMPASS_RA_CONFIG_A   (0x00)
 
+#define COMPASS_RA_CONFIG_B   (0x01)
 
+#define COMPASS_RA_MODE   (0x02)
 
+#define COMPASS_RA_DATAX_H   (0x03)
 
+#define COMPASS_RA_DATAX_L   (0x04)
 
+#define COMPASS_RA_DATAZ_H   (0x05)
 
+#define COMPASS_RA_DATAZ_L   (0x06)
 
+#define COMPASS_RA_DATAY_H   (0x07)
 
+#define COMPASS_RA_DATAY_L   (0x08)
 
+#define COMPASS_RA_STATUS   (0x09)
 
+#define COMPASS_RA_ID_A   (0x0A)
 
+#define COMPASS_RA_ID_B   (0x0B)
 
+#define COMPASS_RA_ID_C   (0x0C)
 
+#define COMPASS_AVERAGING_1   (0x00)
 
+#define COMPASS_AVERAGING_2   (0x20)
 
+#define COMPASS_AVERAGING_4   (0x40)
 
+#define COMPASS_AVERAGING_8   (0x60)
 
+#define COMPASS_RATE_0P75   (0x00)
 
+#define COMPASS_RATE_1P5   (0x40)
 
+#define COMPASS_RATE_3   (0x08)
 
+#define COMPASS_RATE_7P5   (0x0C)
 
+#define COMPASS_RATE_15   (0x10)
 
+#define COMPASS_RATE_30   (0x14)
 
+#define COMPASS_RATE_75   (0x18)
 
+#define COMPASS_BIAS_NORMAL   (0x00)
 
+#define COMPASS_BIAS_POSITIVE   (0x01)
 
+#define COMPASS_BIAS_NEGATIVE   (0x02)
 
+#define COMPASS_GAIN_1370   (0x00)
 
+#define COMPASS_GAIN_1090   (0x20)
 
+#define COMPASS_GAIN_820   (0x40)
 
+#define COMPASS_GAIN_660   (0x60)
 
+#define COMPASS_GAIN_440   (0x80)
 
+#define COMPASS_GAIN_390   (0xA0)
 
+#define COMPASS_GAIN_330   (0xC0)
 
+#define COMPASS_GAIN_220   (0xE0)
 
+#define COMPASS_MODE_CONTINUOUS   (0x00)
 
+#define COMPASS_MODE_SINGLE   (0x01)
 
+#define COMPASS_MODE_IDLE   (0x02)
 
+#define COMPASS_PI   3.14159265F
 
+#define START_ADDRESS_OF_EEPROM_BUFFER   (int16_t)(0x00)
 
+

Detailed Description

+

Header for MeCompass.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeCompass module, It supports MeCompass V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeCompass::setpin(uint8_t keyPin, uint8_t ledPin)
  2. +
  3. void MeCompass::begin(void)
  4. +
  5. bool MeCompass::testConnection(void)
  6. +
  7. double MeCompass::getAngle(void)
  8. +
  9. int16_t MeCompass::getHeadingX(void)
  10. +
  11. int16_t MeCompass::getHeadingY(void)
  12. +
  13. int16_t MeCompass::getHeadingZ(void)
  14. +
  15. int16_t MeCompass::getHeading(int16_t *x, int16_t *y, int16_t *z)
  16. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Lawrence         2015/09/03           1.0.0       Rebuild the old lib.
+Lawrence         2015/09/08           1.0.1       Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_compass_8h.js b/doc/html/_me_compass_8h.js new file mode 100644 index 00000000..d787ee7f --- /dev/null +++ b/doc/html/_me_compass_8h.js @@ -0,0 +1,5 @@ +var _me_compass_8h = +[ + [ "Compass_Calibration_Parameter", "struct_compass___calibration___parameter.html", null ], + [ "MeCompass", "class_me_compass.html", "class_me_compass" ] +]; \ No newline at end of file diff --git a/doc/html/_me_compass_8h__dep__incl.map b/doc/html/_me_compass_8h__dep__incl.map new file mode 100644 index 00000000..33b2bed2 --- /dev/null +++ b/doc/html/_me_compass_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_compass_8h__dep__incl.md5 b/doc/html/_me_compass_8h__dep__incl.md5 new file mode 100644 index 00000000..717b85bd --- /dev/null +++ b/doc/html/_me_compass_8h__dep__incl.md5 @@ -0,0 +1 @@ +eeadea467490bf69bccce9fc9bf93ff4 \ No newline at end of file diff --git a/doc/html/_me_compass_8h__dep__incl.png b/doc/html/_me_compass_8h__dep__incl.png new file mode 100644 index 00000000..d2beb2e8 Binary files /dev/null and b/doc/html/_me_compass_8h__dep__incl.png differ diff --git a/doc/html/_me_compass_8h__incl.map b/doc/html/_me_compass_8h__incl.map new file mode 100644 index 00000000..0b7faf90 --- /dev/null +++ b/doc/html/_me_compass_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_compass_8h__incl.md5 b/doc/html/_me_compass_8h__incl.md5 new file mode 100644 index 00000000..8fe3d967 --- /dev/null +++ b/doc/html/_me_compass_8h__incl.md5 @@ -0,0 +1 @@ +67e2512e5ab7cfc2d40fed64245cd29e \ No newline at end of file diff --git a/doc/html/_me_compass_8h__incl.png b/doc/html/_me_compass_8h__incl.png new file mode 100644 index 00000000..825cfc72 Binary files /dev/null and b/doc/html/_me_compass_8h__incl.png differ diff --git a/doc/html/_me_compass_8h_source.html b/doc/html/_me_compass_8h_source.html new file mode 100644 index 00000000..934ffb25 --- /dev/null +++ b/doc/html/_me_compass_8h_source.html @@ -0,0 +1,286 @@ + + + + + + + +MakeBlock Drive Updated: src/MeCompass.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeCompass.h
+
+
+Go to the documentation of this file.
1
+
47/* Define to prevent recursive inclusion -------------------------------------*/
+
48#ifndef MECOMPASS_H
+
49#define MECOMPASS_H
+
50
+
51/* Includes ------------------------------------------------------------------*/
+
52#include <stdint.h>
+
53#include <stdbool.h>
+
54#include <Arduino.h>
+
55#include "MeConfig.h"
+
56
+
57#ifdef ME_PORT_DEFINED
+
58#include "MePort.h"
+
59#endif /* ME_PORT_DEFINED */
+
60
+
61/* Exported macro ------------------------------------------------------------*/
+
62//#define COMPASS_SERIAL_DEBUG
+
63
+
64#define I2C_ERROR (-1)
+
65
+
66// Me Compass only has one address
+
67#define COMPASS_DEFAULT_ADDRESS (0x1E)
+
68
+
69//Me Compass Register Address
+
70#define COMPASS_RA_CONFIG_A (0x00)
+
71#define COMPASS_RA_CONFIG_B (0x01)
+
72#define COMPASS_RA_MODE (0x02)
+
73#define COMPASS_RA_DATAX_H (0x03)
+
74#define COMPASS_RA_DATAX_L (0x04)
+
75#define COMPASS_RA_DATAZ_H (0x05)
+
76#define COMPASS_RA_DATAZ_L (0x06)
+
77#define COMPASS_RA_DATAY_H (0x07)
+
78#define COMPASS_RA_DATAY_L (0x08)
+
79#define COMPASS_RA_STATUS (0x09)
+
80#define COMPASS_RA_ID_A (0x0A)
+
81#define COMPASS_RA_ID_B (0x0B)
+
82#define COMPASS_RA_ID_C (0x0C)
+
83
+
84//define number of samples averaged per measurement
+
85#define COMPASS_AVERAGING_1 (0x00)
+
86#define COMPASS_AVERAGING_2 (0x20)
+
87#define COMPASS_AVERAGING_4 (0x40)
+
88#define COMPASS_AVERAGING_8 (0x60)
+
89
+
90//define data output rate value (Hz)
+
91#define COMPASS_RATE_0P75 (0x00) // 0.75 (Hz)
+
92#define COMPASS_RATE_1P5 (0x40) // 1.5 (Hz)
+
93#define COMPASS_RATE_3 (0x08) // 3 (Hz)
+
94#define COMPASS_RATE_7P5 (0x0C) // 7.5 (Hz)
+
95#define COMPASS_RATE_15 (0x10) // 15 (Hz)
+
96#define COMPASS_RATE_30 (0x14) // 30 (Hz)
+
97#define COMPASS_RATE_75 (0x18) // 75 (Hz)
+
98
+
99//define measurement bias value
+
100#define COMPASS_BIAS_NORMAL (0x00)
+
101#define COMPASS_BIAS_POSITIVE (0x01)
+
102#define COMPASS_BIAS_NEGATIVE (0x02)
+
103
+
104//define magnetic field gain value
+
105/* -+-------------+-----------------
+
106 * | Field Range | Gain (LSB/Gauss)
+
107 * -+-------------+-----------------
+
108 * | +/- 0.88 Ga | 1370
+
109 * | +/- 1.3 Ga | 1090 (Default)
+
110 * | +/- 1.9 Ga | 820
+
111 * | +/- 2.5 Ga | 660
+
112 * | +/- 4.0 Ga | 440
+
113 * | +/- 4.7 Ga | 390
+
114 * | +/- 5.6 Ga | 330
+
115 * | +/- 8.1 Ga | 230
+
116 * -+-------------+-----------------*/
+
117#define COMPASS_GAIN_1370 (0x00)
+
118#define COMPASS_GAIN_1090 (0x20)
+
119#define COMPASS_GAIN_820 (0x40)
+
120#define COMPASS_GAIN_660 (0x60)
+
121#define COMPASS_GAIN_440 (0x80)
+
122#define COMPASS_GAIN_390 (0xA0)
+
123#define COMPASS_GAIN_330 (0xC0)
+
124#define COMPASS_GAIN_220 (0xE0)
+
125
+
126//define measurement mode
+
127#define COMPASS_MODE_CONTINUOUS (0x00)
+
128#define COMPASS_MODE_SINGLE (0x01)
+
129#define COMPASS_MODE_IDLE (0x02)
+
130
+
131//define others parameter
+
132#define COMPASS_PI 3.14159265F
+
133#define START_ADDRESS_OF_EEPROM_BUFFER (int16_t)(0x00)
+
134
+
135/* define a struct to save calibration parameters------------------------------*/
+
+ +
137{
+
138 float X_excursion;
+
139 float Y_excursion;
+
140 float Z_excursion;
+
141 float X_gain;
+
142 float Y_gain;
+
143 float Z_gain;
+
144 uint8_t Rotation_Axis; //1:X_Axis 2:Y_Axis 3:Z_Axis
+
145
+
146 uint8_t verify_flag;
+
147};
+
+
148
+
154#ifndef ME_PORT_DEFINED
+
155class MeCompass
+
156#else // !ME_PORT_DEFINED
+
+
157class MeCompass : public MePort
+
158#endif // !ME_PORT_DEFINED
+
159{
+
160public:
+
161#ifdef ME_PORT_DEFINED
+
166 MeCompass();
+
167
+
174 MeCompass(uint8_t port);
+
175
+
185 MeCompass(uint8_t port, uint8_t address);
+
186#else
+
195 MeCompass(uint8_t keyPin, uint8_t ledPin);
+
196
+
207 MeCompass(uint8_t keyPin, uint8_t ledPin, uint8_t address);
+
208#endif // ME_PORT_DEFINED
+
225 void setpin(uint8_t keyPin, uint8_t ledPin);
+
226
+
241 void begin(void);
+
242
+
257 bool testConnection(void);
+
258
+
273 double getAngle(void);
+
274
+
289 int16_t getHeadingX(void);
+
290
+
305 int16_t getHeadingY(void);
+
306
+
321 int16_t getHeadingZ(void);
+
322
+
341 int16_t getHeading(int16_t *x, int16_t *y, int16_t *z);
+
342private:
+
343 static volatile uint8_t _keyPin;
+
344 static volatile uint8_t _ledPin;
+
345 bool Calibration_Flag;
+
346 uint8_t buffer[6];
+
347 uint8_t Device_Address;
+
348 uint8_t Measurement_Mode;
+
349 struct Compass_Calibration_Parameter Cal_parameter;
+
350
+
374 int8_t writeReg(int16_t reg, uint8_t data);
+
375
+
401 int8_t writeData(uint8_t start, const uint8_t *pData, uint8_t size);
+
402
+
428 int8_t readData(uint8_t start, uint8_t *buffer, uint8_t size);
+
429
+
446 void deviceCalibration(void);
+
447
+
463 void read_EEPROM_Buffer(void);
+
464
+
480 void write_EEPROM_Buffer(struct Compass_Calibration_Parameter *parameter_pointer);
+
481};
+
+
482#endif // MECOMPASS_H
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for MeCompass module.
Definition MeCompass.h:159
+
int16_t getHeading(int16_t *x, int16_t *y, int16_t *z)
Definition MeCompass.cpp:391
+
bool testConnection(void)
Definition MeCompass.cpp:214
+
MeCompass()
Definition MeCompass.cpp:63
+
int16_t getHeadingY(void)
Definition MeCompass.cpp:327
+
double getAngle(void)
Definition MeCompass.cpp:237
+
int16_t getHeadingX(void)
Definition MeCompass.cpp:297
+
void begin(void)
Definition MeCompass.cpp:172
+
int16_t getHeadingZ(void)
Definition MeCompass.cpp:357
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Definition MeCompass.h:137
+
+
+ + + + diff --git a/doc/html/_me_compass_test_8ino-example.html b/doc/html/_me_compass_test_8ino-example.html new file mode 100644 index 00000000..57cc25a9 --- /dev/null +++ b/doc/html/_me_compass_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeCompassTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeCompassTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_config_8h.html b/doc/html/_me_config_8h.html new file mode 100644 index 00000000..306527aa --- /dev/null +++ b/doc/html/_me_config_8h.html @@ -0,0 +1,537 @@ + + + + + + + +MakeBlock Drive Updated: src/MeConfig.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeConfig.h File Reference
+
+
+ +

Configuration file of library. +More...

+
#include <utility/Servo.h>
+#include <utility/Wire.h>
+#include <utility/EEPROM.h>
+#include <utility/SoftwareSerial.h>
+#include <utility/SPI.h>
+
+Include dependency graph for MeConfig.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+

Detailed Description

+

Configuration file of library.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2015/11/03
+

Configuration file of library.

Copyright
+

This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+

Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
Define macro ME_PORT_DEFINED.
+Define other macros if __AVR__ defined.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24         1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02         1.0.1            Added some comments and macros. Fixed some bug and add some methods.
+Lawrence         2015/09/09         1.0.2            Include some Arduino's official headfiles which path specified.
+Mark Yan         2015/11/02         1.0.3            fix bug on MACOS.
+Mark Yan         2015/11/03         1.0.4            fix Segmentation symbols error for file path.
+
+
+
+ + + + diff --git a/doc/html/_me_config_8h__dep__incl.map b/doc/html/_me_config_8h__dep__incl.map new file mode 100644 index 00000000..b84ee273 --- /dev/null +++ b/doc/html/_me_config_8h__dep__incl.map @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_config_8h__dep__incl.md5 b/doc/html/_me_config_8h__dep__incl.md5 new file mode 100644 index 00000000..2db513da --- /dev/null +++ b/doc/html/_me_config_8h__dep__incl.md5 @@ -0,0 +1 @@ +03fb563ed9746f66c5f30a17a48549e4 \ No newline at end of file diff --git a/doc/html/_me_config_8h__dep__incl.png b/doc/html/_me_config_8h__dep__incl.png new file mode 100644 index 00000000..7ffdf6e2 Binary files /dev/null and b/doc/html/_me_config_8h__dep__incl.png differ diff --git a/doc/html/_me_config_8h__incl.map b/doc/html/_me_config_8h__incl.map new file mode 100644 index 00000000..d35a183b --- /dev/null +++ b/doc/html/_me_config_8h__incl.map @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_config_8h__incl.md5 b/doc/html/_me_config_8h__incl.md5 new file mode 100644 index 00000000..48d9eb4d --- /dev/null +++ b/doc/html/_me_config_8h__incl.md5 @@ -0,0 +1 @@ +07e0944954ec2a6187399cafd5d8177e \ No newline at end of file diff --git a/doc/html/_me_config_8h__incl.png b/doc/html/_me_config_8h__incl.png new file mode 100644 index 00000000..b27f30ae Binary files /dev/null and b/doc/html/_me_config_8h__incl.png differ diff --git a/doc/html/_me_config_8h_source.html b/doc/html/_me_config_8h_source.html new file mode 100644 index 00000000..c79e3b49 --- /dev/null +++ b/doc/html/_me_config_8h_source.html @@ -0,0 +1,137 @@ + + + + + + + +MakeBlock Drive Updated: src/MeConfig.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeConfig.h
+
+
+Go to the documentation of this file.
1
+
93#ifndef MeConfig_H
+
94#define MeConfig_H
+
95
+
96#include <utility/Servo.h>
+
97#include <utility/Wire.h>
+
98#include <utility/EEPROM.h>
+
99#include <utility/SoftwareSerial.h>
+
100#include <utility/SPI.h>
+
101
+
102#define ME_PORT_DEFINED
+
103
+
104#if defined(__AVR__)
+
105#define MePIN_TO_BASEREG(pin) ( portInputRegister (digitalPinToPort (pin) ) )
+
106#define MePIN_TO_BITMASK(pin) ( digitalPinToBitMask (pin) )
+
107#define MeIO_REG_TYPE uint8_t
+
108#define MeIO_REG_ASM asm ("r30")
+
109#define MeDIRECT_READ(base, mask) ( ( (*(base) ) & (mask) ) ? 1 : 0)
+
110#define MeDIRECT_MODE_INPUT(base, mask) ( (*( (base) + 1) ) &= ~(mask) ), ( (*( (base) + 2) ) |= (mask) ) // INPUT_PULLUP
+
111#define MeDIRECT_MODE_OUTPUT(base, mask) ( (*( (base) + 1) ) |= (mask) )
+
112#define MeDIRECT_WRITE_LOW(base, mask) ( (*( (base) + 2) ) &= ~(mask) )
+
113#define MeDIRECT_WRITE_HIGH(base, mask) ( (*( (base) + 2) ) |= (mask) )
+
114#endif // __AVR__
+
115
+
116#endif // MeConfig_H
+
117
+
+
+ + + + diff --git a/doc/html/_me_d_c_motor_8cpp.html b/doc/html/_me_d_c_motor_8cpp.html new file mode 100644 index 00000000..ab66d0f6 --- /dev/null +++ b/doc/html/_me_d_c_motor_8cpp.html @@ -0,0 +1,192 @@ + + + + + + + +MakeBlock Drive Updated: src/MeDCMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeDCMotor.cpp File Reference
+
+
+ +

Driver for Me DC motor device. +More...

+
#include "MeDCMotor.h"
+
+Include dependency graph for MeDCMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me DC motor device.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2017/05/18
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me DC motor device.
+
Method List:
+
    +
  1. void MeDCMotor::setpin(uint8_t dir_pin,uint8_t pwm_pin)
  2. +
  3. void MeDCMotor::run(int16_t speed)
  4. +
  5. void MeDCMotor::stop(void)
  6. +
  7. void MeDCMotor::reset(uint8_t port)
  8. +
  9. void MeDCMotor::reset(uint8_t port, uint8_t slot)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
+Zzipeng          2017/05/18     1.0.2            set all timer frequency at 970HZ.
+
+
+
+ + + + diff --git a/doc/html/_me_d_c_motor_8cpp__incl.map b/doc/html/_me_d_c_motor_8cpp__incl.map new file mode 100644 index 00000000..d2fceb84 --- /dev/null +++ b/doc/html/_me_d_c_motor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_d_c_motor_8cpp__incl.md5 b/doc/html/_me_d_c_motor_8cpp__incl.md5 new file mode 100644 index 00000000..8626ca8b --- /dev/null +++ b/doc/html/_me_d_c_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +437b6e8bc214d10280a0eeb4590a077c \ No newline at end of file diff --git a/doc/html/_me_d_c_motor_8cpp__incl.png b/doc/html/_me_d_c_motor_8cpp__incl.png new file mode 100644 index 00000000..98227787 Binary files /dev/null and b/doc/html/_me_d_c_motor_8cpp__incl.png differ diff --git a/doc/html/_me_d_c_motor_8h.html b/doc/html/_me_d_c_motor_8h.html new file mode 100644 index 00000000..f98feef9 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h.html @@ -0,0 +1,232 @@ + + + + + + + +MakeBlock Drive Updated: src/MeDCMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeDCMotor.h File Reference
+
+
+ +

Header for MeDCMotor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeDCMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeDCMotor
 Driver for Me DC motor device. More...
 
+

Detailed Description

+

Header for MeDCMotor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/04/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me DC motor device.
+
Method List:
+
    +
  1. void MeDCMotor::setpin(uint8_t dir_pin,uint8_t pwm_pin)
  2. +
  3. void MeDCMotor::run(int16_t speed)
  4. +
  5. void MeDCMotor::stop(void)
  6. +
  7. void MeDCMotor::reset(uint8_t port)
  8. +
  9. void MeDCMotor::reset(uint8_t port, uint8_t slot)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
+
+
+
+ + + + diff --git a/doc/html/_me_d_c_motor_8h.js b/doc/html/_me_d_c_motor_8h.js new file mode 100644 index 00000000..82cdfce9 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h.js @@ -0,0 +1,4 @@ +var _me_d_c_motor_8h = +[ + [ "MeDCMotor", "class_me_d_c_motor.html", "class_me_d_c_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_d_c_motor_8h__dep__incl.map b/doc/html/_me_d_c_motor_8h__dep__incl.map new file mode 100644 index 00000000..c2ede20f --- /dev/null +++ b/doc/html/_me_d_c_motor_8h__dep__incl.map @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_d_c_motor_8h__dep__incl.md5 b/doc/html/_me_d_c_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..395eaf73 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +6058b3766341cce836092618ebed7515 \ No newline at end of file diff --git a/doc/html/_me_d_c_motor_8h__dep__incl.png b/doc/html/_me_d_c_motor_8h__dep__incl.png new file mode 100644 index 00000000..36690c07 Binary files /dev/null and b/doc/html/_me_d_c_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_d_c_motor_8h__incl.map b/doc/html/_me_d_c_motor_8h__incl.map new file mode 100644 index 00000000..6c111260 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_d_c_motor_8h__incl.md5 b/doc/html/_me_d_c_motor_8h__incl.md5 new file mode 100644 index 00000000..74e7f7c4 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h__incl.md5 @@ -0,0 +1 @@ +e8e8ddf90a44f5ee66a10a2f8634278a \ No newline at end of file diff --git a/doc/html/_me_d_c_motor_8h__incl.png b/doc/html/_me_d_c_motor_8h__incl.png new file mode 100644 index 00000000..bc95b2cb Binary files /dev/null and b/doc/html/_me_d_c_motor_8h__incl.png differ diff --git a/doc/html/_me_d_c_motor_8h_source.html b/doc/html/_me_d_c_motor_8h_source.html new file mode 100644 index 00000000..5a95ab22 --- /dev/null +++ b/doc/html/_me_d_c_motor_8h_source.html @@ -0,0 +1,164 @@ + + + + + + + +MakeBlock Drive Updated: src/MeDCMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeDCMotor.h
+
+
+Go to the documentation of this file.
1
+
42#ifndef MeDCMotor_H
+
43#define MeDCMotor_H
+
44
+
45#include <stdint.h>
+
46#include <stdbool.h>
+
47#include <Arduino.h>
+
48#include "MeConfig.h"
+
49
+
50#ifdef ME_PORT_DEFINED
+
51#include "MePort.h"
+
52#endif
+
53
+
59#ifndef ME_PORT_DEFINED
+
60class MeDCMotor
+
61#else // !ME_PORT_DEFINED
+
+
62class MeDCMotor : public MePort
+
63#endif // !ME_PORT_DEFINED
+
64{
+
65public:
+
66#ifdef ME_PORT_DEFINED
+
73 MeDCMotor(void);
+
74
+
80 MeDCMotor(uint8_t port);
+
81#else // ME_PORT_DEFINED
+
90 MeDCMotor(uint8_t dir_pin,uint8_t pwm_pin);
+
91#endif // ME_PORT_DEFINED
+
108 void setpin(uint8_t dir_pin,uint8_t pwm_pin);
+
109
+
124 void reset(uint8_t port);
+
125
+
142 void reset(uint8_t port, uint8_t slot);
+
143
+
158 void run(int16_t speed);
+
159
+
172 void stop(void);
+
173private:
+
174 volatile uint8_t dc_dir_pin;
+
175 volatile uint8_t dc_pwm_pin;
+
176 int16_t last_speed;
+
177};
+
+
178#endif
+
179
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me DC motor device.
Definition MeDCMotor.h:64
+
void reset(uint8_t port)
Definition MeDCMotor.cpp:201
+
void run(int16_t speed)
Definition MeDCMotor.cpp:243
+
MeDCMotor(void)
Definition MeDCMotor.cpp:53
+
void stop(void)
Definition MeDCMotor.cpp:293
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_e_e_p_r_o_m_8h.html b/doc/html/_me_e_e_p_r_o_m_8h.html new file mode 100644 index 00000000..c1d3bd7d --- /dev/null +++ b/doc/html/_me_e_e_p_r_o_m_8h.html @@ -0,0 +1,291 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEEPROM.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEEPROM.h File Reference
+
+
+ +

Location map for EEPROM. +More...

+
#include <Arduino.h>
+#include <stdbool.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeEEPROM.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define EEPROM_START_POS   0
 
+#define EEPROM_IF_HAVEPID_CHECK1   0xAB
 
+#define EEPROM_IF_HAVEPID_CHECK2   0xCD
 
+#define EEPROM_CHECK_START   0xAB
 
+#define EEPROM_CHECK_MID   0xCD
 
+#define EEPROM_CHECK_END   0xEF
 
+#define ON_BOARD_ENCODER_SLOT0_PARTITION_CHECK   EEPROM_START_POS
 
+#define ON_BOARD_ENCODER_SLOT0_START_ADDR   ON_BOARD_ENCODER_SLOT0_PARTITION_CHECK + 2
 
+#define ON_BOARD_ENCODER_SLOT0_PID_ADDR   ON_BOARD_ENCODER_SLOT0_START_ADDR + 1
 
+#define ON_BOARD_ENCODER_SLOT0_RATIO_ADDR   ON_BOARD_ENCODER_SLOT0_PID_ADDR + 16
 
+#define ON_BOARD_ENCODER_SLOT0_PLUS_ADDR   ON_BOARD_ENCODER_SLOT0_RATIO_ADDR + 4
 
+#define ON_BOARD_ENCODER_SLOT0_END_ADDR   ON_BOARD_ENCODER_SLOT0_PLUS_ADDR + 2
 
+#define ON_BOARD_ENCODER_SLOT1_PARTITION_CHECK   ON_BOARD_ENCODER_SLOT0_END_ADDR + 1
 
+#define ON_BOARD_ENCODER_SLOT1_START_ADDR   ON_BOARD_ENCODER_SLOT1_PARTITION_CHECK + 2
 
+#define ON_BOARD_ENCODER_SLOT1_PID_ADDR   ON_BOARD_ENCODER_SLOT1_START_ADDR + 1
 
+#define ON_BOARD_ENCODER_SLOT1_RATIO_ADDR   ON_BOARD_ENCODER_SLOT1_PID_ADDR + 16
 
+#define ON_BOARD_ENCODER_SLOT1_PLUS_ADDR   ON_BOARD_ENCODER_SLOT1_RATIO_ADDR + 4
 
+#define ON_BOARD_ENCODER_SLOT0_END_ADDR   ON_BOARD_ENCODER_SLOT0_PLUS_ADDR + 2
 
+#define BALANCED_CAR_PARTITION_CHECK   0x50
 
+#define BALANCED_CAR_START_ADDR   BALANCED_CAR_PARTITION_CHECK + 2
 
+#define BALANCED_CAR_NATURAL_BALANCE   BALANCED_CAR_START_ADDR + 1
 
+#define BALANCED_CAR_ANGLE_PID_ADDR   BALANCED_CAR_NATURAL_BALANCE + 4
 
+#define BALANCED_CAR_SPEED_PID_ADDR   BALANCED_CAR_ANGLE_PID_ADDR + 12
 
+#define BALANCED_CAR_DIR_PID_ADDR   BALANCED_CAR_SPEED_PID_ADDR + 12
 
+#define BALANCED_CAR_END_ADDR   BALANCED_CAR_DIR_PID_ADDR + 4
 
+#define AURIGA_MODE_PARTITION_CHECK   0x80
 
+#define AURIGA_MODE_START_ADDR   AURIGA_MODE_PARTITION_CHECK + 2
 
+#define AURIGA_MODE_CONFIGURE   AURIGA_MODE_START_ADDR + 1
 
+#define AURIGA_MODE_END_ADDR   AURIGA_MODE_CONFIGURE + 1
 
+#define MEGAPI_MODE_PARTITION_CHECK   0x90
 
+#define MEGAPI_MODE_START_ADDR   MEGAPI_MODE_PARTITION_CHECK + 2
 
+#define MEGAPI_MODE_CONFIGURE   MEGAPI_MODE_START_ADDR + 1
 
+#define MEGAPI_MODE_END_ADDR   MEGAPI_MODE_CONFIGURE + 1
 
+

Detailed Description

+

Location map for EEPROM.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.
+
Date
2016/01/21
+

EEPROM location map.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a location map for EEPROM that used by makeblock libraries.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ Mark Yan         2015/09/02          1.0.0         build the new
+
+
+
+ + + + diff --git a/doc/html/_me_e_e_p_r_o_m_8h__incl.map b/doc/html/_me_e_e_p_r_o_m_8h__incl.map new file mode 100644 index 00000000..66cbdc18 --- /dev/null +++ b/doc/html/_me_e_e_p_r_o_m_8h__incl.map @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_e_e_p_r_o_m_8h__incl.md5 b/doc/html/_me_e_e_p_r_o_m_8h__incl.md5 new file mode 100644 index 00000000..1c60f2e4 --- /dev/null +++ b/doc/html/_me_e_e_p_r_o_m_8h__incl.md5 @@ -0,0 +1 @@ +b823c8194a66c69671392008f8163769 \ No newline at end of file diff --git a/doc/html/_me_e_e_p_r_o_m_8h__incl.png b/doc/html/_me_e_e_p_r_o_m_8h__incl.png new file mode 100644 index 00000000..7ceff3ce Binary files /dev/null and b/doc/html/_me_e_e_p_r_o_m_8h__incl.png differ diff --git a/doc/html/_me_e_e_p_r_o_m_8h_source.html b/doc/html/_me_e_e_p_r_o_m_8h_source.html new file mode 100644 index 00000000..184d9d92 --- /dev/null +++ b/doc/html/_me_e_e_p_r_o_m_8h_source.html @@ -0,0 +1,166 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEEPROM.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEEPROM.h
+
+
+Go to the documentation of this file.
1
+
32#ifndef ME_EEPROM_H
+
33#define ME_EEPROM_H
+
34#include <Arduino.h>
+
35#include <stdbool.h>
+
36#include "MeConfig.h"
+
37#include "MePort.h"
+
38
+
39#define EEPROM_START_POS 0
+
40
+
41//0x00 - 0x34 (26*2 = 52)
+
42#define EEPROM_IF_HAVEPID_CHECK1 0xAB
+
43#define EEPROM_IF_HAVEPID_CHECK2 0xCD
+
44#define EEPROM_CHECK_START 0xAB
+
45#define EEPROM_CHECK_MID 0xCD
+
46#define EEPROM_CHECK_END 0xEF
+
47
+
48#define ON_BOARD_ENCODER_SLOT0_PARTITION_CHECK EEPROM_START_POS //
+
49#define ON_BOARD_ENCODER_SLOT0_START_ADDR ON_BOARD_ENCODER_SLOT0_PARTITION_CHECK + 2 //Partition checksum
+
50#define ON_BOARD_ENCODER_SLOT0_PID_ADDR ON_BOARD_ENCODER_SLOT0_START_ADDR + 1 //start data
+
51#define ON_BOARD_ENCODER_SLOT0_RATIO_ADDR ON_BOARD_ENCODER_SLOT0_PID_ADDR + 16 //pids data, 4 float
+
52#define ON_BOARD_ENCODER_SLOT0_PLUS_ADDR ON_BOARD_ENCODER_SLOT0_RATIO_ADDR + 4 //ratio0 data
+
53#define ON_BOARD_ENCODER_SLOT0_END_ADDR ON_BOARD_ENCODER_SLOT0_PLUS_ADDR + 2 //plus data
+
54
+
55#define ON_BOARD_ENCODER_SLOT1_PARTITION_CHECK ON_BOARD_ENCODER_SLOT0_END_ADDR + 1 //end data
+
56#define ON_BOARD_ENCODER_SLOT1_START_ADDR ON_BOARD_ENCODER_SLOT1_PARTITION_CHECK + 2 //Partition checksum
+
57#define ON_BOARD_ENCODER_SLOT1_PID_ADDR ON_BOARD_ENCODER_SLOT1_START_ADDR + 1 //start data
+
58#define ON_BOARD_ENCODER_SLOT1_RATIO_ADDR ON_BOARD_ENCODER_SLOT1_PID_ADDR + 16 //pids data, 4 float
+
59#define ON_BOARD_ENCODER_SLOT1_PLUS_ADDR ON_BOARD_ENCODER_SLOT1_RATIO_ADDR + 4 //ratio0 data
+
60#define ON_BOARD_ENCODER_SLOT0_END_ADDR ON_BOARD_ENCODER_SLOT0_PLUS_ADDR + 2 //plus data
+
61
+
62//0x50 - 0x70
+
63#define BALANCED_CAR_PARTITION_CHECK 0x50
+
64#define BALANCED_CAR_START_ADDR BALANCED_CAR_PARTITION_CHECK + 2 //Partition checksum
+
65#define BALANCED_CAR_NATURAL_BALANCE BALANCED_CAR_START_ADDR + 1 //start data
+
66#define BALANCED_CAR_ANGLE_PID_ADDR BALANCED_CAR_NATURAL_BALANCE + 4 //Natural balance angle 4
+
67#define BALANCED_CAR_SPEED_PID_ADDR BALANCED_CAR_ANGLE_PID_ADDR + 12 //PID 4*3
+
68#define BALANCED_CAR_DIR_PID_ADDR BALANCED_CAR_SPEED_PID_ADDR + 12 //PID 4*3
+
69#define BALANCED_CAR_END_ADDR BALANCED_CAR_DIR_PID_ADDR + 4 //only P
+
70
+
71//0x80 - 0x90
+
72#define AURIGA_MODE_PARTITION_CHECK 0x80
+
73#define AURIGA_MODE_START_ADDR AURIGA_MODE_PARTITION_CHECK + 2 //Partition checksum
+
74#define AURIGA_MODE_CONFIGURE AURIGA_MODE_START_ADDR + 1 //start data
+
75#define AURIGA_MODE_END_ADDR AURIGA_MODE_CONFIGURE + 1 //auriga mode
+
76
+
77//0x90 - 0xa0
+
78#define MEGAPI_MODE_PARTITION_CHECK 0x90
+
79#define MEGAPI_MODE_START_ADDR MEGAPI_MODE_PARTITION_CHECK + 2 //Partition checksum
+
80#define MEGAPI_MODE_CONFIGURE MEGAPI_MODE_START_ADDR + 1 //start data
+
81#define MEGAPI_MODE_END_ADDR MEGAPI_MODE_CONFIGURE + 1
+
82
+
83#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
+
+ + + + diff --git a/doc/html/_me_encoder_motor_8cpp.html b/doc/html/_me_encoder_motor_8cpp.html new file mode 100644 index 00000000..8d08a66b --- /dev/null +++ b/doc/html/_me_encoder_motor_8cpp.html @@ -0,0 +1,319 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderMotor.cpp File Reference
+
+
+ +

Driver for Encoder Motor module. +More...

+
#include "MeEncoderMotor.h"
+#include "MeHostParser.h"
+
+Include dependency graph for MeEncoderMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define ENCODER_MOTOR_GET_PARAM   0x01
 
+#define ENCODER_MOTOR_SAVE_PARAM   0x02
 
+#define ENCODER_MOTOR_TEST_PARAM   0x03
 
+#define ENCODER_MOTOR_SHOW_PARAM   0x04
 
+#define ENCODER_MOTOR_RUN_STOP   0x05
 
+#define ENCODER_MOTOR_GET_DIFF_POS   0x06
 
+#define ENCODER_MOTOR_RESET   0x07
 
+#define ENCODER_MOTOR_SPEED_TIME   0x08
 
+#define ENCODER_MOTOR_GET_SPEED   0x09
 
+#define ENCODER_MOTOR_GET_POS   0x10
 
+#define ENCODER_MOTOR_MOVE   0x11
 
+#define ENCODER_MOTOR_MOVE_TO   0x12
 
+#define ENCODER_MOTOR_DEBUG_STR   0xCC
 
+#define ENCODER_MOTOR_ACKNOWLEDGE   0xFF
 
+ + + +

+Functions

uint32_t MeHost_Pack (uint8_t *buf, uint32_t bufSize, uint8_t module, uint8_t *data, uint32_t length)
 
+ + + +

+Variables

+MeHostParser encoderParser = MeHostParser()
 
+

Detailed Description

+

Driver for Encoder Motor module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me EncoderMotor device, The Me EncoderMotor inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeEncoderMotor::begin();
  2. +
  3. boolean MeEncoderMotor::reset();
  4. +
  5. boolean MeEncoderMotor::move(float angle, float speed);
  6. +
  7. boolean MeEncoderMotor::moveTo(float angle, float speed);
  8. +
  9. boolean MeEncoderMotor::runTurns(float turns, float speed);
  10. +
  11. boolean MeEncoderMotor::runSpeed(float speed);
  12. +
  13. boolean MeEncoderMotor::runSpeedAndTime(float speed, float time);
  14. +
  15. float MeEncoderMotor::getCurrentSpeed();
  16. +
  17. float MeEncoderMotor::getCurrentPosition();
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/11/03     1.0.0            Fix minor errors on format
+forfish         2015/11/09     1.0.1            Add description
+
+

Function Documentation

+ +

◆ MeHost_Pack()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t MeHost_Pack (uint8_t * buf,
uint32_t bufSize,
uint8_t module,
uint8_t * data,
uint32_t length 
)
+
+
Function
MeHost_Pack
+
Description
Pack data into a package to send.
+
Parameters
+ + + + + + +
[in]buf- Buffer to save package.
[in]bufSize- Size of buf.
[in]module- The associated module of package.
[in]data- The data to pack.
[in]length- The length(size) of data.
+
+
+
Output
None \Return 0.
+
Others
package size.
+ +
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_motor_8cpp.js b/doc/html/_me_encoder_motor_8cpp.js new file mode 100644 index 00000000..c9c80476 --- /dev/null +++ b/doc/html/_me_encoder_motor_8cpp.js @@ -0,0 +1,4 @@ +var _me_encoder_motor_8cpp = +[ + [ "MeHost_Pack", "_me_encoder_motor_8cpp.html#af46216bf6587148906d641d9fa0a89cb", null ] +]; \ No newline at end of file diff --git a/doc/html/_me_encoder_motor_8cpp__incl.map b/doc/html/_me_encoder_motor_8cpp__incl.map new file mode 100644 index 00000000..decfec22 --- /dev/null +++ b/doc/html/_me_encoder_motor_8cpp__incl.map @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_motor_8cpp__incl.md5 b/doc/html/_me_encoder_motor_8cpp__incl.md5 new file mode 100644 index 00000000..956335bf --- /dev/null +++ b/doc/html/_me_encoder_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +a19cadbedec53c408728651bcb5d263a \ No newline at end of file diff --git a/doc/html/_me_encoder_motor_8cpp__incl.png b/doc/html/_me_encoder_motor_8cpp__incl.png new file mode 100644 index 00000000..9dc64d21 Binary files /dev/null and b/doc/html/_me_encoder_motor_8cpp__incl.png differ diff --git a/doc/html/_me_encoder_motor_8h.html b/doc/html/_me_encoder_motor_8h.html new file mode 100644 index 00000000..4a7480bc --- /dev/null +++ b/doc/html/_me_encoder_motor_8h.html @@ -0,0 +1,228 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderMotor.h File Reference
+
+
+ +

Header for MeEncoderMotor.cpp module. +More...

+
#include <stdbool.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeEncoderMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeEncoderMotor
 Class for Encoder Motor Driver. More...
 
+

Detailed Description

+

Header for MeEncoderMotor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me EncoderMotor device, The Me EncoderMotor inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeEncoderMotor::begin();
  2. +
  3. boolean MeEncoderMotor::reset();
  4. +
  5. boolean MeEncoderMotor::move(float angle, float speed);
  6. +
  7. boolean MeEncoderMotor::moveTo(float angle, float speed);
  8. +
  9. boolean MeEncoderMotor::runTurns(float turns, float speed);
  10. +
  11. boolean MeEncoderMotor::runSpeed(float speed);
  12. +
  13. boolean MeEncoderMotor::runSpeedAndTime(float speed, float time);
  14. +
  15. float MeEncoderMotor::getCurrentSpeed();
  16. +
  17. float MeEncoderMotor::getCurrentPosition();
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/11/03     1.0.0            Fix minor errors on format
+forfish         2015/11/09     1.0.1            Add description
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_motor_8h.js b/doc/html/_me_encoder_motor_8h.js new file mode 100644 index 00000000..ddc29e67 --- /dev/null +++ b/doc/html/_me_encoder_motor_8h.js @@ -0,0 +1,4 @@ +var _me_encoder_motor_8h = +[ + [ "MeEncoderMotor", "class_me_encoder_motor.html", "class_me_encoder_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_encoder_motor_8h__dep__incl.map b/doc/html/_me_encoder_motor_8h__dep__incl.map new file mode 100644 index 00000000..642c468b --- /dev/null +++ b/doc/html/_me_encoder_motor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_motor_8h__dep__incl.md5 b/doc/html/_me_encoder_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..cdcc51a5 --- /dev/null +++ b/doc/html/_me_encoder_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +5a3738561e91981bb30edfd6fe448140 \ No newline at end of file diff --git a/doc/html/_me_encoder_motor_8h__dep__incl.png b/doc/html/_me_encoder_motor_8h__dep__incl.png new file mode 100644 index 00000000..37fdef49 Binary files /dev/null and b/doc/html/_me_encoder_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_encoder_motor_8h__incl.map b/doc/html/_me_encoder_motor_8h__incl.map new file mode 100644 index 00000000..3782708d --- /dev/null +++ b/doc/html/_me_encoder_motor_8h__incl.map @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_motor_8h__incl.md5 b/doc/html/_me_encoder_motor_8h__incl.md5 new file mode 100644 index 00000000..fa1e448e --- /dev/null +++ b/doc/html/_me_encoder_motor_8h__incl.md5 @@ -0,0 +1 @@ +a1df10e2d47a8fe0bb3cc531c8ae44cb \ No newline at end of file diff --git a/doc/html/_me_encoder_motor_8h__incl.png b/doc/html/_me_encoder_motor_8h__incl.png new file mode 100644 index 00000000..41612f58 Binary files /dev/null and b/doc/html/_me_encoder_motor_8h__incl.png differ diff --git a/doc/html/_me_encoder_motor_8h_source.html b/doc/html/_me_encoder_motor_8h_source.html new file mode 100644 index 00000000..4ea6941c --- /dev/null +++ b/doc/html/_me_encoder_motor_8h_source.html @@ -0,0 +1,169 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderMotor.h
+
+
+Go to the documentation of this file.
1
+
49#ifndef MeEncoderMotor_h
+
50#define MeEncoderMotor_h
+
51
+
52#include <stdbool.h>
+
53#include "MeConfig.h"
+
54#include "MePort.h"
+
55
+
+
57class MeEncoderMotor: public MePort{
+
58public:
+
67 MeEncoderMotor(uint8_t addr,uint8_t slot);
+
68
+
75 MeEncoderMotor(uint8_t slot);
+
76
+ +
84
+
99 void begin();
+
100
+
115 boolean reset();
+
116
+
133 boolean move(float angle, float speed);
+
134
+
151 boolean moveTo(float angle, float speed);
+
152
+
169 boolean runTurns(float turns, float speed);
+
170
+
185 boolean runSpeed(float speed);
+
186
+
203 boolean runSpeedAndTime(float speed, float time);
+
204
+
219 float getCurrentSpeed();
+
220
+
235 float getCurrentPosition();
+
236
+
237private:
+
258 void request(byte *writeData, byte *readData, int wlen, int rlen);
+
259
+
260 uint8_t _slot;
+
261 uint8_t _slaveAddress;
+
262 unsigned long _lastTime;
+
263};
+
+
264#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Class for Encoder Motor Driver.
Definition MeEncoderMotor.h:57
+
boolean moveTo(float angle, float speed)
Definition MeEncoderMotor.cpp:242
+
boolean move(float angle, float speed)
Definition MeEncoderMotor.cpp:287
+
float getCurrentPosition()
Definition MeEncoderMotor.cpp:474
+
float getCurrentSpeed()
Definition MeEncoderMotor.cpp:440
+
boolean reset()
Definition MeEncoderMotor.cpp:208
+
boolean runTurns(float turns, float speed)
Definition MeEncoderMotor.cpp:335
+
MeEncoderMotor()
Definition MeEncoderMotor.cpp:168
+
boolean runSpeedAndTime(float speed, float time)
Definition MeEncoderMotor.cpp:399
+
void begin()
Definition MeEncoderMotor.cpp:188
+
boolean runSpeed(float speed)
Definition MeEncoderMotor.cpp:354
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_encoder_new_8cpp.html b/doc/html/_me_encoder_new_8cpp.html new file mode 100644 index 00000000..90589c7a --- /dev/null +++ b/doc/html/_me_encoder_new_8cpp.html @@ -0,0 +1,284 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderNew.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderNew.cpp File Reference
+
+
+ +

Driver for Me Encoder New module. +More...

+
#include "MeEncoderNew.h"
+
+Include dependency graph for MeEncoderNew.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define HOLD   0x40
 
+#define SYNC   0x80
 
+#define CMD_RESET   0x00
 
+#define CMD_MOVE_TO   0x01
 
+#define CMD_MOVE   0x02
 
+#define CMD_MOVE_SPD   0x03
 
+#define CMD_STOP   0x05
 
+#define CMD_SET_SPEED_PID   0x10
 
+#define CMD_SET_POS_PID   0x11
 
+#define CMD_SET_CUR_POS   0x12
 
+#define CMD_SET_MODE   0x13
 
+#define CMD_SET_PWM   0x14
 
+#define CMD_SET_RATIO   0x15
 
+#define CMD_SET_PULSE   0x16
 
+#define CMD_SET_DEVID   0x17
 
+#define CMD_GET_SPEED_PID   0x20
 
+#define CMD_GET_POS_PID   0x21
 
+#define CMD_GET_POS   0x23
 
+#define CMD_GET_SPEED   0x24
 
+#define CMD_GET_RATIO   0x25
 
+#define CMD_GET_PULSE   0x26
 
+#define CMD_GET_LOCK_STATE   0x27
 
+#define CMD_GET_FIRWARE_VERSION   0x30
 
+

Detailed Description

+

Driver for Me Encoder New module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/03/18
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me EncoderNew device, The Me EncoderNew inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeEncoderNew::begin(void);
  2. +
  3. void MeEncoderNew::setAddr(uint8_t i2cAddr,uint8_t slot);
  4. +
  5. void MeEncoderNew::move(long angle, float speed, float lock_state);
  6. +
  7. void MeEncoderNew::moveTo(long angle, float speed,float lock_state);
  8. +
  9. void MeEncoderNew::runSpeed(int speed);
  10. +
  11. void MeEncoderNew::runTurns(long turns, float speed,float lock_state);
  12. +
  13. void MeEncoderNew::reset(void);
  14. +
  15. void MeEncoderNew::setSpeedPID(float p,float i,float d);
  16. +
  17. void MeEncoderNew::setPosPID(float p,float i,float d);
  18. +
  19. void MeEncoderNew::setMode(uint8_t mode);
  20. +
  21. void MeEncoderNew::setPWM(int pwm);
  22. +
  23. void MeEncoderNew::setCurrentPosition(long pulse_counter)
  24. +
  25. long MeEncoderNew::getCurrentPosition();
  26. +
  27. void MeEncoderNew::getSpeedPID(float * p,float * i,float * d);
  28. +
  29. void MeEncoderNew::getPosPID(float * p,float * i,float * d);
  30. +
  31. float MeEncoderNew::getCurrentSpeed(void);
  32. +
  33. void MeEncoderNew::sendCmd(void);
  34. +
  35. float MeEncoderNew::getRatio(void);
  36. +
  37. void MeEncoderNew::setRatio(float r);
  38. +
  39. int MeEncoderNew::getPulse(void);
  40. +
  41. void MeEncoderNew::setPulse(int p);
  42. +
  43. void MeEncoderNew::setDevid(int devid);
  44. +
  45. void MeEncoderNew::runSpeedAndTime(float speed, float time, float lock_state);
  46. +
  47. boolean MeEncoderNew::isTarPosReached(void);
  48. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2016/03/18     1.0.0            build the new
+Mark Yan        2017/06/09     1.0.1            add function setAddr
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_new_8cpp__incl.map b/doc/html/_me_encoder_new_8cpp__incl.map new file mode 100644 index 00000000..05a654f6 --- /dev/null +++ b/doc/html/_me_encoder_new_8cpp__incl.map @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_new_8cpp__incl.md5 b/doc/html/_me_encoder_new_8cpp__incl.md5 new file mode 100644 index 00000000..3da40f07 --- /dev/null +++ b/doc/html/_me_encoder_new_8cpp__incl.md5 @@ -0,0 +1 @@ +eeb118496a2a2368d306e0d6b2406d55 \ No newline at end of file diff --git a/doc/html/_me_encoder_new_8cpp__incl.png b/doc/html/_me_encoder_new_8cpp__incl.png new file mode 100644 index 00000000..ca786195 Binary files /dev/null and b/doc/html/_me_encoder_new_8cpp__incl.png differ diff --git a/doc/html/_me_encoder_new_8h.html b/doc/html/_me_encoder_new_8h.html new file mode 100644 index 00000000..0fed7bde --- /dev/null +++ b/doc/html/_me_encoder_new_8h.html @@ -0,0 +1,270 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderNew.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderNew.h File Reference
+
+
+ +

Header for MeEncoderNew.cpp module. +More...

+
#include <Arduino.h>
+#include <stdbool.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeEncoderNew.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeEncoderNew
 Driver for Me Encoder New module. More...
 
+ + + + + + + + + + + + + + + +

+Macros

+#define LEONARDO_PORT1
 
+#define SDA_PORT   PORTB
 
+#define SDA_PIN   7
 
+#define SCL_PORT   PORTB
 
+#define SCL_PIN   4
 
+#define I2C_SLOWMODE   1
 
+#define PULSE_PER_C   8
 
+

Detailed Description

+

Header for MeEncoderNew.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/03/18
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me EncoderNew device, The Me EncoderNew inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeEncoderNew::begin(void);
  2. +
  3. void MeEncoderNew::setAddr(uint8_t i2cAddr,uint8_t slot);
  4. +
  5. void MeEncoderNew::move(long angle, float speed, float lock_state);
  6. +
  7. void MeEncoderNew::moveTo(long angle, float speed,float lock_state);
  8. +
  9. void MeEncoderNew::runSpeed(int speed);
  10. +
  11. void MeEncoderNew::runTurns(long turns, float speed,float lock_state);
  12. +
  13. void MeEncoderNew::reset(void);
  14. +
  15. void MeEncoderNew::setSpeedPID(float p,float i,float d);
  16. +
  17. void MeEncoderNew::setPosPID(float p,float i,float d);
  18. +
  19. void MeEncoderNew::setMode(uint8_t mode);
  20. +
  21. void MeEncoderNew::setPWM(int pwm);
  22. +
  23. void MeEncoderNew::setCurrentPosition(long pulse_counter)
  24. +
  25. long MeEncoderNew::getCurrentPosition();
  26. +
  27. void MeEncoderNew::getSpeedPID(float * p,float * i,float * d);
  28. +
  29. void MeEncoderNew::getPosPID(float * p,float * i,float * d);
  30. +
  31. float MeEncoderNew::getCurrentSpeed(void);
  32. +
  33. void MeEncoderNew::sendCmd(void);
  34. +
  35. float MeEncoderNew::getRatio(void);
  36. +
  37. void MeEncoderNew::setRatio(float r);
  38. +
  39. int MeEncoderNew::getPulse(void);
  40. +
  41. void MeEncoderNew::setPulse(int p);
  42. +
  43. void MeEncoderNew::setDevid(int devid);
  44. +
  45. void MeEncoderNew::runSpeedAndTime(float speed, float time, float lock_state);
  46. +
  47. boolean MeEncoderNew::isTarPosReached(void);
  48. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2016/03/18     1.0.0            build the new
+Mark Yan        2017/06/09     1.0.1            add function setAddr
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_new_8h.js b/doc/html/_me_encoder_new_8h.js new file mode 100644 index 00000000..c5a0b7ca --- /dev/null +++ b/doc/html/_me_encoder_new_8h.js @@ -0,0 +1,4 @@ +var _me_encoder_new_8h = +[ + [ "MeEncoderNew", "class_me_encoder_new.html", "class_me_encoder_new" ] +]; \ No newline at end of file diff --git a/doc/html/_me_encoder_new_8h__dep__incl.map b/doc/html/_me_encoder_new_8h__dep__incl.map new file mode 100644 index 00000000..b14ab7d3 --- /dev/null +++ b/doc/html/_me_encoder_new_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_new_8h__dep__incl.md5 b/doc/html/_me_encoder_new_8h__dep__incl.md5 new file mode 100644 index 00000000..5838cebb --- /dev/null +++ b/doc/html/_me_encoder_new_8h__dep__incl.md5 @@ -0,0 +1 @@ +8172684f3e2b362d9456d519b13994a9 \ No newline at end of file diff --git a/doc/html/_me_encoder_new_8h__dep__incl.png b/doc/html/_me_encoder_new_8h__dep__incl.png new file mode 100644 index 00000000..1ed93dbf Binary files /dev/null and b/doc/html/_me_encoder_new_8h__dep__incl.png differ diff --git a/doc/html/_me_encoder_new_8h__incl.map b/doc/html/_me_encoder_new_8h__incl.map new file mode 100644 index 00000000..b55ea181 --- /dev/null +++ b/doc/html/_me_encoder_new_8h__incl.map @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_encoder_new_8h__incl.md5 b/doc/html/_me_encoder_new_8h__incl.md5 new file mode 100644 index 00000000..212a8143 --- /dev/null +++ b/doc/html/_me_encoder_new_8h__incl.md5 @@ -0,0 +1 @@ +b450cdaa1cf5aff6f389b133f53050dc \ No newline at end of file diff --git a/doc/html/_me_encoder_new_8h__incl.png b/doc/html/_me_encoder_new_8h__incl.png new file mode 100644 index 00000000..da654f1a Binary files /dev/null and b/doc/html/_me_encoder_new_8h__incl.png differ diff --git a/doc/html/_me_encoder_new_8h_source.html b/doc/html/_me_encoder_new_8h_source.html new file mode 100644 index 00000000..8ba4241a --- /dev/null +++ b/doc/html/_me_encoder_new_8h_source.html @@ -0,0 +1,250 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderNew.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderNew.h
+
+
+Go to the documentation of this file.
1
+
63#ifndef ME_LEGOENCODER_H
+
64#define ME_LEGOENCODER_H
+
65#include <Arduino.h>
+
66#include <stdbool.h>
+
67#include "MeConfig.h"
+
68#include "MePort.h"
+
69
+
70#define LEONARDO_PORT1
+
71
+
72#if defined(UNO_PORT1) //10:PB3 11:PB2
+
73#define SDA_PORT PORTB
+
74#define SDA_PIN 3
+
75#define SCL_PORT PORTB
+
76#define SCL_PIN 2
+
77#define I2C_SLOWMODE 1
+
78#elif defined(UNO_PORT2) //3:PD3 9:PB1
+
79#define SDA_PORT PORTD
+
80#define SDA_PIN 3
+
81#define SCL_PORT PORTB
+
82#define SCL_PIN 1
+
83#define I2C_SLOWMODE 1
+
84#elif defined(LEONARDO_PORT1) //11:PB7 8:PB4
+
85#define SDA_PORT PORTB
+
86#define SDA_PIN 7
+
87#define SCL_PORT PORTB
+
88#define SCL_PIN 4
+
89#define I2C_SLOWMODE 1
+
90#elif defined(LEONARDO_PORT2) //13:PC7 12:PD6
+
91#define SDA_PORT PORTC
+
92#define SDA_PIN 7
+
93#define SCL_PORT PORTD
+
94#define SCL_PIN 6
+
95#define I2C_SLOWMODE 1
+
96#else
+
97// change sda scl if you use a different pin mapping
+
98#endif
+
99
+
100#define PULSE_PER_C 8
+
101
+
+ +
108public:
+
117 MeEncoderNew(uint8_t addr,uint8_t slot);
+
118
+
125 MeEncoderNew(uint8_t slot);
+
126
+
133 MeEncoderNew(void);
+
134
+
149 void begin(void);
+
150
+
167 void setAddr(uint8_t i2cAddr,uint8_t slot);
+
168
+
181 void reset(void);
+
182
+
201 void move(long angle, float speed = 220, float lock_state = 1);
+
202
+
221 void moveTo(long angle, float speed = 220, float lock_state = 1);
+
222
+
241 void runTurns(long turns, float speed = 220,float lock_state = 1);
+
242
+
257 void runSpeed(float speed,float lock_state = 1);
+
258
+
273 float getCurrentSpeed(void);
+
274
+
289 void setCurrentPosition(long pulse_counter);
+
290
+
305 long getCurrentPosition(void);
+
306
+
325 void setSpeedPID(float p,float i,float d);
+
326
+
345 void setPosPID(float p,float i,float d);
+
346
+
365 void getSpeedPID(float * p,float * i,float * d);
+
366
+
385 void getPosPID(float * p,float * i,float * d);
+
386
+
401 float getRatio(void);
+
402
+
417 void setRatio(float r);
+
418
+
433 int getPulse(void);
+
434
+
449 void setPulse(int p);
+
450
+
465 void setDevid(uint8_t devid);
+
466
+
481 void setMode(uint8_t mode);
+
482
+
497 void setPWM(int pwm);
+
498
+
517 void runSpeedAndTime(float speed, float time, float lock_state = 1);
+
518
+
534 boolean isTarPosReached(void);
+
535
+
549void getFirmwareVersion(char *buffer);
+
550
+
551private:
+
566 void sendCmd(void);
+
567
+
568 uint8_t _slot;
+
569 uint8_t address;
+
570 unsigned long _lastTime;
+
571 char cmdBuf[18];
+
572};
+
+
573
+
574#endif
+
575
+
576
+
577
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me Encoder New module.
Definition MeEncoderNew.h:107
+
void getFirmwareVersion(char *buffer)
Definition MeEncoderNew.cpp:812
+
void setRatio(float r)
Definition MeEncoderNew.cpp:651
+
boolean isTarPosReached(void)
Definition MeEncoderNew.cpp:782
+
float getCurrentSpeed(void)
Definition MeEncoderNew.cpp:567
+
void reset(void)
Definition MeEncoderNew.cpp:295
+
void moveTo(long angle, float speed=220, float lock_state=1)
Definition MeEncoderNew.cpp:223
+
void setCurrentPosition(long pulse_counter)
Definition MeEncoderNew.cpp:419
+
void runSpeed(float speed, float lock_state=1)
Definition MeEncoderNew.cpp:250
+
float getRatio(void)
Definition MeEncoderNew.cpp:620
+
int getPulse(void)
Definition MeEncoderNew.cpp:673
+
void setPulse(int p)
Definition MeEncoderNew.cpp:704
+
void setAddr(uint8_t i2cAddr, uint8_t slot)
Definition MeEncoderNew.cpp:170
+
void setPosPID(float p, float i, float d)
Definition MeEncoderNew.cpp:349
+
void begin(void)
Definition MeEncoderNew.cpp:149
+
void setDevid(uint8_t devid)
Definition MeEncoderNew.cpp:726
+
MeEncoderNew(void)
Definition MeEncoderNew.cpp:130
+
void getPosPID(float *p, float *i, float *d)
Definition MeEncoderNew.cpp:524
+
void setMode(uint8_t mode)
Definition MeEncoderNew.cpp:373
+
void runSpeedAndTime(float speed, float time, float lock_state=1)
Definition MeEncoderNew.cpp:752
+
long getCurrentPosition(void)
Definition MeEncoderNew.cpp:442
+
void setSpeedPID(float p, float i, float d)
Definition MeEncoderNew.cpp:321
+
void runTurns(long turns, float speed=220, float lock_state=1)
Definition MeEncoderNew.cpp:278
+
void move(long angle, float speed=220, float lock_state=1)
Definition MeEncoderNew.cpp:194
+
void setPWM(int pwm)
Definition MeEncoderNew.cpp:396
+
void getSpeedPID(float *p, float *i, float *d)
Definition MeEncoderNew.cpp:477
+
+
+ + + + diff --git a/doc/html/_me_encoder_on_board_8cpp.html b/doc/html/_me_encoder_on_board_8cpp.html new file mode 100644 index 00000000..154aa4b5 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8cpp.html @@ -0,0 +1,186 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderOnBoard.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderOnBoard.cpp File Reference
+
+
+ +

Driver for Encoder module on MeAuriga and MeMegaPi. +More...

+
#include "MeEncoderOnBoard.h"
+
+Include dependency graph for MeEncoderOnBoard.cpp:
+
+
+ + + + + + + + + + + +
+

Detailed Description

+

Driver for Encoder module on MeAuriga and MeMegaPi.

+
Author
MakeBlock
+
Version
V1.0.5
+
Date
2018/01/03
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Encoder On MeAuriga and MeMegaPi.
+
Method List:
+
    +
  1. void MeEncoderOnBoard::reset(uint8_t slot);
  2. +
  3. uint8_t MeEncoderOnBoard::getSlotNum(void);
  4. +
  5. uint8_t MeEncoderOnBoard::getIntNum(void);
  6. +
  7. uint8_t MeEncoderOnBoard::getPortA(void);
  8. +
  9. uint8_t MeEncoderOnBoard::getPortB(void);
  10. +
  11. long MeEncoderOnBoard::getPulsePos(void);
  12. +
  13. void MeEncoderOnBoard::setPulsePos(long pulse_pos);
  14. +
  15. void MeEncoderOnBoard::pulsePosPlus(void);
  16. +
  17. void MeEncoderOnBoard::pulsePosMinus(void);
  18. +
  19. void MeEncoderOnBoard::setCurrentSpeed(float speed);
  20. +
  21. float MeEncoderOnBoard::getCurrentSpeed(void);
  22. +
  23. int16_t MeEncoderOnBoard::getCurPwm(void);
  24. +
  25. void MeEncoderOnBoard::setTarPWM(int16_t pwm_value);
  26. +
  27. void MeEncoderOnBoard::setMotorPwm(int16_t pwm);
  28. +
  29. void MeEncoderOnBoard::updateSpeed(void);
  30. +
  31. void MeEncoderOnBoard::updateCurPos(void);
  32. +
  33. long MeEncoderOnBoard::getCurPos(void)
  34. +
  35. void MeEncoderOnBoard::runSpeed(float speed);
  36. +
  37. void MeEncoderOnBoard::setSpeed(float speed);
  38. +
  39. void MeEncoderOnBoard::move(long position,float speed,int16_t extId,cb callback);
  40. +
  41. void MeEncoderOnBoard::moveTo(long position,float speed,int16_t extId,cb callback);
  42. +
  43. long MeEncoderOnBoard::distanceToGo(void);
  44. +
  45. void MeEncoderOnBoard::setSpeedPid(float p,float i,float d);
  46. +
  47. void MeEncoderOnBoard::setPosPid(float p,float i,float d);
  48. +
  49. void MeEncoderOnBoard::setPulse(int16_t pulseValue);
  50. +
  51. void MeEncoderOnBoard::setRatio(float RatioValue);
  52. +
  53. void MeEncoderOnBoard::setMotionMode(int16_t motionMode);
  54. +
  55. int16_t MeEncoderOnBoard::pidPositionToPwm(void);
  56. +
  57. int16_t MeEncoderOnBoard::speedWithoutPos(void);
  58. +
  59. void MeEncoderOnBoard::encoderMove(void);
  60. +
  61. void MeEncoderOnBoard::pwmMove(void);
  62. +
  63. boolean MeEncoderOnBoard::isTarPosReached(void);
  64. +
  65. void MeEncoderOnBoard::loop(void);
  66. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/10     1.0.0            Add description
+Mark Yan        2016/04/07     1.0.1            fix motor reset issue.
+Mark Yan        2016/05/17     1.0.2            add some comments.
+Mark Yan        2016/06/25     1.0.3            add PID calibration for encoder driver.
+Zzipeng         2017/05/22     1.0.4            when motor turn its direction.
+Mark Yan        2018/01/03     1.0.4            add callback flag.
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_on_board_8cpp__incl.map b/doc/html/_me_encoder_on_board_8cpp__incl.map new file mode 100644 index 00000000..68bce45d --- /dev/null +++ b/doc/html/_me_encoder_on_board_8cpp__incl.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/_me_encoder_on_board_8cpp__incl.md5 b/doc/html/_me_encoder_on_board_8cpp__incl.md5 new file mode 100644 index 00000000..8aa6c5ee --- /dev/null +++ b/doc/html/_me_encoder_on_board_8cpp__incl.md5 @@ -0,0 +1 @@ +72a9a2ccbf1573eb96d78deff802e6f2 \ No newline at end of file diff --git a/doc/html/_me_encoder_on_board_8cpp__incl.png b/doc/html/_me_encoder_on_board_8cpp__incl.png new file mode 100644 index 00000000..3b99cb09 Binary files /dev/null and b/doc/html/_me_encoder_on_board_8cpp__incl.png differ diff --git a/doc/html/_me_encoder_on_board_8h.html b/doc/html/_me_encoder_on_board_8h.html new file mode 100644 index 00000000..a16d93f1 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h.html @@ -0,0 +1,260 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderOnBoard.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderOnBoard.h File Reference
+
+
+ +

Header for MeEncoderOnBoard.cpp module. +More...

+
#include <Arduino.h>
+#include <stdbool.h>
+#include <avr/interrupt.h>
+
+Include dependency graph for MeEncoderOnBoard.h:
+
+
+ + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + +

+Classes

struct  PID_internal
 
struct  Me_Encoder_type
 
struct  Encoder_port_type
 
class  MeEncoderOnBoard
 Driver for Encoder module on MeAuriga and MeMegaPi. More...
 
+ + + + + + + + + + + + + + + + + +

+Macros

+#define DIRECT_MODE   0x00
 
+#define PID_MODE   0x01
 
+#define PWM_MODE   0x02
 
+#define MOTION_WITH_POS   0x00
 
+#define MOTION_WITHOUT_POS   0x01
 
+#define PWM_MIN_OFFSET   25
 
+#define ENCODER_POS_DEADBAND   10
 
+#define DECELERATION_DISTANCE_PITCH   6
 
+ + + +

+Typedefs

+typedef void(* cb) (int16_t, int16_t)
 
+ + + +

+Variables

+Encoder_port_type encoder_Port [6]
 
+

Detailed Description

+

Header for MeEncoderOnBoard.cpp module.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2018/01/03
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Encoder On MeAuriga and MeMegaPi.
+
Method List:
+
    +
  1. void MeEncoderOnBoard::reset(uint8_t slot);
  2. +
  3. uint8_t MeEncoderOnBoard::getSlotNum(void);
  4. +
  5. uint8_t MeEncoderOnBoard::getIntNum(void);
  6. +
  7. uint8_t MeEncoderOnBoard::getPortA(void);
  8. +
  9. uint8_t MeEncoderOnBoard::getPortB(void);
  10. +
  11. long MeEncoderOnBoard::getPulsePos(void);
  12. +
  13. void MeEncoderOnBoard::setPulsePos(long pulse_pos);
  14. +
  15. void MeEncoderOnBoard::pulsePosPlus(void);
  16. +
  17. void MeEncoderOnBoard::pulsePosMinus(void);
  18. +
  19. void MeEncoderOnBoard::setCurrentSpeed(float speed);
  20. +
  21. float MeEncoderOnBoard::getCurrentSpeed(void);
  22. +
  23. int16_t MeEncoderOnBoard::getCurPwm(void);
  24. +
  25. void MeEncoderOnBoard::setTarPWM(int16_t pwm_value);
  26. +
  27. void MeEncoderOnBoard::setMotorPwm(int16_t pwm);
  28. +
  29. void MeEncoderOnBoard::updateSpeed(void);
  30. +
  31. void MeEncoderOnBoard::updateCurPos(void);
  32. +
  33. long MeEncoderOnBoard::getCurPos(void)
  34. +
  35. void MeEncoderOnBoard::runSpeed(float speed);
  36. +
  37. void MeEncoderOnBoard::setSpeed(float speed);
  38. +
  39. void MeEncoderOnBoard::move(long position,float speed,int16_t extId,cb callback);
  40. +
  41. void MeEncoderOnBoard::moveTo(long position,float speed,int16_t extId,cb callback);
  42. +
  43. long MeEncoderOnBoard::distanceToGo(void);
  44. +
  45. void MeEncoderOnBoard::setSpeedPid(float p,float i,float d);
  46. +
  47. void MeEncoderOnBoard::setPosPid(float p,float i,float d);
  48. +
  49. void MeEncoderOnBoard::setPulse(int16_t pulseValue);
  50. +
  51. void MeEncoderOnBoard::setRatio(float RatioValue);
  52. +
  53. void MeEncoderOnBoard::setMotionMode(int16_t motionMode);
  54. +
  55. int16_t MeEncoderOnBoard::pidPositionToPwm(void);
  56. +
  57. int16_t MeEncoderOnBoard::speedWithoutPos(void);
  58. +
  59. void MeEncoderOnBoard::encoderMove(void);
  60. +
  61. void MeEncoderOnBoard::pwmMove(void);
  62. +
  63. boolean MeEncoderOnBoard::isTarPosReached(void);
  64. +
  65. void MeEncoderOnBoard::loop(void);
  66. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/12/15     1.0.0            Build New
+Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
+Mark Yan         2016/05/17     1.0.2            add some comments.
+Mark Yan         2016/06/25     1.0.3            add PID calibration for encoder driver.
+Mark Yan         2018/01/03     1.0.4            add callback flag.
+
+
+
+ + + + diff --git a/doc/html/_me_encoder_on_board_8h.js b/doc/html/_me_encoder_on_board_8h.js new file mode 100644 index 00000000..5c49fce9 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h.js @@ -0,0 +1,7 @@ +var _me_encoder_on_board_8h = +[ + [ "PID_internal", "struct_p_i_d__internal.html", null ], + [ "Me_Encoder_type", "struct_me___encoder__type.html", null ], + [ "Encoder_port_type", "struct_encoder__port__type.html", null ], + [ "MeEncoderOnBoard", "class_me_encoder_on_board.html", "class_me_encoder_on_board" ] +]; \ No newline at end of file diff --git a/doc/html/_me_encoder_on_board_8h__dep__incl.map b/doc/html/_me_encoder_on_board_8h__dep__incl.map new file mode 100644 index 00000000..eb05b2b8 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h__dep__incl.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/_me_encoder_on_board_8h__dep__incl.md5 b/doc/html/_me_encoder_on_board_8h__dep__incl.md5 new file mode 100644 index 00000000..33912f4a --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h__dep__incl.md5 @@ -0,0 +1 @@ +6e85eef8ca35e17fa639d1bf200796b4 \ No newline at end of file diff --git a/doc/html/_me_encoder_on_board_8h__dep__incl.png b/doc/html/_me_encoder_on_board_8h__dep__incl.png new file mode 100644 index 00000000..0d8476aa Binary files /dev/null and b/doc/html/_me_encoder_on_board_8h__dep__incl.png differ diff --git a/doc/html/_me_encoder_on_board_8h__incl.map b/doc/html/_me_encoder_on_board_8h__incl.map new file mode 100644 index 00000000..1ebb1abc --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h__incl.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/_me_encoder_on_board_8h__incl.md5 b/doc/html/_me_encoder_on_board_8h__incl.md5 new file mode 100644 index 00000000..3bf9ae60 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h__incl.md5 @@ -0,0 +1 @@ +6baf618c3bd25528e6ea36ad04a48d23 \ No newline at end of file diff --git a/doc/html/_me_encoder_on_board_8h__incl.png b/doc/html/_me_encoder_on_board_8h__incl.png new file mode 100644 index 00000000..ba679146 Binary files /dev/null and b/doc/html/_me_encoder_on_board_8h__incl.png differ diff --git a/doc/html/_me_encoder_on_board_8h_source.html b/doc/html/_me_encoder_on_board_8h_source.html new file mode 100644 index 00000000..1bd1fc68 --- /dev/null +++ b/doc/html/_me_encoder_on_board_8h_source.html @@ -0,0 +1,314 @@ + + + + + + + +MakeBlock Drive Updated: src/MeEncoderOnBoard.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderOnBoard.h
+
+
+Go to the documentation of this file.
1
+
73#ifndef ME_Encoder_OnBoard_H
+
74#define ME_Encoder_OnBoard_H
+
75
+
76#include <Arduino.h>
+
77#include <stdbool.h>
+
78#include <avr/interrupt.h>
+
79
+
80#define DIRECT_MODE 0x00
+
81#define PID_MODE 0x01
+
82#define PWM_MODE 0x02
+
83
+
84#define MOTION_WITH_POS 0x00
+
85#define MOTION_WITHOUT_POS 0x01
+
86
+
87#define PWM_MIN_OFFSET 25
+
88#define ENCODER_POS_DEADBAND 10
+
89#define DECELERATION_DISTANCE_PITCH 6
+
90
+
+
91typedef struct
+
92{
+
93 float P, I, D;
+
94 float Setpoint, Output, Integral, differential, last_error;
+ +
+
96
+
+
97typedef struct
+
98{
+
99 uint8_t mode;
+
100 uint8_t motionState;
+
101
+
102 int16_t pulseEncoder;
+
103 int16_t currentPwm;
+
104 int16_t targetPwm;
+
105 int16_t previousPwm;
+
106
+
107 float currentSpeed;
+
108 float targetSpeed;
+
109 float previousSpeed;
+
110 float ratio;
+
111
+
112 long currentPos;
+
113 long targetPos;
+
114 long previousPos;
+
115 long pulsePos;
+
116
+
117 PID_internal PID_speed;
+
118 PID_internal PID_pos;
+ +
+
120
+
+
121typedef struct
+
122{
+
123 uint8_t port_A; //INT
+
124 uint8_t port_B; //DIR
+
125 uint8_t port_PWM; //PWM
+
126 uint8_t port_H1;
+
127 uint8_t port_H2;
+ +
+
129
+
130extern Encoder_port_type encoder_Port[6]; // encoder_Port[0] is nonsense
+
131typedef void (*cb)(int16_t,int16_t);
+
132
+
+ +
139{
+
140public:
+ +
148
+
154 MeEncoderOnBoard(int slot);
+
155
+
170 void reset(uint8_t slot);
+
171
+
186 uint8_t getSlotNum(void) const;
+
187
+
202 uint8_t getIntNum(void) const;
+
203
+
218 uint8_t getPortA(void) const;
+
219
+
234 uint8_t getPortB(void) const;
+
235
+
250 long getPulsePos(void) const;
+
251
+
267 void setPulsePos(long pulse_pos);
+
268
+
283 void pulsePosPlus(void);
+
284
+
299 void pulsePosMinus(void);
+
300
+
315 void setCurrentSpeed(float speed);
+
316
+
331 float getCurrentSpeed(void) const;
+
332
+
347 int16_t getCurPwm(void) const;
+
348
+
363 void setTarPWM(int16_t pwm_value);
+
364
+
379 void setMotorPwm(int16_t pwm);
+
380
+
395 void updateSpeed(void);
+
396
+
411 void updateCurPos(void);
+
412
+
427 long getCurPos(void) const;
+
428
+
443 void runSpeed(float speed);
+
444
+
460 void setSpeed(float speed);
+
461
+
482 void move(long position,float speed = 100,int16_t extId=0,cb callback=NULL);
+
483
+
504 void moveTo(long position,float speed = 100,int16_t extId=0,cb callback=NULL);
+
505
+
521 long distanceToGo() const;
+
522
+
541 void setSpeedPid(float p,float i,float d);
+
542
+
561 void setPosPid(float p,float i,float d);
+
562
+
577 void setPulse(int16_t pulseValue);
+
578
+
593 void setRatio(float RatioValue);
+
594
+
609 void setMotionMode(int16_t motionMode);
+
610
+
625 int16_t pidPositionToPwm(void);
+
626
+
641 int16_t speedWithoutPos(void);
+
642
+
657 void encoderMove(void);
+
658
+
673 void pwmMove(void);
+
674
+
690 boolean isTarPosReached(void) const;
+
691
+
706 void loop(void);
+
707
+
708private:
+
709 volatile Me_Encoder_type encode_structure;
+
710 boolean _Lock_flag;
+
711 boolean _Dir_lock_flag;
+
712 boolean _Callback_flag;
+
713 uint8_t _extId;
+
714 uint8_t _Port_A;
+
715 uint8_t _Port_B;
+
716 uint8_t _Port_PWM;
+
717 uint8_t _Port_H1;
+
718 uint8_t _Port_H2;
+
719 uint8_t _IntNum;
+
720 uint8_t _Slot;
+
721 int16_t _Encoder_output;
+
722 long _Measurement_speed_time;
+
723 long _Encoder_move_time;
+
724 bool _enabled;
+
725 cb _callback;
+
726};
+
+
727#endif
+
728
+
729
+
730
+
Driver for Encoder module on MeAuriga and MeMegaPi.
Definition MeEncoderOnBoard.h:139
+
void setMotionMode(int16_t motionMode)
Definition MeEncoderOnBoard.cpp:791
+
boolean isTarPosReached(void) const
Definition MeEncoderOnBoard.cpp:1039
+
long getCurPos(void) const
Definition MeEncoderOnBoard.cpp:554
+
uint8_t getIntNum(void) const
Definition MeEncoderOnBoard.cpp:252
+
void setCurrentSpeed(float speed)
Definition MeEncoderOnBoard.cpp:386
+
void moveTo(long position, float speed=100, int16_t extId=0, cb callback=NULL)
Definition MeEncoderOnBoard.cpp:649
+
int16_t speedWithoutPos(void)
Definition MeEncoderOnBoard.cpp:926
+
void setMotorPwm(int16_t pwm)
Definition MeEncoderOnBoard.cpp:463
+
void setPulsePos(long pulse_pos)
Definition MeEncoderOnBoard.cpp:329
+
void loop(void)
Definition MeEncoderOnBoard.cpp:1058
+
uint8_t getPortB(void) const
Definition MeEncoderOnBoard.cpp:290
+
void pulsePosPlus(void)
Definition MeEncoderOnBoard.cpp:348
+
void setTarPWM(int16_t pwm_value)
Definition MeEncoderOnBoard.cpp:443
+
void setSpeedPid(float p, float i, float d)
Definition MeEncoderOnBoard.cpp:707
+
uint8_t getPortA(void) const
Definition MeEncoderOnBoard.cpp:271
+
long distanceToGo() const
Definition MeEncoderOnBoard.cpp:684
+
void updateSpeed(void)
Definition MeEncoderOnBoard.cpp:508
+
void pulsePosMinus(void)
Definition MeEncoderOnBoard.cpp:367
+
float getCurrentSpeed(void) const
Definition MeEncoderOnBoard.cpp:405
+
void setSpeed(float speed)
Definition MeEncoderOnBoard.cpp:596
+
void runSpeed(float speed)
Definition MeEncoderOnBoard.cpp:573
+
uint8_t getSlotNum(void) const
Definition MeEncoderOnBoard.cpp:233
+
void setRatio(float RatioValue)
Definition MeEncoderOnBoard.cpp:772
+
void pwmMove(void)
Definition MeEncoderOnBoard.cpp:1011
+
int16_t getCurPwm(void) const
Definition MeEncoderOnBoard.cpp:424
+
int16_t pidPositionToPwm(void)
Definition MeEncoderOnBoard.cpp:810
+
void updateCurPos(void)
Definition MeEncoderOnBoard.cpp:534
+
long getPulsePos(void) const
Definition MeEncoderOnBoard.cpp:309
+
void setPosPid(float p, float i, float d)
Definition MeEncoderOnBoard.cpp:732
+
void reset(uint8_t slot)
Definition MeEncoderOnBoard.cpp:168
+
void setPulse(int16_t pulseValue)
Definition MeEncoderOnBoard.cpp:753
+
void move(long position, float speed=100, int16_t extId=0, cb callback=NULL)
Definition MeEncoderOnBoard.cpp:623
+
void encoderMove(void)
Definition MeEncoderOnBoard.cpp:979
+
MeEncoderOnBoard()
Definition MeEncoderOnBoard.cpp:92
+
Definition MeEncoderOnBoard.h:122
+
Definition MeEncoderOnBoard.h:98
+
Definition MeEncoderOnBoard.h:92
+
+
+ + + + diff --git a/doc/html/_me_flame_sensor_8cpp.html b/doc/html/_me_flame_sensor_8cpp.html new file mode 100644 index 00000000..ae334067 --- /dev/null +++ b/doc/html/_me_flame_sensor_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MeFlameSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeFlameSensor.cpp File Reference
+
+
+ +

Driver for Me flame snesor device. +More...

+
#include "MeFlameSensor.h"
+
+Include dependency graph for MeFlameSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me flame snesor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for flame snesor device.
+
Method List:
+
    +
  1. void MeFlameSensor::setpin(uint8_t digital_pin,uint8_t analog_pin)
  2. +
  3. uint8_t MeFlameSensor::readDigital(void)
  4. +
  5. int16_t MeFlameSensor::readAnalog(void)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_flame_sensor_8cpp__incl.map b/doc/html/_me_flame_sensor_8cpp__incl.map new file mode 100644 index 00000000..5ea926bb --- /dev/null +++ b/doc/html/_me_flame_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_flame_sensor_8cpp__incl.md5 b/doc/html/_me_flame_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..7442e35a --- /dev/null +++ b/doc/html/_me_flame_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +f18c91daf64bcc6ec90c9d8e139c36f2 \ No newline at end of file diff --git a/doc/html/_me_flame_sensor_8cpp__incl.png b/doc/html/_me_flame_sensor_8cpp__incl.png new file mode 100644 index 00000000..81394ac6 Binary files /dev/null and b/doc/html/_me_flame_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_flame_sensor_8h.html b/doc/html/_me_flame_sensor_8h.html new file mode 100644 index 00000000..c135c053 --- /dev/null +++ b/doc/html/_me_flame_sensor_8h.html @@ -0,0 +1,235 @@ + + + + + + + +MakeBlock Drive Updated: src/MeFlameSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeFlameSensor.h File Reference
+
+
+ +

Header for MeFlameSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeFlameSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeFlameSensor
 Driver for Me flame snesor device. More...
 
+ + + + + +

+Macros

+#define Fire   (0x00)
 
+#define NoFire   (0x01)
 
+

Detailed Description

+

Header for MeFlameSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for flame snesor device.
+
Method List:
+
    +
  1. void MeFlameSensor::setpin(uint8_t digital_pin,uint8_t analog_pin)
  2. +
  3. uint8_t MeFlameSensor::readDigital(void)
  4. +
  5. int16_t MeFlameSensor::readAnalog(void)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_flame_sensor_8h.js b/doc/html/_me_flame_sensor_8h.js new file mode 100644 index 00000000..3b9168d1 --- /dev/null +++ b/doc/html/_me_flame_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_flame_sensor_8h = +[ + [ "MeFlameSensor", "class_me_flame_sensor.html", "class_me_flame_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_flame_sensor_8h__dep__incl.map b/doc/html/_me_flame_sensor_8h__dep__incl.map new file mode 100644 index 00000000..381ae8b2 --- /dev/null +++ b/doc/html/_me_flame_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_flame_sensor_8h__dep__incl.md5 b/doc/html/_me_flame_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..bdee3aaa --- /dev/null +++ b/doc/html/_me_flame_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +7a74b643f4214c40cdfc71c0e494031f \ No newline at end of file diff --git a/doc/html/_me_flame_sensor_8h__dep__incl.png b/doc/html/_me_flame_sensor_8h__dep__incl.png new file mode 100644 index 00000000..a9eed6e7 Binary files /dev/null and b/doc/html/_me_flame_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_flame_sensor_8h__incl.map b/doc/html/_me_flame_sensor_8h__incl.map new file mode 100644 index 00000000..f1a9fc2a --- /dev/null +++ b/doc/html/_me_flame_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_flame_sensor_8h__incl.md5 b/doc/html/_me_flame_sensor_8h__incl.md5 new file mode 100644 index 00000000..61ed1d7f --- /dev/null +++ b/doc/html/_me_flame_sensor_8h__incl.md5 @@ -0,0 +1 @@ +c28abf312952f1b87f16e819df547fbf \ No newline at end of file diff --git a/doc/html/_me_flame_sensor_8h__incl.png b/doc/html/_me_flame_sensor_8h__incl.png new file mode 100644 index 00000000..503881b2 Binary files /dev/null and b/doc/html/_me_flame_sensor_8h__incl.png differ diff --git a/doc/html/_me_flame_sensor_8h_source.html b/doc/html/_me_flame_sensor_8h_source.html new file mode 100644 index 00000000..62472241 --- /dev/null +++ b/doc/html/_me_flame_sensor_8h_source.html @@ -0,0 +1,161 @@ + + + + + + + +MakeBlock Drive Updated: src/MeFlameSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeFlameSensor.h
+
+
+Go to the documentation of this file.
1
+
40#ifndef MeFlameSensor_H
+
41#define MeFlameSensor_H
+
42
+
43#include <stdint.h>
+
44#include <stdbool.h>
+
45#include <Arduino.h>
+
46#include "MeConfig.h"
+
47
+
48
+
49#ifdef ME_PORT_DEFINED
+
50#include "MePort.h"
+
51#endif // ME_PORT_DEFINED
+
52
+
53#define Fire (0x00)
+
54#define NoFire (0x01)
+
55
+
61#ifndef ME_PORT_DEFINED
+
62class MeFlameSensor
+
63#else // !ME_PORT_DEFINED
+
+
64class MeFlameSensor : public MePort
+
65#endif // !ME_PORT_DEFINED
+
66{
+
67public:
+
68#ifdef ME_PORT_DEFINED
+
75 MeFlameSensor(void);
+
76
+
82 MeFlameSensor(uint8_t port);
+
83#else //ME_PORT_DEFINED
+
84 MeFlameSensor(uint8_t digital_pin,uint8_t analog_pin);
+
85#endif // ME_PORT_DEFINED
+
102 void setpin(uint8_t digital_pin,uint8_t analog_pin);
+
117 uint8_t readDigital(void);
+
118
+
131 int16_t readAnalog(void);
+
132private:
+
133 volatile uint8_t _digital_pin;
+
134 volatile uint8_t _analog_pin;
+
135};
+
+
136#endif
+
137
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me flame snesor device.
Definition MeFlameSensor.h:66
+
uint8_t readDigital(void)
Definition MeFlameSensor.cpp:120
+
int16_t readAnalog(void)
Definition MeFlameSensor.cpp:141
+
MeFlameSensor(void)
Definition MeFlameSensor.cpp:49
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_flame_sensor_test_8ino-example.html b/doc/html/_me_flame_sensor_test_8ino-example.html new file mode 100644 index 00000000..29c63df7 --- /dev/null +++ b/doc/html/_me_flame_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeFlameSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeFlameSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_gas_sensor_8cpp.html b/doc/html/_me_gas_sensor_8cpp.html new file mode 100644 index 00000000..96dd98e2 --- /dev/null +++ b/doc/html/_me_gas_sensor_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGasSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGasSensor.cpp File Reference
+
+
+ +

Driver for Me gas snesor device. +More...

+
#include "MeGasSensor.h"
+
+Include dependency graph for MeGasSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me gas snesor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for gas snesor device.
+
Method List:
+
    +
  1. void MeGasSensor::setpin(uint8_t digital_pin,uint8_t analog_pin)
  2. +
  3. uint8_t MeGasSensor::readDigital(void)
  4. +
  5. int16_t MeGasSensor::readAnalog(void)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_gas_sensor_8cpp__incl.map b/doc/html/_me_gas_sensor_8cpp__incl.map new file mode 100644 index 00000000..c01cbb2e --- /dev/null +++ b/doc/html/_me_gas_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gas_sensor_8cpp__incl.md5 b/doc/html/_me_gas_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..5e0cb777 --- /dev/null +++ b/doc/html/_me_gas_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +93c9316f5c3f506e0da8e962ed143c04 \ No newline at end of file diff --git a/doc/html/_me_gas_sensor_8cpp__incl.png b/doc/html/_me_gas_sensor_8cpp__incl.png new file mode 100644 index 00000000..69b8a295 Binary files /dev/null and b/doc/html/_me_gas_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_gas_sensor_8h.html b/doc/html/_me_gas_sensor_8h.html new file mode 100644 index 00000000..2286a38f --- /dev/null +++ b/doc/html/_me_gas_sensor_8h.html @@ -0,0 +1,235 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGasSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeGasSensor.h File Reference
+
+
+ +

Header for MeGasSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeGasSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeGasSensor
 Driver for Me gas snesor device. More...
 
+ + + + + +

+Macros

+#define Gas_Exceeded   (0x00)
 
+#define Gas_not_Exceeded   (0x01)
 
+

Detailed Description

+

Header for MeGasSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for gas snesor device.
+
Method List:
+
    +
  1. void MeGasSensor::setpin(uint8_t digital_pin,uint8_t analog_pin)
  2. +
  3. uint8_t MeGasSensor::readDigital(void)
  4. +
  5. int16_t MeGasSensor::readAnalog(void)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_gas_sensor_8h.js b/doc/html/_me_gas_sensor_8h.js new file mode 100644 index 00000000..4c912da1 --- /dev/null +++ b/doc/html/_me_gas_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_gas_sensor_8h = +[ + [ "MeGasSensor", "class_me_gas_sensor.html", "class_me_gas_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_gas_sensor_8h__dep__incl.map b/doc/html/_me_gas_sensor_8h__dep__incl.map new file mode 100644 index 00000000..071e6300 --- /dev/null +++ b/doc/html/_me_gas_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gas_sensor_8h__dep__incl.md5 b/doc/html/_me_gas_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..a75568d4 --- /dev/null +++ b/doc/html/_me_gas_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +db6435b06b8a0255fc0e079b34ade37a \ No newline at end of file diff --git a/doc/html/_me_gas_sensor_8h__dep__incl.png b/doc/html/_me_gas_sensor_8h__dep__incl.png new file mode 100644 index 00000000..c933239e Binary files /dev/null and b/doc/html/_me_gas_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_gas_sensor_8h__incl.map b/doc/html/_me_gas_sensor_8h__incl.map new file mode 100644 index 00000000..ec84b22a --- /dev/null +++ b/doc/html/_me_gas_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gas_sensor_8h__incl.md5 b/doc/html/_me_gas_sensor_8h__incl.md5 new file mode 100644 index 00000000..905cc795 --- /dev/null +++ b/doc/html/_me_gas_sensor_8h__incl.md5 @@ -0,0 +1 @@ +ed4757a04fb8b867249cda89a9859a79 \ No newline at end of file diff --git a/doc/html/_me_gas_sensor_8h__incl.png b/doc/html/_me_gas_sensor_8h__incl.png new file mode 100644 index 00000000..0a32fc79 Binary files /dev/null and b/doc/html/_me_gas_sensor_8h__incl.png differ diff --git a/doc/html/_me_gas_sensor_8h_source.html b/doc/html/_me_gas_sensor_8h_source.html new file mode 100644 index 00000000..ec181c05 --- /dev/null +++ b/doc/html/_me_gas_sensor_8h_source.html @@ -0,0 +1,162 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGasSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGasSensor.h
+
+
+Go to the documentation of this file.
1
+
39#ifndef MeGasSensor_H
+
40#define MeGasSensor_H
+
41
+
42#include <stdint.h>
+
43#include <stdbool.h>
+
44#include <Arduino.h>
+
45#include "MeConfig.h"
+
46
+
47
+
48#ifdef ME_PORT_DEFINED
+
49#include "MePort.h"
+
50#endif // ME_PORT_DEFINED
+
51
+
52#define Gas_Exceeded (0x00)
+
53#define Gas_not_Exceeded (0x01)
+
54
+
60#ifndef ME_PORT_DEFINED
+
61class MeGasSensor
+
62#else // !ME_PORT_DEFINED
+
+
63class MeGasSensor : public MePort
+
64#endif // !ME_PORT_DEFINED
+
65{
+
66public:
+
67#ifdef ME_PORT_DEFINED
+
74 MeGasSensor(void);
+
75
+
81 MeGasSensor(uint8_t port);
+
82#else // ME_PORT_DEFINED
+
91 MeGasSensor(uint8_t digital_pin,uint8_t analog_pin)
+
92#endif // ME_PORT_DEFINED
+
109 void setpin(uint8_t digital_pin,uint8_t analog_pin);
+
110
+
125 uint8_t readDigital(void);
+
126
+
139 int16_t readAnalog(void);
+
140private:
+
141 volatile uint8_t _digital_pin;
+
142 volatile uint8_t _analog_pin;
+
143};
+
+
144#endif
+
145
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me gas snesor device.
Definition MeGasSensor.h:65
+
MeGasSensor(void)
Definition MeGasSensor.cpp:49
+
int16_t readAnalog(void)
Definition MeGasSensor.cpp:142
+
uint8_t readDigital(void)
Definition MeGasSensor.cpp:121
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_gas_sensor_test_8ino-example.html b/doc/html/_me_gas_sensor_test_8ino-example.html new file mode 100644 index 00000000..07509f1e --- /dev/null +++ b/doc/html/_me_gas_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeGasSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGasSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_gyro_8cpp.html b/doc/html/_me_gyro_8cpp.html new file mode 100644 index 00000000..bb6aa248 --- /dev/null +++ b/doc/html/_me_gyro_8cpp.html @@ -0,0 +1,200 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGyro.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGyro.cpp File Reference
+
+
+ +

Driver for MeGyro module. +More...

+
#include "MeGyro.h"
+
+Include dependency graph for MeGyro.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for MeGyro module.

+
Author
MakeBlock
+
Version
V1.0.5
+
Date
2018/01/03
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeGyro module, It supports MeGyro V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeGyro::setpin(uint8_t AD0, uint8_t INT)
  2. +
  3. void MeGyro::begin(void)
  4. +
  5. void MeGyro::update(void)
  6. +
  7. void MeGyro::fast_update(void)
  8. +
  9. uint8_t MeGyro::getDevAddr(void)
  10. +
  11. double MeGyro::getAngleX(void)
  12. +
  13. double MeGyro::getAngleY(void)
  14. +
  15. double MeGyro::getAngleZ(void)
  16. +
  17. double MeGyro::getGyroX(void)
  18. +
  19. double MeGyro::getGyroY(void)
  20. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ Lawrence         2015/09/02          1.0.0         rebuild the old lib.
+ Lawrence         2015/09/10          1.0.1         Added some comments and macros.
+ Mark Yan         2016/03/09          1.0.2         Add function fast_update.
+ Mark Yan         2016/03/09          1.0.3         Add function getGyroX and getGyroY.
+ Leo lu           2017/04/27          1.0.4         fix issue of z-axis output double. getAngle function just return, do not call update anymore.
+ Mark Yan         2018/01/03          1.0.5         Adjust the initialization sequence to optimize the Z-axis drift.
+
+
+
+ + + + diff --git a/doc/html/_me_gyro_8cpp__incl.map b/doc/html/_me_gyro_8cpp__incl.map new file mode 100644 index 00000000..b59c27ac --- /dev/null +++ b/doc/html/_me_gyro_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gyro_8cpp__incl.md5 b/doc/html/_me_gyro_8cpp__incl.md5 new file mode 100644 index 00000000..1a33c802 --- /dev/null +++ b/doc/html/_me_gyro_8cpp__incl.md5 @@ -0,0 +1 @@ +e2b732a8fb292e69d7e8e2dbd7f79e2b \ No newline at end of file diff --git a/doc/html/_me_gyro_8cpp__incl.png b/doc/html/_me_gyro_8cpp__incl.png new file mode 100644 index 00000000..cad6bb5e Binary files /dev/null and b/doc/html/_me_gyro_8cpp__incl.png differ diff --git a/doc/html/_me_gyro_8h.html b/doc/html/_me_gyro_8h.html new file mode 100644 index 00000000..49c5ee85 --- /dev/null +++ b/doc/html/_me_gyro_8h.html @@ -0,0 +1,245 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGyro.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeGyro.h File Reference
+
+
+ +

Header for MeGyro.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeGyro.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeGyro
 Driver for MeGyro module. More...
 
+ + + + + +

+Macros

+#define I2C_ERROR   (-1)
 
+#define GYRO_DEFAULT_ADDRESS   (0x68)
 
+

Detailed Description

+

Header for MeGyro.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/03/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MeGyro module, It supports MeGyro V1.0 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeGyro::setpin(uint8_t AD0, uint8_t INT)
  2. +
  3. void MeGyro::begin(void)
  4. +
  5. void MeGyro::update(void)
  6. +
  7. void MeGyro::fast_update(void)
  8. +
  9. uint8_t MeGyro::getDevAddr(void)
  10. +
  11. double MeGyro::getAngleX(void)
  12. +
  13. double MeGyro::getAngleY(void)
  14. +
  15. double MeGyro::getAngleZ(void)
  16. +
  17. double MeGyro::getGyroX(void)
  18. +
  19. double MeGyro::getGyroY(void)
  20. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ Lawrence         2015/09/02          1.0.0         rebuild the old lib.
+ Lawrence         2015/09/10          1.0.1         Added some comments and macros.
+ Mark Yan         2016/03/09          1.0.2         Add function fast_update.
+ Mark Yan         2016/03/09          1.0.3         Add function getGyroX and getGyroY.
+
+
+
+ + + + diff --git a/doc/html/_me_gyro_8h.js b/doc/html/_me_gyro_8h.js new file mode 100644 index 00000000..c88c5af4 --- /dev/null +++ b/doc/html/_me_gyro_8h.js @@ -0,0 +1,4 @@ +var _me_gyro_8h = +[ + [ "MeGyro", "class_me_gyro.html", "class_me_gyro" ] +]; \ No newline at end of file diff --git a/doc/html/_me_gyro_8h__dep__incl.map b/doc/html/_me_gyro_8h__dep__incl.map new file mode 100644 index 00000000..dd8df82b --- /dev/null +++ b/doc/html/_me_gyro_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gyro_8h__dep__incl.md5 b/doc/html/_me_gyro_8h__dep__incl.md5 new file mode 100644 index 00000000..43cc939c --- /dev/null +++ b/doc/html/_me_gyro_8h__dep__incl.md5 @@ -0,0 +1 @@ +7d699f6a54e16209f520d21256f1bcf7 \ No newline at end of file diff --git a/doc/html/_me_gyro_8h__dep__incl.png b/doc/html/_me_gyro_8h__dep__incl.png new file mode 100644 index 00000000..4b176c95 Binary files /dev/null and b/doc/html/_me_gyro_8h__dep__incl.png differ diff --git a/doc/html/_me_gyro_8h__incl.map b/doc/html/_me_gyro_8h__incl.map new file mode 100644 index 00000000..436c13bc --- /dev/null +++ b/doc/html/_me_gyro_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_gyro_8h__incl.md5 b/doc/html/_me_gyro_8h__incl.md5 new file mode 100644 index 00000000..eff6e2e3 --- /dev/null +++ b/doc/html/_me_gyro_8h__incl.md5 @@ -0,0 +1 @@ +257f0adf539905eddbaf2788466f91c6 \ No newline at end of file diff --git a/doc/html/_me_gyro_8h__incl.png b/doc/html/_me_gyro_8h__incl.png new file mode 100644 index 00000000..074d88b2 Binary files /dev/null and b/doc/html/_me_gyro_8h__incl.png differ diff --git a/doc/html/_me_gyro_8h_source.html b/doc/html/_me_gyro_8h_source.html new file mode 100644 index 00000000..4a2dbd40 --- /dev/null +++ b/doc/html/_me_gyro_8h_source.html @@ -0,0 +1,213 @@ + + + + + + + +MakeBlock Drive Updated: src/MeGyro.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGyro.h
+
+
+Go to the documentation of this file.
1
+
51/* Define to prevent recursive inclusion -------------------------------------*/
+
52#ifndef MeGyro_H
+
53#define MeGyro_H
+
54
+
55/* Includes ------------------------------------------------------------------*/
+
56#include <stdint.h>
+
57#include <stdbool.h>
+
58#include <Arduino.h>
+
59#include "MeConfig.h"
+
60#ifdef ME_PORT_DEFINED
+
61#include "MePort.h"
+
62#endif // ME_PORT_DEFINED
+
63
+
64/* Exported macro ------------------------------------------------------------*/
+
65#define I2C_ERROR (-1)
+
66
+
67#define GYRO_DEFAULT_ADDRESS (0x68)
+
68
+
74#ifndef ME_PORT_DEFINED
+
75class MeGyro
+
76#else // !ME_PORT_DEFINED
+
+
77class MeGyro : public MePort
+
78#endif // !ME_PORT_DEFINED
+
79{
+
80public:
+
81#ifdef ME_PORT_DEFINED
+
86 MeGyro(void);
+
87
+
94 MeGyro(uint8_t port);
+
95
+
105 MeGyro(uint8_t port, uint8_t address);
+
106#else
+
115 MeGyro(uint8_t AD0, uint8_t INT);
+
116
+
127 MeGyro(uint8_t AD0, uint8_t INT, uint8_t address);
+
128#endif // ME_PORT_DEFINED
+
145 void setpin(uint8_t AD0, uint8_t INT);
+
146
+
161 void begin();
+
162
+
179 void update(void);
+
180
+
197 void fast_update(void);
+
198
+
213 uint8_t getDevAddr(void) const;
+
214
+
229 double getAngleX(void) const;
+
230
+
245 double getAngleY(void) const;
+
246
+
261 double getAngleZ(void) const;
+
262
+
277 double getGyroX(void) const;
+
278
+
293 double getGyroY(void) const;
+
294
+
309 double getGyroZ(void) const;
+
310
+
325 double getAngle(uint8_t index) const;
+
326
+
343 void resetData(void);
+
344
+
345private:
+
346 volatile uint8_t _AD0;
+
347 volatile uint8_t _INT;
+
348 double gSensitivity; /* for 500 deg/s, check data sheet */
+
349 double gx, gy, gz;
+
350 double gyrX, gyrY, gyrZ;
+
351 int16_t accX, accY, accZ;
+
352 double gyrXoffs, gyrYoffs, gyrZoffs;
+
353 uint8_t i2cData[14];
+
354 uint8_t Device_Address;
+
355
+
371 void deviceCalibration(void);
+
372
+
396 int8_t writeReg(int16_t reg, uint8_t data);
+
397
+
423 int8_t readData(uint8_t start, uint8_t *buffer, uint8_t size);
+
424
+
450 int8_t writeData(uint8_t start, const uint8_t *pData, uint8_t size);
+
451};
+
+
452#endif // MeGyro_H
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for MeGyro module.
Definition MeGyro.h:79
+
void fast_update(void)
Definition MeGyro.cpp:276
+
uint8_t getDevAddr(void) const
Definition MeGyro.cpp:339
+
void resetData(void)
Definition MeGyro.cpp:661
+
double getAngleX(void) const
Definition MeGyro.cpp:358
+
double getGyroY(void) const
Definition MeGyro.cpp:434
+
double getAngleY(void) const
Definition MeGyro.cpp:377
+
MeGyro(void)
Definition MeGyro.cpp:63
+
double getAngle(uint8_t index) const
Definition MeGyro.cpp:472
+
void update(void)
Definition MeGyro.cpp:207
+
double getGyroZ(void) const
Definition MeGyro.cpp:453
+
double getGyroX(void) const
Definition MeGyro.cpp:415
+
void begin()
Definition MeGyro.cpp:166
+
double getAngleZ(void) const
Definition MeGyro.cpp:396
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_gyro_test_8ino-example.html b/doc/html/_me_gyro_test_8ino-example.html new file mode 100644 index 00000000..f245f27d --- /dev/null +++ b/doc/html/_me_gyro_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeGyroTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGyroTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_host_parser_8cpp.html b/doc/html/_me_host_parser_8cpp.html new file mode 100644 index 00000000..d5eb7f3a --- /dev/null +++ b/doc/html/_me_host_parser_8cpp.html @@ -0,0 +1,227 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHostParser.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeHostParser.cpp File Reference
+
+
+ +

Driver for Me Host Parser module. +More...

+
#include "MeHostParser.h"
+
+Include dependency graph for MeHostParser.cpp:
+
+
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + +

+Macros

+#define HEAD   0xA5
 
+#define TAIL   0x5A
 
+#define ST_WAIT_4_START   0x01
 
+#define ST_HEAD_READ   0x02
 
+#define ST_MODULE_READ   0x03
 
+#define ST_LENGTH_READ   0x04
 
+#define ST_DATA_READ   0x05
 
+#define ST_CHECK_READ   0x06
 
+ + + +

+Functions

uint8_t calculateLRC (uint8_t *data, uint32_t length)
 
+

Detailed Description

+

Driver for Me Host Parser module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/11/12
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Host Parser device, The Me Host Parser inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. uint8_t MeHostParser::pushStr(uint8_t * str, uint32_t length);
  2. +
  3. uint8_t MeHostParser::pushByte(uint8_t ch);
  4. +
  5. uint8_t MeHostParser::run();
  6. +
  7. uint8_t MeHostParser::getPackageReady();
  8. +
  9. uint8_t MeHostParser::getData(uint8_t *buf, uint32_t size);
  10. +
  11. void MeHostParser::print(char *str, uint32_t * cnt);
  12. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/12    1.0.0            Add description
+
+

Function Documentation

+ +

◆ calculateLRC()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t calculateLRC (uint8_t * data,
uint32_t length 
)
+
+
Function
calculateLRC
+
Description
To calculate the LRC.
+
Parameters
+ + + +
[in]data- A pointer to data.
[in]length- The length of LRC.
+
+
+
Output
None
+
Return
Return the LRC.
+
Others
None
+ +
+
+
+
+ + + + diff --git a/doc/html/_me_host_parser_8cpp.js b/doc/html/_me_host_parser_8cpp.js new file mode 100644 index 00000000..7dbb9a80 --- /dev/null +++ b/doc/html/_me_host_parser_8cpp.js @@ -0,0 +1,4 @@ +var _me_host_parser_8cpp = +[ + [ "calculateLRC", "_me_host_parser_8cpp.html#a59acdd9a3bd91179b07a28853591e88d", null ] +]; \ No newline at end of file diff --git a/doc/html/_me_host_parser_8cpp__incl.map b/doc/html/_me_host_parser_8cpp__incl.map new file mode 100644 index 00000000..87c99d76 --- /dev/null +++ b/doc/html/_me_host_parser_8cpp__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_host_parser_8cpp__incl.md5 b/doc/html/_me_host_parser_8cpp__incl.md5 new file mode 100644 index 00000000..3f3a1755 --- /dev/null +++ b/doc/html/_me_host_parser_8cpp__incl.md5 @@ -0,0 +1 @@ +fc09c39669d0535e6b34d1e0064b9a6e \ No newline at end of file diff --git a/doc/html/_me_host_parser_8cpp__incl.png b/doc/html/_me_host_parser_8cpp__incl.png new file mode 100644 index 00000000..beb7bae7 Binary files /dev/null and b/doc/html/_me_host_parser_8cpp__incl.png differ diff --git a/doc/html/_me_host_parser_8h.html b/doc/html/_me_host_parser_8h.html new file mode 100644 index 00000000..2f622705 --- /dev/null +++ b/doc/html/_me_host_parser_8h.html @@ -0,0 +1,181 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHostParser.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeHostParser.h File Reference
+
+
+ +

Header for MeHostParser.cpp module. +More...

+
#include <Arduino.h>
+
+Include dependency graph for MeHostParser.h:
+
+
+ + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeHostParser
 Driver for Me Host Parser module. More...
 
+ + + + + +

+Macros

+#define BUF_SIZE   256
 
+#define MASK   255
 
+

Detailed Description

+

Header for MeHostParser.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/11/12
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Host Parser device, The Me Host Parser inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. uint8_t MeHostParser::pushStr(uint8_t * str, uint32_t length);
  2. +
  3. uint8_t MeHostParser::pushByte(uint8_t ch);
  4. +
  5. uint8_t MeHostParser::run();
  6. +
  7. uint8_t MeHostParser::getPackageReady();
  8. +
  9. uint8_t MeHostParser::getData(uint8_t *buf, uint32_t size);
  10. +
  11. void MeHostParser::print(char *str, uint32_t * cnt);
  12. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/12    1.0.0            Add description
+
+
+
+ + + + diff --git a/doc/html/_me_host_parser_8h.js b/doc/html/_me_host_parser_8h.js new file mode 100644 index 00000000..065a4b3b --- /dev/null +++ b/doc/html/_me_host_parser_8h.js @@ -0,0 +1,4 @@ +var _me_host_parser_8h = +[ + [ "MeHostParser", "class_me_host_parser.html", "class_me_host_parser" ] +]; \ No newline at end of file diff --git a/doc/html/_me_host_parser_8h__dep__incl.map b/doc/html/_me_host_parser_8h__dep__incl.map new file mode 100644 index 00000000..49eddeaf --- /dev/null +++ b/doc/html/_me_host_parser_8h__dep__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_host_parser_8h__dep__incl.md5 b/doc/html/_me_host_parser_8h__dep__incl.md5 new file mode 100644 index 00000000..1d46be4c --- /dev/null +++ b/doc/html/_me_host_parser_8h__dep__incl.md5 @@ -0,0 +1 @@ +33f35048fdac6fdcd68714e663fd1bbc \ No newline at end of file diff --git a/doc/html/_me_host_parser_8h__dep__incl.png b/doc/html/_me_host_parser_8h__dep__incl.png new file mode 100644 index 00000000..a81262bb Binary files /dev/null and b/doc/html/_me_host_parser_8h__dep__incl.png differ diff --git a/doc/html/_me_host_parser_8h__incl.map b/doc/html/_me_host_parser_8h__incl.map new file mode 100644 index 00000000..467f8874 --- /dev/null +++ b/doc/html/_me_host_parser_8h__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_host_parser_8h__incl.md5 b/doc/html/_me_host_parser_8h__incl.md5 new file mode 100644 index 00000000..9acc3e96 --- /dev/null +++ b/doc/html/_me_host_parser_8h__incl.md5 @@ -0,0 +1 @@ +ffd08c62cd7c84b6d8fee4edfc4dbac0 \ No newline at end of file diff --git a/doc/html/_me_host_parser_8h__incl.png b/doc/html/_me_host_parser_8h__incl.png new file mode 100644 index 00000000..a5c4649d Binary files /dev/null and b/doc/html/_me_host_parser_8h__incl.png differ diff --git a/doc/html/_me_host_parser_8h_source.html b/doc/html/_me_host_parser_8h_source.html new file mode 100644 index 00000000..0c1b0ed5 --- /dev/null +++ b/doc/html/_me_host_parser_8h_source.html @@ -0,0 +1,167 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHostParser.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHostParser.h
+
+
+Go to the documentation of this file.
1
+
44#ifndef MeHostParser_h
+
45#define MeHostParser_h
+
46#include <Arduino.h>
+
47#define BUF_SIZE 256
+
48#define MASK 255
+
49
+
+ +
56{
+
57public:
+ +
65
+ +
73
+
90 uint8_t pushStr(uint8_t * str, uint32_t length);
+
91
+
106 uint8_t pushByte(uint8_t ch);
+
107
+
122 uint8_t run();
+
123
+
138 // get the package ready state
+
139 uint8_t getPackageReady();
+
140
+
157 uint8_t getData(uint8_t *buf, uint32_t size);
+
158
+
159 void print(char *str, uint32_t * cnt);
+
160private:
+
161 int state;
+
162 uint8_t buffer[BUF_SIZE];
+
163 uint32_t in;
+
164 uint32_t out;
+
165 uint8_t packageReady;
+
166
+
167 uint8_t module;
+
168 uint32_t length;
+
169 uint8_t *data;
+
170 uint8_t check;
+
171
+
172 uint32_t lengthRead;
+
173 uint32_t currentDataPos;
+
174
+
189 uint8_t getByte(uint8_t * ch);
+
190};
+
+
191
+
192
+
193#endif
+
Driver for Me Host Parser module.
Definition MeHostParser.h:56
+
uint8_t pushStr(uint8_t *str, uint32_t length)
Definition MeHostParser.cpp:125
+
MeHostParser()
Definition MeHostParser.cpp:63
+
uint8_t run()
Definition MeHostParser.cpp:239
+
~MeHostParser()
Definition MeHostParser.cpp:85
+
uint8_t getPackageReady()
Definition MeHostParser.cpp:104
+
uint8_t getData(uint8_t *buf, uint32_t size)
Definition MeHostParser.cpp:365
+
uint8_t pushByte(uint8_t ch)
Definition MeHostParser.cpp:154
+
+
+ + + + diff --git a/doc/html/_me_humiture_sensor_8cpp.html b/doc/html/_me_humiture_sensor_8cpp.html new file mode 100644 index 00000000..d432e679 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8cpp.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHumitureSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHumitureSensor.cpp File Reference
+
+
+ +

Driver for humiture sensor device. +More...

+
#include "MeHumitureSensor.h"
+
+Include dependency graph for MeHumitureSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for humiture sensor device.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/18
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V3 or Commercial:
+
+
Open Source Licensing GPL V3
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 3 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for humiture sensor device, It supports humiture sensor provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeHumiture::setpin(uint8_t port)
  2. +
  3. void MeHumiture::update(void)
  4. +
  5. uint8_t MeHumiture::getHumidity(void)
  6. +
  7. uint8_t MeHumiture::getTemperature(void)
  8. +
  9. uint8_t MeHumiture::getValue(uint8_t index)
  10. +
  11. double MeHumiture::getFahrenheit(void)
  12. +
  13. double MeHumiture::getKelvin(void)
  14. +
  15. double MeHumiture::getdewPoint(void)
  16. +
  17. double MeHumiture::getPointFast()
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08          1.0.0            Rebuild the old lib.
+forfish          2015/11/18          1.0.1            Add some functions.
+lanweiting       2017/07/11          1.0.2            functions update() add delay more time
+
+
+
+ + + + diff --git a/doc/html/_me_humiture_sensor_8cpp__incl.map b/doc/html/_me_humiture_sensor_8cpp__incl.map new file mode 100644 index 00000000..47825b9d --- /dev/null +++ b/doc/html/_me_humiture_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_humiture_sensor_8cpp__incl.md5 b/doc/html/_me_humiture_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..173cb5e6 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +40e80bb6f0e803ec40b6b8d883967647 \ No newline at end of file diff --git a/doc/html/_me_humiture_sensor_8cpp__incl.png b/doc/html/_me_humiture_sensor_8cpp__incl.png new file mode 100644 index 00000000..ced13a23 Binary files /dev/null and b/doc/html/_me_humiture_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_humiture_sensor_8h.html b/doc/html/_me_humiture_sensor_8h.html new file mode 100644 index 00000000..e577fb66 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h.html @@ -0,0 +1,233 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHumitureSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeHumitureSensor.h File Reference
+
+
+ +

Header for for MeHumitureSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeHumitureSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeHumiture
 Driver for humiture sensor device. More...
 
+

Detailed Description

+

Header for for MeHumitureSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/18
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V3 or Commercial:
+
+
Open Source Licensing GPL V3
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 3 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for humiture sensor device, It supports humiture sensor provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeHumiture::setpin(uint8_t port)
  2. +
  3. void MeHumiture::update(void)
  4. +
  5. uint8_t MeHumiture::getHumidity(void)
  6. +
  7. uint8_t MeHumiture::getTemperature(void)
  8. +
  9. uint8_t MeHumiture::getValue(uint8_t index)
  10. +
  11. double MeHumiture::getFahrenheit(void)
  12. +
  13. double MeHumiture::getKelvin(void)
  14. +
  15. double MeHumiture::getdewPoint(void)
  16. +
  17. double MeHumiture::getPointFast()
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08          1.0.0            Rebuild the old lib.
+forfish          2015/11/18          1.0.1            Add some functions.
+lanweiting       2017/07/11          1.0.2            function update() add delay more time
+
+
+
+ + + + diff --git a/doc/html/_me_humiture_sensor_8h.js b/doc/html/_me_humiture_sensor_8h.js new file mode 100644 index 00000000..6cd5a008 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_humiture_sensor_8h = +[ + [ "MeHumiture", "class_me_humiture.html", "class_me_humiture" ] +]; \ No newline at end of file diff --git a/doc/html/_me_humiture_sensor_8h__dep__incl.map b/doc/html/_me_humiture_sensor_8h__dep__incl.map new file mode 100644 index 00000000..b2266f92 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_humiture_sensor_8h__dep__incl.md5 b/doc/html/_me_humiture_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..c3026154 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +df6e9abcc2505b88bd602aaacad84ab7 \ No newline at end of file diff --git a/doc/html/_me_humiture_sensor_8h__dep__incl.png b/doc/html/_me_humiture_sensor_8h__dep__incl.png new file mode 100644 index 00000000..d5720829 Binary files /dev/null and b/doc/html/_me_humiture_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_humiture_sensor_8h__incl.map b/doc/html/_me_humiture_sensor_8h__incl.map new file mode 100644 index 00000000..243ee1ec --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_humiture_sensor_8h__incl.md5 b/doc/html/_me_humiture_sensor_8h__incl.md5 new file mode 100644 index 00000000..47578d17 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h__incl.md5 @@ -0,0 +1 @@ +4c0817460a1f79c5c2cfe04b1ed19a08 \ No newline at end of file diff --git a/doc/html/_me_humiture_sensor_8h__incl.png b/doc/html/_me_humiture_sensor_8h__incl.png new file mode 100644 index 00000000..535c748b Binary files /dev/null and b/doc/html/_me_humiture_sensor_8h__incl.png differ diff --git a/doc/html/_me_humiture_sensor_8h_source.html b/doc/html/_me_humiture_sensor_8h_source.html new file mode 100644 index 00000000..c0712615 --- /dev/null +++ b/doc/html/_me_humiture_sensor_8h_source.html @@ -0,0 +1,181 @@ + + + + + + + +MakeBlock Drive Updated: src/MeHumitureSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHumitureSensor.h
+
+
+Go to the documentation of this file.
1
+
47#ifndef MeHumitureSensor_H
+
48#define MeHumitureSensor_H
+
49
+
50#include <stdint.h>
+
51#include <stdbool.h>
+
52#include <Arduino.h>
+
53#include "MeConfig.h"
+
54
+
55#ifdef ME_PORT_DEFINED
+
56#include "MePort.h"
+
57#endif // ME_PORT_DEFINED
+
58
+
64#ifndef ME_PORT_DEFINED
+
65class MeHumiture
+
66#else // !ME_PORT_DEFINED
+
+
67class MeHumiture : public MePort
+
68#endif // !ME_PORT_DEFINED
+
69{
+
70public:
+
71#ifdef ME_PORT_DEFINED
+
78 MeHumiture(void);
+
79
+
86 MeHumiture(uint8_t port);
+
87#else // ME_PORT_DEFINED
+
102 MeHumiture(uint8_t port);
+
103#endif // ME_PORT_DEFINED
+
104
+
119 void setpin(uint8_t port);
+
120
+
133 void update(void);
+
134
+
147 uint8_t getHumidity(void);
+
148
+
161 uint8_t getTemperature(void);
+
162
+
178 uint8_t getValue(uint8_t index);
+
179
+
194 double getFahrenheit(void);//Celsius degrees to Fahrenheit
+
195
+
210 double getKelvin(void);
+
211
+
228 double getdewPoint(void);
+
229
+
246 double getPointFast(void);
+
247
+
248private:
+
249 uint8_t Humidity;
+
250 uint8_t Temperature;
+
251 uint8_t _DataPin;
+
252};
+
+
253
+
254#endif
+
255
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for humiture sensor device.
Definition MeHumitureSensor.h:69
+
uint8_t getValue(uint8_t index)
Definition MeHumitureSensor.cpp:320
+
MeHumiture(void)
Definition MeHumitureSensor.cpp:94
+
double getFahrenheit(void)
Definition MeHumitureSensor.cpp:346
+
void setpin(uint8_t port)
Definition MeHumitureSensor.cpp:144
+
uint8_t getTemperature(void)
Definition MeHumitureSensor.cpp:300
+
uint8_t getHumidity(void)
Definition MeHumitureSensor.cpp:283
+
void update(void)
Definition MeHumitureSensor.cpp:162
+
double getPointFast(void)
Definition MeHumitureSensor.cpp:416
+
double getKelvin(void)
Definition MeHumitureSensor.cpp:366
+
double getdewPoint(void)
Definition MeHumitureSensor.cpp:387
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_humiture_sensor_test1_8ino-example.html b/doc/html/_me_humiture_sensor_test1_8ino-example.html new file mode 100644 index 00000000..19e68605 --- /dev/null +++ b/doc/html/_me_humiture_sensor_test1_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeHumitureSensorTest1.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHumitureSensorTest1.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_humiture_sensor_test2_8ino-example.html b/doc/html/_me_humiture_sensor_test2_8ino-example.html new file mode 100644 index 00000000..6e74a27b --- /dev/null +++ b/doc/html/_me_humiture_sensor_test2_8ino-example.html @@ -0,0 +1,133 @@ + + + + + + + +MakeBlock Drive Updated: MeHumitureSensorTest2.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHumitureSensorTest2.ino
+
+
+

DERIVED FROM /*#################################################################### FILE: dht11.cpp VERSION: 0.4.5 PURPOSE: DHT11 Temperature & Humidity Sensor library for Arduino LICENSE: GPL v3 (http://www.gnu.org/licenses/gpl.html) DATASHEET: http://feed.virtuabotix.com/wp-content/uploads/2011/11/DHT11.pdf GET UPDATES: http://feed.virtuabotix.com/?239 –##–##–##–##–##–##–##–##–##–##–
+

+

+autotoc_md0

+

+autotoc_md1

+

| ## ## ## ## ## ## ## ## ## ## |

+

+autotoc_md2

+

+autotoc_md3

+

| ## ## ## ## ## ## ## ## ## ## |

+

+## ## ## DHT11 SENSOR

+

+## ## ## ##FRONT

+

| ## ## ## ## ## ## ## ## ## ## |

+

+autotoc_md6

+

+autotoc_md7

+

| ## ## ## ## ## ## ## ## ## ## |

+

+autotoc_md8

+

+autotoc_md9

+

–##–##–##–##–##–##–##–##–##–##– || || || (Not || || || || Used) || VDD(5V) Readout(I/O) Ground

+

HISTORY: Mod by Joseph Dattilo (Virtuabotix LLC) - Version 0.4.5 (11/11/11) Mod by Joseph Dattilo (Virtuabotix LLC) - Version 0.4.0 (06/11/11) Mod by Rob Tillaart - Version 0.3 (28/03/2011) Mod by SimKard - Version 0.2 (24/11/2010) George Hadjikyriacou - Original version (??)

+
+
+ + + + diff --git a/doc/html/_me_i_r_8cpp.html b/doc/html/_me_i_r_8cpp.html new file mode 100644 index 00000000..b106056d --- /dev/null +++ b/doc/html/_me_i_r_8cpp.html @@ -0,0 +1,153 @@ + + + + + + + +MakeBlock Drive Updated: src/MeIR.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeIR.cpp File Reference
+
+
+ +

Driver for Me IR module. +More...

+

Detailed Description

+

Driver for Me IR module.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2015/11/16
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me IR device, The IR inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. ErrorStatus MeIR::decode();
  2. +
  3. void MeIR::begin();
  4. +
  5. void MeIR::end();
  6. +
  7. void MeIR::loop();
  8. +
  9. boolean MeIR::keyPressed(unsigned char r);
  10. +
  11. String MeIR::getString();
  12. +
  13. unsigned char MeIR::getCode()
  14. +
  15. void MeIR::sendString(String s);
  16. +
  17. void MeIR::sendString(float v);
  18. +
  19. void MeIR::sendNEC(unsigned long data, int nbits);
  20. +
  21. void MeIR::sendRaw(unsigned int buf[], int len, uint8_t hz);
  22. +
  23. void MeIR::enableIROut(uint8_t khz);
  24. +
  25. void MeIR::enableIRIn();
  26. +
  27. void MeIR::mark(uint16_t us);
  28. +
  29. void MeIR::space(uint16_t us);
  30. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/10/09     1.0.0            Bulid the new.
+Mark Yan        2015/10/29     1.0.1            Fix minor errors on format.
+Mark Yan        2015/11/02     1.0.2            Fix bug that IRsend and IRreceive can't work at the same time.
+forfish         2015/11/09     1.0.3            Add description.
+Mark Yan        2015/11/16     1.0.4            add data recovery when timeout.
+Nick b          2023/12/05     1.0.5            Added an ignore define to allow the IR to be disabled.
+
+
+
+ + + + diff --git a/doc/html/_me_i_r_8h.html b/doc/html/_me_i_r_8h.html new file mode 100644 index 00000000..d4ea64db --- /dev/null +++ b/doc/html/_me_i_r_8h.html @@ -0,0 +1,417 @@ + + + + + + + +MakeBlock Drive Updated: src/MeIR.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeIR.h File Reference
+
+
+ +

Header for MeIR.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeIR.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  irparams_t
 
class  MeIR
 Driver for Me IR module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define MARK   0
 
+#define SPACE   1
 
+#define NEC_BITS   32
 
+#define USECPERTICK   50
 
+#define RAWBUF   100
 
+#define NEC_HDR_MARK   9000
 
+#define NEC_HDR_SPACE   4500
 
+#define NEC_BIT_MARK   560
 
+#define NEC_ONE_SPACE   1600
 
+#define NEC_ZERO_SPACE   560
 
+#define NEC_RPT_SPACE   2250
 
+#define NEC_RPT_PERIOD   110000
 
+#define _GAP   5000
 
+#define STATE_IDLE   2
 
+#define STATE_MARK   3
 
+#define STATE_SPACE   4
 
+#define STATE_STOP   5
 
+#define NEC   1
 
+#define SONY   2
 
+#define RC5   3
 
+#define RC6   4
 
+#define DISH   5
 
+#define SHARP   6
 
+#define PANASONIC   7
 
+#define JVC   8
 
+#define SANYO   9
 
+#define MITSUBISHI   10
 
+#define SAMSUNG   11
 
+#define LG   12
 
+#define UNKNOWN   -1
 
+#define TOPBIT   0x80000000
 
+#define SYSCLOCK   16000000
 
+#define _GAP   5000
 
+#define GAP_TICKS   (_GAP/USECPERTICK)
 
+#define TIMER_DISABLE_INTR   (TIMSK2 = 0)
 
+#define TIMER_ENABLE_PWM   (TCCR2A |= _BV(COM2B1))
 
+#define TIMER_DISABLE_PWM   (TCCR2A &= ~(_BV(COM2B1)))
 
+#define TIMER_ENABLE_INTR   (TIMSK2 = _BV(OCIE2A))
 
+#define TIMER_DISABLE_INTR   (TIMSK2 = 0)
 
+#define TIMER_INTR_NAME   TIMER2_COMPA_vect
 
#define TIMER_CONFIG_KHZ(val)
 
+#define TIMER_COUNT_TOP   (SYSCLOCK * USECPERTICK / 1000000)
 
#define TIMER_CONFIG_NORMAL()
 
+ + + +

+Enumerations

enum  ErrorStatus { ERROR = 0 +, SUCCESS = !ERROR + }
 
+

Detailed Description

+

Header for MeIR.cpp module.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2015/11/16
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me IR device, The IR inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. ErrorStatus MeIR::decode();
  2. +
  3. void MeIR::begin();
  4. +
  5. void MeIR::end();
  6. +
  7. void MeIR::loop();
  8. +
  9. boolean MeIR::keyPressed(unsigned char r);
  10. +
  11. String MeIR::getString();
  12. +
  13. unsigned char MeIR::getCode()
  14. +
  15. void MeIR::sendString(String s);
  16. +
  17. void MeIR::sendString(float v);
  18. +
  19. void MeIR::sendNEC(unsigned long data, int nbits);
  20. +
  21. void MeIR::sendRaw(unsigned int buf[], int len, uint8_t hz);
  22. +
  23. void MeIR::enableIROut(uint8_t khz);
  24. +
  25. void MeIR::enableIRIn();
  26. +
  27. void MeIR::mark(uint16_t us);
  28. +
  29. void MeIR::space(uint16_t us);
  30. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/10/09     1.0.0            Bulid the new.
+Mark Yan        2015/10/29     1.0.1            Fix minor errors on format.
+Mark Yan        2015/11/02     1.0.2            Fix bug that IRsend and IRreceive can't work at the same time.
+forfish         2015/11/09     1.0.3            Add description.
+Mark Yan        2015/11/16     1.0.4            add data recovery when timeout.
+
+

Macro Definition Documentation

+ +

◆ TIMER_CONFIG_KHZ

+ +
+
+ + + + + + + + +
#define TIMER_CONFIG_KHZ( val)
+
+Value:
({ \
+
const uint8_t pwmval = F_CPU / 2000 / (val); \
+
TCCR2A = _BV(WGM20); \
+
TCCR2B = _BV(WGM22) | _BV(CS20); \
+
OCR2A = pwmval; \
+
OCR2B = pwmval / 3; \
+
})
+
+
+
+ +

◆ TIMER_CONFIG_NORMAL

+ +
+
+ + + + + + + +
#define TIMER_CONFIG_NORMAL()
+
+Value:
({ \
+
TCCR2A = _BV(WGM21); \
+
TCCR2B = _BV(CS21); \
+
OCR2A = TIMER_COUNT_TOP / 8; \
+
TCNT2 = 0; \
+
})
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_i_r_8h.js b/doc/html/_me_i_r_8h.js new file mode 100644 index 00000000..73754f57 --- /dev/null +++ b/doc/html/_me_i_r_8h.js @@ -0,0 +1,5 @@ +var _me_i_r_8h = +[ + [ "irparams_t", "structirparams__t.html", null ], + [ "MeIR", "class_me_i_r.html", "class_me_i_r" ] +]; \ No newline at end of file diff --git a/doc/html/_me_i_r_8h__dep__incl.map b/doc/html/_me_i_r_8h__dep__incl.map new file mode 100644 index 00000000..b2eb8fa5 --- /dev/null +++ b/doc/html/_me_i_r_8h__dep__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_i_r_8h__dep__incl.md5 b/doc/html/_me_i_r_8h__dep__incl.md5 new file mode 100644 index 00000000..9fa81a2f --- /dev/null +++ b/doc/html/_me_i_r_8h__dep__incl.md5 @@ -0,0 +1 @@ +45750a7ca0b286dc6fa1ea4d09d135c5 \ No newline at end of file diff --git a/doc/html/_me_i_r_8h__dep__incl.png b/doc/html/_me_i_r_8h__dep__incl.png new file mode 100644 index 00000000..7d8712d2 Binary files /dev/null and b/doc/html/_me_i_r_8h__dep__incl.png differ diff --git a/doc/html/_me_i_r_8h__incl.map b/doc/html/_me_i_r_8h__incl.map new file mode 100644 index 00000000..52e90786 --- /dev/null +++ b/doc/html/_me_i_r_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_i_r_8h__incl.md5 b/doc/html/_me_i_r_8h__incl.md5 new file mode 100644 index 00000000..27ebea19 --- /dev/null +++ b/doc/html/_me_i_r_8h__incl.md5 @@ -0,0 +1 @@ +a61f679528096f88dcbd5ea0cb61a8b9 \ No newline at end of file diff --git a/doc/html/_me_i_r_8h__incl.png b/doc/html/_me_i_r_8h__incl.png new file mode 100644 index 00000000..c5ad58f8 Binary files /dev/null and b/doc/html/_me_i_r_8h__incl.png differ diff --git a/doc/html/_me_i_r_8h_source.html b/doc/html/_me_i_r_8h_source.html new file mode 100644 index 00000000..b6e60fd7 --- /dev/null +++ b/doc/html/_me_i_r_8h_source.html @@ -0,0 +1,314 @@ + + + + + + + +MakeBlock Drive Updated: src/MeIR.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeIR.h
+
+
+Go to the documentation of this file.
1
+
58#ifndef MeIR_h
+
59#define MeIR_h
+
60
+
61/* Includes ------------------------------------------------------------------*/
+
62#include <stdint.h>
+
63#include <stdbool.h>
+
64#include <Arduino.h>
+
65#include "MeConfig.h"
+
66#ifdef ME_PORT_DEFINED
+
67#include "MePort.h"
+
68#endif // ME_PORT_DEFINED
+
69
+
70#ifndef __AVR_ATmega32U4__
+
71#define MARK 0
+
72#define SPACE 1
+
73#define NEC_BITS 32
+
74
+
75#define USECPERTICK 50 // microseconds per clock interrupt tick
+
76#define RAWBUF 100 // Length of raw duration buffer
+
77
+
78typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
+
79
+
80#define NEC_HDR_MARK 9000
+
81#define NEC_HDR_SPACE 4500
+
82#define NEC_BIT_MARK 560
+
83#define NEC_ONE_SPACE 1600
+
84#define NEC_ZERO_SPACE 560
+
85#define NEC_RPT_SPACE 2250
+
86#define NEC_RPT_PERIOD 110000
+
87
+
88
+
89// #define TOLERANCE 25 // percent tolerance in measurements
+
90// #define LTOL (1.0 - TOLERANCE/100.)
+
91// #define UTOL (1.0 + TOLERANCE/100.)
+
92
+
93#define _GAP 5000 // Minimum map between transmissions
+
94// #define GAP_TICKS 5000//(_GAP/USECPERTICK)
+
95
+
96// #define TICKS_LOW(us) (int) (((us)*LTOL/USECPERTICK))
+
97// #define TICKS_HIGH(us) (int) (((us)*UTOL/USECPERTICK + 1))
+
98
+
99// receiver states
+
100#define STATE_IDLE 2
+
101#define STATE_MARK 3
+
102#define STATE_SPACE 4
+
103#define STATE_STOP 5
+
104
+
105
+
106// Values for decode_type
+
107#define NEC 1
+
108#define SONY 2
+
109#define RC5 3
+
110#define RC6 4
+
111#define DISH 5
+
112#define SHARP 6
+
113#define PANASONIC 7
+
114#define JVC 8
+
115#define SANYO 9
+
116#define MITSUBISHI 10
+
117#define SAMSUNG 11
+
118#define LG 12
+
119#define UNKNOWN -1
+
120
+
121#define TOPBIT 0x80000000
+
122
+
123
+
124#ifdef F_CPU
+
125#define SYSCLOCK F_CPU // main Arduino clock
+
126#else
+
127#define SYSCLOCK 16000000 // main Arduino clock
+
128#endif
+
129
+
130
+
131#define _GAP 5000 // Minimum map between transmissions
+
132#define GAP_TICKS (_GAP/USECPERTICK)
+
133
+
134
+
135#define TIMER_DISABLE_INTR (TIMSK2 = 0)
+
136#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
+
137#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
+
138#define TIMER_ENABLE_INTR (TIMSK2 = _BV(OCIE2A))
+
139#define TIMER_DISABLE_INTR (TIMSK2 = 0)
+
140#define TIMER_INTR_NAME TIMER2_COMPA_vect
+
141#define TIMER_CONFIG_KHZ(val) ({ \
+
142 const uint8_t pwmval = F_CPU / 2000 / (val); \
+
143 TCCR2A = _BV(WGM20); \
+
144 TCCR2B = _BV(WGM22) | _BV(CS20); \
+
145 OCR2A = pwmval; \
+
146 OCR2B = pwmval / 3; \
+
147})
+
148
+
149#define TIMER_COUNT_TOP (SYSCLOCK * USECPERTICK / 1000000)
+
150#if (TIMER_COUNT_TOP < 256)
+
151#define TIMER_CONFIG_NORMAL() ({ \
+
152 TCCR2A = _BV(WGM21); \
+
153 TCCR2B = _BV(CS20); \
+
154 OCR2A = TIMER_COUNT_TOP; \
+
155 TCNT2 = 0; \
+
156})
+
157#else
+
158#define TIMER_CONFIG_NORMAL() ({ \
+
159 TCCR2A = _BV(WGM21); \
+
160 TCCR2B = _BV(CS21); \
+
161 OCR2A = TIMER_COUNT_TOP / 8; \
+
162 TCNT2 = 0; \
+
163})
+
164#endif
+
165
+
166// information for the interrupt handler
+
+
167typedef struct {
+
168 uint8_t recvpin; // pin for IR data from detector
+
169 volatile uint8_t rcvstate; // state machine
+
170 volatile uint32_t lastTime;
+
171 unsigned int timer; //
+
172 volatile uint8_t rawbuf[RAWBUF]; // raw data
+
173 volatile uint8_t rawlen; // counter of entries in rawbuf
+
174}
+
+ +
176
+
177// main class for receiving IR
+
+
183class MeIR
+
184{
+
185public:
+ +
193
+
208 ErrorStatus decode();
+
209
+
224 void begin();
+
225
+
240 void end();
+
241
+
256 void loop();
+
257
+
272 boolean keyPressed(unsigned char r);
+
273 // void resume();
+
274
+
275 int8_t decode_type; // NEC, SONY, RC5, UNKNOWN
+
276 unsigned long value; // Decoded value
+
277 uint8_t bits; // Number of bits in decoded value
+
278 volatile uint8_t *rawbuf; // Raw intervals in .5 us ticks
+
279 int rawlen; // Number of records in rawbuf.
+
280
+
295 String getString();
+
296
+
311 unsigned char getCode();
+
312
+
327 void sendString(String s);
+
328
+
343 void sendString(float v);
+
344
+
361 void sendNEC(unsigned long data, int nbits);
+
362
+
381 void sendRaw(unsigned int buf[], int len, uint8_t hz);
+
382
+
397 void enableIROut(uint8_t khz);
+
398
+ +
414
+
429 void mark(uint16_t us);
+
430
+
445 void space(uint16_t us);
+
446
+
447private:
+
448 // These are called by decode
+
463 ErrorStatus decodeNEC();
+
464
+
465 int16_t irIndex;
+
466 char irRead;
+
467 char floatString[5];
+
468 boolean irReady;
+
469 boolean irPressed;
+
470 String irBuffer;
+
471 String Pre_Str;
+
472 double irDelayTime;
+
473};
+
+
474#endif // !__AVR_ATmega32U4__
+
475#endif
+
476
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me IR module.
Definition MeIR.h:184
+
void sendRaw(unsigned int buf[], int len, uint8_t hz)
+
ErrorStatus decode()
+
void sendString(float v)
+
void mark(uint16_t us)
+
void enableIROut(uint8_t khz)
+
void end()
+
boolean keyPressed(unsigned char r)
+ +
void begin()
+
void sendNEC(unsigned long data, int nbits)
+
void sendString(String s)
+
String getString()
+
unsigned char getCode()
+
void enableIRIn()
+
void space(uint16_t us)
+
void loop()
+
Definition MeIR.h:167
+
+
+ + + + diff --git a/doc/html/_me_infrared_receiver_8cpp.html b/doc/html/_me_infrared_receiver_8cpp.html new file mode 100644 index 00000000..9dc5296e --- /dev/null +++ b/doc/html/_me_infrared_receiver_8cpp.html @@ -0,0 +1,198 @@ + + + + + + + +MakeBlock Drive Updated: src/MeInfraredReceiver.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeInfraredReceiver.cpp File Reference
+
+
+ +

Driver for Me Infrared Receiver device. +More...

+
+Include dependency graph for MeInfraredReceiver.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Infrared Receiver device.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2017/04/06
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
Description: this file is a drive for Me Infrared Receiver, It supports Infrared Receiver V2.0 and V3.0 device provided by the MakeBlock company.
+
Method List:
+
    +
  1. void MeInfraredReceiver::begin(void)
  2. +
  3. int16_t MeInfraredReceiver::read(void)
  4. +
  5. bool MeInfraredReceiver::buttonState(void)
  6. +
  7. uint8_t MeInfraredReceiver::getCode(void)
  8. +
  9. void MeInfraredReceiver::loop(void)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+Mark Yan         2017/04/06     1.0.1            Filter out the 0 value of infrared remote.
+
+
+
+ + + + diff --git a/doc/html/_me_infrared_receiver_8cpp__incl.map b/doc/html/_me_infrared_receiver_8cpp__incl.map new file mode 100644 index 00000000..c7a21b43 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8cpp__incl.map @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_infrared_receiver_8cpp__incl.md5 b/doc/html/_me_infrared_receiver_8cpp__incl.md5 new file mode 100644 index 00000000..cb1bf536 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8cpp__incl.md5 @@ -0,0 +1 @@ +c97f7a21319f5ef2936df87ca5cabe68 \ No newline at end of file diff --git a/doc/html/_me_infrared_receiver_8cpp__incl.png b/doc/html/_me_infrared_receiver_8cpp__incl.png new file mode 100644 index 00000000..e9779a94 Binary files /dev/null and b/doc/html/_me_infrared_receiver_8cpp__incl.png differ diff --git a/doc/html/_me_infrared_receiver_8h.html b/doc/html/_me_infrared_receiver_8h.html new file mode 100644 index 00000000..558d9ea2 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h.html @@ -0,0 +1,334 @@ + + + + + + + +MakeBlock Drive Updated: src/MeInfraredReceiver.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeInfraredReceiver.h File Reference
+
+
+ +

Header for for MeInfraredReceiver.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MeInfraredReceiver.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeInfraredReceiver
 Driver for Me Infrared Receiver device. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define IR_BUTTON_POWER   (0x45)
 
+#define IR_BUTTON_A   (0x45)
 
+#define IR_BUTTON_B   (0x46)
 
+#define IR_BUTTON_MENU   (0x47)
 
+#define IR_BUTTON_C   (0x47)
 
+#define IR_BUTTON_TEST   (0x44)
 
+#define IR_BUTTON_D   (0x44)
 
+#define IR_BUTTON_PLUS   (0x40)
 
+#define IR_BUTTON_UP   (0x40)
 
+#define IR_BUTTON_RETURN   (0x43)
 
+#define IR_BUTTON_E   (0x43)
 
+#define IR_BUTTON_PREVIOUS   (0x07)
 
+#define IR_BUTTON_LEFT   (0x07)
 
+#define IR_BUTTON_PLAY   (0x15)
 
+#define IR_BUTTON_SETTING   (0x15)
 
+#define IR_BUTTON_NEXT   (0x09)
 
+#define IR_BUTTON_RIGHT   (0x09)
 
+#define IR_BUTTON_MINUS   (0x19)
 
+#define IR_BUTTON_DOWN   (0x19)
 
+#define IR_BUTTON_CLR   (0x0D)
 
+#define IR_BUTTON_F   (0x0D)
 
+#define IR_BUTTON_0   (0x16)
 
+#define IR_BUTTON_1   (0x0C)
 
+#define IR_BUTTON_2   (0x18)
 
+#define IR_BUTTON_3   (0x5E)
 
+#define IR_BUTTON_4   (0x08)
 
+#define IR_BUTTON_5   (0x1C)
 
+#define IR_BUTTON_6   (0x5A)
 
+#define IR_BUTTON_7   (0x42)
 
+#define IR_BUTTON_8   (0x52)
 
+#define IR_BUTTON_9   (0x4A)
 
+

Detailed Description

+

Header for for MeInfraredReceiver.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2017/04/06
+
Description
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+

Description: this file is a drive for Me Infrared Receiver, It supports Infrared Receiver V2.0 and V3.0 device provided by the MakeBlock company.

+
Method List:
+
    +
  1. void MeInfraredReceiver::begin(void)
  2. +
  3. int16_t MeInfraredReceiver::read(void)
  4. +
  5. bool MeInfraredReceiver::buttonState(void)
  6. +
  7. uint8_t MeInfraredReceiver::getCode(void)
  8. +
  9. void MeInfraredReceiver::loop(void)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+Mark Yan         2017/04/06     1.0.1            Filter out the 0 value of infrared remote.
+
+
+
+ + + + diff --git a/doc/html/_me_infrared_receiver_8h.js b/doc/html/_me_infrared_receiver_8h.js new file mode 100644 index 00000000..c14153fc --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h.js @@ -0,0 +1,4 @@ +var _me_infrared_receiver_8h = +[ + [ "MeInfraredReceiver", "class_me_infrared_receiver.html", "class_me_infrared_receiver" ] +]; \ No newline at end of file diff --git a/doc/html/_me_infrared_receiver_8h__dep__incl.map b/doc/html/_me_infrared_receiver_8h__dep__incl.map new file mode 100644 index 00000000..3ce8d0c7 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_infrared_receiver_8h__dep__incl.md5 b/doc/html/_me_infrared_receiver_8h__dep__incl.md5 new file mode 100644 index 00000000..ca31354d --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h__dep__incl.md5 @@ -0,0 +1 @@ +4d478abcf3879992919f6d7ae07a5286 \ No newline at end of file diff --git a/doc/html/_me_infrared_receiver_8h__dep__incl.png b/doc/html/_me_infrared_receiver_8h__dep__incl.png new file mode 100644 index 00000000..84a2c8e3 Binary files /dev/null and b/doc/html/_me_infrared_receiver_8h__dep__incl.png differ diff --git a/doc/html/_me_infrared_receiver_8h__incl.map b/doc/html/_me_infrared_receiver_8h__incl.map new file mode 100644 index 00000000..89affdc8 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_infrared_receiver_8h__incl.md5 b/doc/html/_me_infrared_receiver_8h__incl.md5 new file mode 100644 index 00000000..cdcc9cc0 --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h__incl.md5 @@ -0,0 +1 @@ +9769a8322ef585c7f82005758c572513 \ No newline at end of file diff --git a/doc/html/_me_infrared_receiver_8h__incl.png b/doc/html/_me_infrared_receiver_8h__incl.png new file mode 100644 index 00000000..e50435a4 Binary files /dev/null and b/doc/html/_me_infrared_receiver_8h__incl.png differ diff --git a/doc/html/_me_infrared_receiver_8h_source.html b/doc/html/_me_infrared_receiver_8h_source.html new file mode 100644 index 00000000..dd42e46b --- /dev/null +++ b/doc/html/_me_infrared_receiver_8h_source.html @@ -0,0 +1,204 @@ + + + + + + + +MakeBlock Drive Updated: src/MeInfraredReceiver.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeInfraredReceiver.h
+
+
+Go to the documentation of this file.
1
+
44#ifndef MeInfraredReceiver_H
+
45#define MeInfraredReceiver_H
+
46
+
47#include <stdint.h>
+
48#include <stdbool.h>
+
49#include <Arduino.h>
+
50#include "MeConfig.h"
+
51#include "MeSerial.h"
+
52
+
53/* NEC Code table */
+
54#define IR_BUTTON_POWER (0x45)
+
55#define IR_BUTTON_A (0x45)
+
56#define IR_BUTTON_B (0x46)
+
57#define IR_BUTTON_MENU (0x47)
+
58#define IR_BUTTON_C (0x47)
+
59#define IR_BUTTON_TEST (0x44)
+
60#define IR_BUTTON_D (0x44)
+
61#define IR_BUTTON_PLUS (0x40)
+
62#define IR_BUTTON_UP (0x40)
+
63#define IR_BUTTON_RETURN (0x43)
+
64#define IR_BUTTON_E (0x43)
+
65#define IR_BUTTON_PREVIOUS (0x07)
+
66#define IR_BUTTON_LEFT (0x07)
+
67#define IR_BUTTON_PLAY (0x15)
+
68#define IR_BUTTON_SETTING (0x15)
+
69#define IR_BUTTON_NEXT (0x09)
+
70#define IR_BUTTON_RIGHT (0x09)
+
71#define IR_BUTTON_MINUS (0x19)
+
72#define IR_BUTTON_DOWN (0x19)
+
73#define IR_BUTTON_CLR (0x0D)
+
74#define IR_BUTTON_F (0x0D)
+
75#define IR_BUTTON_0 (0x16)
+
76#define IR_BUTTON_1 (0x0C)
+
77#define IR_BUTTON_2 (0x18)
+
78#define IR_BUTTON_3 (0x5E)
+
79#define IR_BUTTON_4 (0x08)
+
80#define IR_BUTTON_5 (0x1C)
+
81#define IR_BUTTON_6 (0x5A)
+
82#define IR_BUTTON_7 (0x42)
+
83#define IR_BUTTON_8 (0x52)
+
84#define IR_BUTTON_9 (0x4A)
+
85
+
86#ifdef ME_PORT_DEFINED
+
87#include "MePort.h"
+
88#endif /* ME_PORT_DEFINED */
+
89
+
95#ifndef ME_PORT_DEFINED
+ +
97#else // !ME_PORT_DEFINED
+
+ +
99#endif // !ME_PORT_DEFINED
+
100{
+
101public:
+
102#ifdef ME_PORT_DEFINED
+
109 MeInfraredReceiver(void);
+
110
+
117 MeInfraredReceiver(uint8_t port);
+
118#else // ME_PORT_DEFINED
+
129 MeInfraredReceiver(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
130#endif // ME_PORT_DEFINED
+
131
+
145 void begin(void);
+
146
+
161 int read();
+
162
+
175 bool buttonState(void);
+
176
+
189 uint8_t getCode(void);
+
190
+
203 void loop(void);
+
204private:
+
205 volatile uint8_t _RxPin;
+
206 volatile uint8_t _KeyCheckPin;
+
207 uint8_t _irCode;
+
208 uint8_t _preIrCode;
+
209};
+
+
210
+
211#endif
+
212
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for Me Infrared Receiver device.
Definition MeInfraredReceiver.h:100
+
uint8_t getCode(void)
Definition MeInfraredReceiver.cpp:175
+
MeInfraredReceiver(void)
Definition MeInfraredReceiver.cpp:53
+
bool buttonState(void)
Definition MeInfraredReceiver.cpp:144
+
int read()
Definition MeInfraredReceiver.cpp:124
+
void loop(void)
Definition MeInfraredReceiver.cpp:192
+
void begin(void)
Definition MeInfraredReceiver.cpp:100
+
Driver for serial.
Definition MeSerial.h:67
+
+
+ + + + diff --git a/doc/html/_me_joystick_8cpp.html b/doc/html/_me_joystick_8cpp.html new file mode 100644 index 00000000..b4291a53 --- /dev/null +++ b/doc/html/_me_joystick_8cpp.html @@ -0,0 +1,192 @@ + + + + + + + +MakeBlock Drive Updated: src/MeJoystick.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeJoystick.cpp File Reference
+
+
+ +

Driver for Me Joystick module. +More...

+
#include "MeJoystick.h"
+
+Include dependency graph for MeJoystick.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Joystick module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/01
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive Me Joystick, It supports Me Joystick V1.1 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeJoystick::setpin(uint8_t x_port,uint8_t y_port)
  2. +
  3. int16_t MeJoystick::readX(void)
  4. +
  5. int16_t MeJoystick::readY(void)
  6. +
  7. int16_t MeJoystick::read(uint8_t index)
  8. +
  9. void MeJoystick::CalCenterValue(int16_t x_offset,int16_t y_offset)
  10. +
  11. float MeJoystick::angle(void)
  12. +
  13. float MeJoystick::OffCenter(void)
  14. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_joystick_8cpp__incl.map b/doc/html/_me_joystick_8cpp__incl.map new file mode 100644 index 00000000..a18749c9 --- /dev/null +++ b/doc/html/_me_joystick_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_joystick_8cpp__incl.md5 b/doc/html/_me_joystick_8cpp__incl.md5 new file mode 100644 index 00000000..9ddb6231 --- /dev/null +++ b/doc/html/_me_joystick_8cpp__incl.md5 @@ -0,0 +1 @@ +c531cf0a131cf54b15351ad62ce4dd2e \ No newline at end of file diff --git a/doc/html/_me_joystick_8cpp__incl.png b/doc/html/_me_joystick_8cpp__incl.png new file mode 100644 index 00000000..3908d194 Binary files /dev/null and b/doc/html/_me_joystick_8cpp__incl.png differ diff --git a/doc/html/_me_joystick_8h.html b/doc/html/_me_joystick_8h.html new file mode 100644 index 00000000..adb9dd1f --- /dev/null +++ b/doc/html/_me_joystick_8h.html @@ -0,0 +1,236 @@ + + + + + + + +MakeBlock Drive Updated: src/MeJoystick.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeJoystick.h File Reference
+
+
+ +

Header for MeJoystick.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeJoystick.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeJoystick
 Driver for Me Joystick module. More...
 
+ + + +

+Macros

+#define CENTER_VALUE   (490)
 
+

Detailed Description

+

Header for MeJoystick.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/01
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive Me Joystick, It supports Me Joystick V1.1 device provided by MakeBlock.
+
Method List:
+
    +
  1. void MeJoystick::setpin(uint8_t x_port,uint8_t y_port)
  2. +
  3. int16_t MeJoystick::readX(void)
  4. +
  5. int16_t MeJoystick::readY(void)
  6. +
  7. int16_t MeJoystick::read(uint8_t index)
  8. +
  9. void MeJoystick::CalCenterValue(int16_t x_offset,int16_t y_offset)
  10. +
  11. float MeJoystick::angle(void)
  12. +
  13. float MeJoystick::OffCenter(void)
  14. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_joystick_8h.js b/doc/html/_me_joystick_8h.js new file mode 100644 index 00000000..6516352e --- /dev/null +++ b/doc/html/_me_joystick_8h.js @@ -0,0 +1,4 @@ +var _me_joystick_8h = +[ + [ "MeJoystick", "class_me_joystick.html", "class_me_joystick" ] +]; \ No newline at end of file diff --git a/doc/html/_me_joystick_8h__dep__incl.map b/doc/html/_me_joystick_8h__dep__incl.map new file mode 100644 index 00000000..d4b3ceb7 --- /dev/null +++ b/doc/html/_me_joystick_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_joystick_8h__dep__incl.md5 b/doc/html/_me_joystick_8h__dep__incl.md5 new file mode 100644 index 00000000..873ae1a8 --- /dev/null +++ b/doc/html/_me_joystick_8h__dep__incl.md5 @@ -0,0 +1 @@ +e9f3e8348c0350e4caf9571a6fed75b5 \ No newline at end of file diff --git a/doc/html/_me_joystick_8h__dep__incl.png b/doc/html/_me_joystick_8h__dep__incl.png new file mode 100644 index 00000000..d8180fe9 Binary files /dev/null and b/doc/html/_me_joystick_8h__dep__incl.png differ diff --git a/doc/html/_me_joystick_8h__incl.map b/doc/html/_me_joystick_8h__incl.map new file mode 100644 index 00000000..cdf8783f --- /dev/null +++ b/doc/html/_me_joystick_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_joystick_8h__incl.md5 b/doc/html/_me_joystick_8h__incl.md5 new file mode 100644 index 00000000..9e80ea97 --- /dev/null +++ b/doc/html/_me_joystick_8h__incl.md5 @@ -0,0 +1 @@ +5281682292bd25c9d2aef0a0077ecd12 \ No newline at end of file diff --git a/doc/html/_me_joystick_8h__incl.png b/doc/html/_me_joystick_8h__incl.png new file mode 100644 index 00000000..bb15ca2c Binary files /dev/null and b/doc/html/_me_joystick_8h__incl.png differ diff --git a/doc/html/_me_joystick_8h_source.html b/doc/html/_me_joystick_8h_source.html new file mode 100644 index 00000000..914f970a --- /dev/null +++ b/doc/html/_me_joystick_8h_source.html @@ -0,0 +1,175 @@ + + + + + + + +MakeBlock Drive Updated: src/MeJoystick.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeJoystick.h
+
+
+Go to the documentation of this file.
1
+
44#ifndef MeJoystick_H
+
45#define MeJoystick_H
+
46
+
47#include <stdint.h>
+
48#include <stdbool.h>
+
49#include <Arduino.h>
+
50#include "MeConfig.h"
+
51
+
52#ifdef ME_PORT_DEFINED
+
53#include "MePort.h"
+
54#endif // ME_PORT_DEFINED
+
55
+
56#define CENTER_VALUE (490)
+
57
+
63#ifndef ME_PORT_DEFINED
+
64class MeJoystick
+
65#else // !ME_PORT_DEFINED
+
+
66class MeJoystick : public MePort
+
67#endif
+
68{
+
69 public:
+
70#ifdef ME_PORT_DEFINED
+
77 MeJoystick(void);
+
78
+
84 MeJoystick(uint8_t port);
+
85#else // ME_PORT_DEFINED
+
94 MeJoystick(uint8_t x_port,uint8_t y_port);
+
95#endif // ME_PORT_DEFINED
+
96
+
113 void setpin(uint8_t x_port, uint8_t y_port);
+
114
+
127 int16_t readX(void);
+
128
+
141 int16_t readY(void);
+
142
+
157 int16_t read(uint8_t index);
+
158
+
176 void CalCenterValue(int16_t = 0, int16_t = 0);
+
177
+
190 float angle(void);
+
191
+
204 float OffCenter(void);
+
205 private:
+
206 static volatile int16_t _X_offset;
+
207 static volatile int16_t _Y_offset;
+
208 static volatile uint8_t _X_port;
+
209 static volatile uint8_t _Y_port;
+
210};
+
+
211#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me Joystick module.
Definition MeJoystick.h:68
+
int16_t readX(void)
Definition MeJoystick.cpp:125
+
int16_t readY(void)
Definition MeJoystick.cpp:149
+
MeJoystick(void)
Definition MeJoystick.cpp:59
+
void setpin(uint8_t x_port, uint8_t y_port)
Definition MeJoystick.cpp:103
+
int16_t read(uint8_t index)
Definition MeJoystick.cpp:175
+
float OffCenter(void)
Definition MeJoystick.cpp:271
+
void CalCenterValue(int16_t=0, int16_t=0)
Definition MeJoystick.cpp:216
+
float angle(void)
Definition MeJoystick.cpp:234
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_joystick_test_8ino-example.html b/doc/html/_me_joystick_test_8ino-example.html new file mode 100644 index 00000000..fbbc6fa2 --- /dev/null +++ b/doc/html/_me_joystick_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeJoystickTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeJoystickTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_l_e_d_matrix_8cpp.html b/doc/html/_me_l_e_d_matrix_8cpp.html new file mode 100644 index 00000000..35ce33bc --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8cpp.html @@ -0,0 +1,194 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLEDMatrix.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLEDMatrix.cpp File Reference
+
+
+ +

Driver for Me LED Matrix module. +More...

+
#include "MeLEDMatrix.h"
+#include "MeLEDMatrixData.h"
+
+Include dependency graph for MeLEDMatrix.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me LED Matrix module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/01/29
+
Copyright
This software is Copyright (C), 2012-2015, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me LED Matrix device
+
Method List:
+
    +
  1. void MeLEDMatrix::clearScreen();
  2. +
  3. void MeLEDMatrix::setBrightness(uint8_t Bright);
  4. +
  5. void MeLEDMatrix::setColorIndex(bool Color_Number);
  6. +
  7. void MeLEDMatrix::drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap);
  8. +
  9. void MeLEDMatrix::drawStr(int16_t X_position, int8_t Y_position, const char *str);
  10. +
  11. void MeLEDMatrix::showClock(uint8_t hour, uint8_t minute, bool point_flag);
  12. +
  13. void MeLEDMatrix::showNum(float value,uint8_t digits);
  14. +
  15. void MeLEDMatrix::reset(uint8_t port);
  16. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/11     1.0.0            Add description
+Mark Yan        2016/01/19     1.0.1            Add some new symbol
+Mark Yan        2016/01/27     1.0.2            Add digital printing
+Mark Yan        2016/01/29     1.0.3            Fix issue when show integer number
+
+
+
+ + + + diff --git a/doc/html/_me_l_e_d_matrix_8cpp__incl.map b/doc/html/_me_l_e_d_matrix_8cpp__incl.map new file mode 100644 index 00000000..b2067233 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8cpp__incl.map @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_l_e_d_matrix_8cpp__incl.md5 b/doc/html/_me_l_e_d_matrix_8cpp__incl.md5 new file mode 100644 index 00000000..b15f5e79 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8cpp__incl.md5 @@ -0,0 +1 @@ +9f785e3d6f48aac962cc3c7a79f1321b \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_8cpp__incl.png b/doc/html/_me_l_e_d_matrix_8cpp__incl.png new file mode 100644 index 00000000..d1c60113 Binary files /dev/null and b/doc/html/_me_l_e_d_matrix_8cpp__incl.png differ diff --git a/doc/html/_me_l_e_d_matrix_8h.html b/doc/html/_me_l_e_d_matrix_8h.html new file mode 100644 index 00000000..38b021bc --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h.html @@ -0,0 +1,268 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLEDMatrix.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLEDMatrix.h File Reference
+
+
+ +

Header for MeLEDMatrix.cpp module. +More...

+
#include "MePort.h"
+
+Include dependency graph for MeLEDMatrix.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeLEDMatrix
 Driver for Me LED Matrix module. More...
 
+ + + + + + + + + + + + + + + +

+Macros

+#define PointOn   1
 
+#define PointOff   0
 
+#define LED_BUFFER_SIZE   16
 
+#define STRING_DISPLAY_BUFFER_SIZE   20
 
+#define Mode_Address_Auto_Add_1   0x40
 
+#define Mode_Permanent_Address   0x44
 
+#define ADDRESS(addr)   (0xC0 | addr)
 
+ + + +

+Enumerations

enum  LED_Matrix_Brightness_TypeDef {
+  Brightness_0 = 0 +, Brightness_1 +, Brightness_2 +, Brightness_3 +,
+  Brightness_4 +, Brightness_5 +, Brightness_6 +, Brightness_7 +,
+  Brightness_8 +
+ }
 
+

Detailed Description

+

Header for MeLEDMatrix.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/01/29
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me LED Matrix device
+
Method List:
+
    +
  1. void MeLEDMatrix::clearScreen();
  2. +
  3. void MeLEDMatrix::setBrightness(uint8_t Bright);
  4. +
  5. void MeLEDMatrix::setColorIndex(bool Color_Number);
  6. +
  7. void MeLEDMatrix::drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap);
  8. +
  9. void MeLEDMatrix::drawStr(int16_t X_position, int8_t Y_position, const char *str);
  10. +
  11. void MeLEDMatrix::showClock(uint8_t hour, uint8_t minute, bool point_flag);
  12. +
  13. void MeLEDMatrix::showNum(float value,uint8_t digits);
  14. +
  15. void MeLEDMatrix::reset(uint8_t port);
  16. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/09     1.0.0            Add description
+Mark Yan        2016/01/19     1.0.1            Add some new symbol
+Mark Yan        2016/01/27     1.0.2            Add digital printing
+Mark Yan        2016/01/29     1.0.3            Fix issue when show integer number
+
+
+
+ + + + diff --git a/doc/html/_me_l_e_d_matrix_8h.js b/doc/html/_me_l_e_d_matrix_8h.js new file mode 100644 index 00000000..b61e0537 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h.js @@ -0,0 +1,4 @@ +var _me_l_e_d_matrix_8h = +[ + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html", "class_me_l_e_d_matrix" ] +]; \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_8h__dep__incl.map b/doc/html/_me_l_e_d_matrix_8h__dep__incl.map new file mode 100644 index 00000000..da500931 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_l_e_d_matrix_8h__dep__incl.md5 b/doc/html/_me_l_e_d_matrix_8h__dep__incl.md5 new file mode 100644 index 00000000..18d9aeca --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h__dep__incl.md5 @@ -0,0 +1 @@ +d570f586997cb6e817b3d107cba0a8fd \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_8h__dep__incl.png b/doc/html/_me_l_e_d_matrix_8h__dep__incl.png new file mode 100644 index 00000000..40d9c9c9 Binary files /dev/null and b/doc/html/_me_l_e_d_matrix_8h__dep__incl.png differ diff --git a/doc/html/_me_l_e_d_matrix_8h__incl.map b/doc/html/_me_l_e_d_matrix_8h__incl.map new file mode 100644 index 00000000..1241dc4b --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h__incl.map @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_l_e_d_matrix_8h__incl.md5 b/doc/html/_me_l_e_d_matrix_8h__incl.md5 new file mode 100644 index 00000000..35de1949 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h__incl.md5 @@ -0,0 +1 @@ +a746085cff2d00d445f30fa2c039d6ab \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_8h__incl.png b/doc/html/_me_l_e_d_matrix_8h__incl.png new file mode 100644 index 00000000..7dada3d3 Binary files /dev/null and b/doc/html/_me_l_e_d_matrix_8h__incl.png differ diff --git a/doc/html/_me_l_e_d_matrix_8h_source.html b/doc/html/_me_l_e_d_matrix_8h_source.html new file mode 100644 index 00000000..b02106f1 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_8h_source.html @@ -0,0 +1,211 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLEDMatrix.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLEDMatrix.h
+
+
+Go to the documentation of this file.
1
+
49#ifndef _ME_LED_MATRIX_H_
+
50#define _ME_LED_MATRIX_H_
+
51
+
52#include "MePort.h"
+
53#define PointOn 1
+
54#define PointOff 0
+
55
+
56
+
57#define LED_BUFFER_SIZE 16
+
58#define STRING_DISPLAY_BUFFER_SIZE 20
+
59
+
60
+
61//Define Data Command Parameters
+
62#define Mode_Address_Auto_Add_1 0x40 //0100 0000 B
+
63#define Mode_Permanent_Address 0x44 //0100 0100 B
+
64
+
65
+
66//Define Address Command Parameters
+
67#define ADDRESS(addr) (0xC0 | addr)
+
68
+
69
+
70typedef enum
+
71{
+
72 Brightness_0 = 0,
+
73 Brightness_1,
+
74 Brightness_2,
+
75 Brightness_3,
+
76 Brightness_4,
+
77 Brightness_5,
+
78 Brightness_6,
+
79 Brightness_7,
+
80 Brightness_8
+
81}LED_Matrix_Brightness_TypeDef;
+
82
+
83
+
84
+
85/* Me LED Matrix 8X16 */
+
+
91class MeLEDMatrix:public MePort
+
92{
+
93public:
+
100 MeLEDMatrix();
+
101
+
108 MeLEDMatrix(uint8_t port);
+
109
+
118 MeLEDMatrix(uint8_t SCK_Pin, uint8_t DIN_Pin);
+
119
+
134 void clearScreen();
+
135
+
150 void setBrightness(uint8_t Bright);
+
151
+
166 void setColorIndex(bool Color_Number);
+
167
+
188 void drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap);
+
189
+
208 void drawStr(int16_t X_position, int8_t Y_position, const char *str);
+
209
+
228 void showClock(uint8_t hour, uint8_t minute, bool = PointOn);
+
229
+
246 void showNum(float value,uint8_t = 3);
+
247
+
262 void reset(uint8_t port);
+
263
+
264private:
+
265 uint8_t u8_SCKPin;
+
266 uint8_t u8_DINPin;
+
267
+
268 bool b_Color_Index;
+
269 bool b_Draw_Str_Flag;
+
270
+
271 uint8_t u8_Display_Buffer[LED_BUFFER_SIZE];
+
272
+
273 int16_t i16_Str_Display_X_Position;
+
274 int8_t i8_Str_Display_Y_Position;
+
275 int16_t i16_Number_of_Character_of_Str;
+
276 char i8_Str_Display_Buffer[STRING_DISPLAY_BUFFER_SIZE];
+
277
+
292 void writeByte(uint8_t data);
+
293
+
312 void writeBytesToAddress(uint8_t Address, const uint8_t *P_data, uint8_t count_of_data);
+
313
+
326 void showStr();
+
327
+
328};
+
+
329
+
330#endif
+
Header for MePort.cpp module.
+
Driver for Me LED Matrix module.
Definition MeLEDMatrix.h:92
+
void drawStr(int16_t X_position, int8_t Y_position, const char *str)
Definition MeLEDMatrix.cpp:377
+
void reset(uint8_t port)
Definition MeLEDMatrix.cpp:120
+
void drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap)
Definition MeLEDMatrix.cpp:330
+
void setColorIndex(bool Color_Number)
Definition MeLEDMatrix.cpp:305
+
MeLEDMatrix()
Definition MeLEDMatrix.cpp:57
+
void showNum(float value, uint8_t=3)
Definition MeLEDMatrix.cpp:650
+
void showClock(uint8_t hour, uint8_t minute, bool=PointOn)
Definition MeLEDMatrix.cpp:589
+
void setBrightness(uint8_t Bright)
Definition MeLEDMatrix.cpp:275
+
void clearScreen()
Definition MeLEDMatrix.cpp:248
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_l_e_d_matrix_data_8h.html b/doc/html/_me_l_e_d_matrix_data_8h.html new file mode 100644 index 00000000..bfb9c26e --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_data_8h.html @@ -0,0 +1,162 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLEDMatrixData.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLEDMatrixData.h File Reference
+
+
+ +

Symbol data for Me LED Matrix module. +More...

+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

struct  LED_Matrix_Font_6x8_TypeDef
 
struct  LED_Matrix_Clock_Number_Font_3x8_TypeDef
 
+ + + +

+Variables

+const LED_Matrix_Font_6x8_TypeDef Character_font_6x8[] PROGMEM
 
+

Detailed Description

+

Symbol data for Me LED Matrix module.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/01/29
+

Supporting Header for MeLEDMatrix.cpp module

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is symbol data for Me LED Matrix.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/09     1.0.0            Add description
+Mark Yan        2016/01/19     1.0.1            Add some new symbol
+Mark Yan        2016/01/27     1.0.2            Add digital printing
+Mark Yan        2016/01/29     1.0.3            Fix issue when show integer number
+
+
+
+ + + + diff --git a/doc/html/_me_l_e_d_matrix_data_8h.js b/doc/html/_me_l_e_d_matrix_data_8h.js new file mode 100644 index 00000000..fdf00f5b --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_data_8h.js @@ -0,0 +1,5 @@ +var _me_l_e_d_matrix_data_8h = +[ + [ "LED_Matrix_Font_6x8_TypeDef", "struct_l_e_d___matrix___font__6x8___type_def.html", null ], + [ "LED_Matrix_Clock_Number_Font_3x8_TypeDef", "struct_l_e_d___matrix___clock___number___font__3x8___type_def.html", null ] +]; \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.map b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.map new file mode 100644 index 00000000..f054a4b6 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.md5 b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.md5 new file mode 100644 index 00000000..b856735a --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.md5 @@ -0,0 +1 @@ +f6ed35d58adca90dba4e7324e21a7d0b \ No newline at end of file diff --git a/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.png b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.png new file mode 100644 index 00000000..b0ac0d2d Binary files /dev/null and b/doc/html/_me_l_e_d_matrix_data_8h__dep__incl.png differ diff --git a/doc/html/_me_l_e_d_matrix_data_8h_source.html b/doc/html/_me_l_e_d_matrix_data_8h_source.html new file mode 100644 index 00000000..d3a7b498 --- /dev/null +++ b/doc/html/_me_l_e_d_matrix_data_8h_source.html @@ -0,0 +1,251 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLEDMatrixData.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLEDMatrixData.h
+
+
+Go to the documentation of this file.
1
+
35#ifndef _ME_LEDMATRIX_FONT_DATA_H_
+
36#define _ME_LEDMATRIX_FONT_DATA_H_
+
37
+
+
38typedef struct
+
39{
+
40 uint8_t Character[1];
+
41 uint8_t data[6];
+ +
+
43
+
44//Terminal
+
45const LED_Matrix_Font_6x8_TypeDef Character_font_6x8[] PROGMEM =
+
46{
+
47 ' ', 0x00,0x00,0x00,0x00,0x00,0x00,
+
48
+
49 '0', 0x00,0x7C,0x82,0x82,0x7C,0x00,
+
50 '1', 0x00,0x42,0xFE,0x02,0x00,0x00,
+
51 '2', 0x00,0x46,0x8A,0x92,0x62,0x00,
+
52 '3', 0x00,0x44,0x92,0x92,0x6C,0x00,
+
53 '4', 0x00,0x1C,0x64,0xFE,0x04,0x00,
+
54 '5', 0x00,0xF2,0x92,0x92,0x8C,0x00,
+
55 '6', 0x00,0x7C,0x92,0x92,0x4C,0x00,
+
56 '7', 0x00,0xC0,0x8E,0x90,0xE0,0x00,
+
57 '8', 0x00,0x6C,0x92,0x92,0x6C,0x00,
+
58 '9', 0x00,0x64,0x92,0x92,0x7C,0x00,
+
59
+
60 'a', 0x00,0x04,0x2A,0x2A,0x1E,0x00,
+
61 'b', 0x00,0xFE,0x12,0x12,0x0C,0x00,
+
62 'c', 0x00,0x0C,0x12,0x12,0x12,0x00,
+
63 'd', 0x00,0x0C,0x12,0x12,0xFE,0x00,
+
64 'e', 0x00,0x1C,0x2A,0x2A,0x18,0x00,
+
65 'f', 0x00,0x10,0x3E,0x50,0x50,0x00,
+
66 'g', 0x00,0x08,0x15,0x15,0x1E,0x00,
+
67 'h', 0x00,0xFE,0x10,0x1E,0x00,0x00,
+
68 'i', 0x00,0x00,0x2E,0x00,0x00,0x00,
+
69 'j', 0x00,0x02,0x01,0x2E,0x00,0x00,
+
70 'k', 0x00,0xFE,0x08,0x14,0x12,0x00,
+
71 'l', 0x00,0x00,0xFE,0x02,0x00,0x00,
+
72 'm', 0x00,0x1E,0x10,0x0E,0x10,0x0E,
+
73 'n', 0x00,0x1E,0x10,0x10,0x0E,0x00,
+
74 'o', 0x00,0x0C,0x12,0x12,0x0C,0x00,
+
75 'p', 0x00,0x1F,0x12,0x12,0x0C,0x00,
+
76 'q', 0x00,0x0C,0x12,0x12,0x1F,0x00,
+
77 'r', 0x00,0x1E,0x08,0x10,0x10,0x00,
+
78 's', 0x00,0x12,0x29,0x25,0x12,0x00,
+
79 't', 0x00,0x10,0x3E,0x12,0x00,0x00,
+
80 'u', 0x00,0x1C,0x02,0x02,0x1E,0x00,
+
81 'v', 0x18,0x04,0x02,0x04,0x18,0x00,
+
82 'w', 0x18,0x06,0x1C,0x06,0x18,0x00,
+
83 'x', 0x00,0x12,0x0C,0x0C,0x12,0x00,
+
84 'y', 0x00,0x18,0x05,0x05,0x1E,0x00,
+
85 'z', 0x00,0x12,0x16,0x1A,0x12,0x00,
+
86
+
87 'A', 0x00,0x7E,0x88,0x88,0x7E,0x00,
+
88 'B', 0x00,0xFE,0x92,0x92,0x6C,0x00,
+
89 'C', 0x00,0x7C,0x82,0x82,0x44,0x00,
+
90 'D', 0x00,0xFE,0x82,0x82,0x7C,0x00,
+
91 'E', 0x00,0xFE,0x92,0x92,0x82,0x00,
+
92 'F', 0x00,0xFE,0x90,0x90,0x80,0x00,
+
93 'G', 0x00,0x7C,0x82,0x92,0x5C,0x00,
+
94 'H', 0x00,0xFE,0x10,0x10,0xFE,0x00,
+
95 'I', 0x00,0x82,0xFE,0x82,0x00,0x00,
+
96 'J', 0x00,0x0C,0x02,0x02,0xFC,0x00,
+
97 'K', 0x00,0xFE,0x10,0x28,0xC6,0x00,
+
98 'L', 0x00,0xFE,0x02,0x02,0x02,0x00,
+
99 'M', 0x00,0xFE,0x40,0x30,0x40,0xFE,
+
100 'N', 0x00,0xFE,0x40,0x30,0x08,0xFE,
+
101 'O', 0x00,0x7C,0x82,0x82,0x82,0x7C,
+
102 'P', 0x00,0xFE,0x90,0x90,0x60,0x00,
+
103 'Q', 0x00,0x7C,0x82,0x8A,0x84,0x7A,
+
104 'R', 0x00,0xFE,0x98,0x94,0x62,0x00,
+
105 'S', 0x00,0x64,0x92,0x92,0x4C,0x00,
+
106 'T', 0x00,0x80,0xFE,0x80,0x80,0x00,
+
107 'U', 0x00,0xFC,0x02,0x02,0xFC,0x00,
+
108 'V', 0x00,0xF0,0x0C,0x02,0x0C,0xF0,
+
109 'W', 0x00,0xFE,0x04,0x38,0x04,0xFE,
+
110 'X', 0x00,0xC6,0x38,0x38,0xC6,0x00,
+
111 'Y', 0xC0,0x20,0x1E,0x20,0xC0,0x00,
+
112 'Z', 0x00,0x86,0x9A,0xB2,0xC2,0x00,
+
113 ',', 0x00,0x01,0x0e,0x0c,0x00,0x00,
+
114 '.', 0x00,0x00,0x06,0x06,0x00,0x00,
+
115 '%', 0x72,0x54,0x78,0x1e,0x2a,0x4e,
+
116 '!', 0x00,0x00,0x7a,0x00,0x00,0x00,
+
117 '?', 0x00,0x20,0x4a,0x30,0x00,0x00,
+
118 '-', 0x00,0x10,0x10,0x10,0x10,0x00,
+
119 '+', 0x08,0x08,0x3e,0x08,0x08,0x00,
+
120 '/', 0x00,0x02,0x0c,0x30,0x40,0x00,
+
121 '*', 0x22,0x14,0x08,0x14,0x22,0x00,
+
122 ':', 0x00,0x00,0x14,0x00,0x00,0x00,
+
123 '"', 0x00,0xC0,0x00,0xC0,0x00,0x00,
+
124 '#', 0x28,0xFE,0x28,0xFE,0x28,0x00,
+
125 '(', 0x00,0x00,0x7C,0x82,0x00,0x00,
+
126 ')', 0x00,0x00,0x82,0x7C,0x00,0x00,
+
127 ';', 0x00,0x02,0x24,0x00,0x00,0x00,
+
128 '~', 0x00,0x40,0x80,0x40,0x80,0x00,
+
129 ';', 0x00,0x02,0x24,0x00,0x00,0x00,
+
130 '=', 0x00,0x28,0x28,0x28,0x28,0x00,
+
131 '|', 0x00,0x00,0xFE,0x00,0x00,0x00,
+
132 '>', 0x00,0x82,0x44,0x28,0x10,0x00,
+
133 '<', 0x00,0x10,0x28,0x44,0x82,0x00,
+
134 '@', 0x00,0x00,0x00,0x00,0x00,0x00, // End mark of Character_font_6x8
+
135};
+
136
+
137
+
138
+
139
+
140
+
141
+
+
142typedef struct
+
143{
+
144 uint8_t data[3];
+ +
+
146
+
147const LED_Matrix_Clock_Number_Font_3x8_TypeDef Clock_Number_font_3x8[] PROGMEM =
+
148{
+
149 0x7C,0x44,0x7C, //0
+
150 0x00,0x7C,0x00, //1
+
151 0x5C,0x54,0x74, //2
+
152 0x54,0x54,0x7C, //3
+
153 0x70,0x10,0x7C, //4
+
154 0x74,0x54,0x5C, //5
+
155 0x7C,0x54,0x5C, //6
+
156 0x40,0x40,0x7C, //7
+
157 0x7C,0x54,0x7C, //8
+
158 0x74,0x54,0x7C, //9
+
159 0x00,0x04,0x00, //.
+
160 0x20,0x20,0x20, //-
+
161 0x00,0x00,0x00, //
+
162};
+
163
+
164#endif
+
165
+
166
+
167
+
Definition MeLEDMatrixData.h:143
+
Definition MeLEDMatrixData.h:39
+
+
+ + + + diff --git a/doc/html/_me_light_sensor_8cpp.html b/doc/html/_me_light_sensor_8cpp.html new file mode 100644 index 00000000..f36b693f --- /dev/null +++ b/doc/html/_me_light_sensor_8cpp.html @@ -0,0 +1,191 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLightSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensor.cpp File Reference
+
+
+ +

Driver for Me-Light Sensor module. +More...

+
#include "MeLightSensor.h"
+
+Include dependency graph for MeLightSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me-Light Sensor module.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MeLightSensor::setpin(uint8_t ledPin, uint8_t sensorPin)
  2. +
  3. int16_t MeLightSensor::read()
  4. +
  5. void MeLightSensor::lightOn()
  6. +
  7. void MeLightSensor::lightOff()
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added function setpin and some comments.
+Mark Yan         2015/11/09     1.0.2            fix some comments error.
+
+
+
+ + + + diff --git a/doc/html/_me_light_sensor_8cpp__incl.map b/doc/html/_me_light_sensor_8cpp__incl.map new file mode 100644 index 00000000..98571b7d --- /dev/null +++ b/doc/html/_me_light_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_light_sensor_8cpp__incl.md5 b/doc/html/_me_light_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..a1fec836 --- /dev/null +++ b/doc/html/_me_light_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +fe13b7a51dca2e203a8b2da6369a80f1 \ No newline at end of file diff --git a/doc/html/_me_light_sensor_8cpp__incl.png b/doc/html/_me_light_sensor_8cpp__incl.png new file mode 100644 index 00000000..5a9ec1a9 Binary files /dev/null and b/doc/html/_me_light_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_light_sensor_8h.html b/doc/html/_me_light_sensor_8h.html new file mode 100644 index 00000000..65c768b6 --- /dev/null +++ b/doc/html/_me_light_sensor_8h.html @@ -0,0 +1,228 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLightSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLightSensor.h File Reference
+
+
+ +

Header file for Me-Light Sensor.cpp. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeLightSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeLightSensor
 Driver for Me-Light Sensor module. More...
 
+

Detailed Description

+

Header file for Me-Light Sensor.cpp.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2015/11/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MeLightSensor::setpin(uint8_t ledPin, uint8_t sensorPin)
  2. +
  3. int16_t MeLightSensor::read()
  4. +
  5. void MeLightSensor::lightOn()
  6. +
  7. void MeLightSensor::lightOff()
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added function setpin and some comments.
+Mark Yan         2015/11/09     1.0.2            fix some comments error.
+
+
+
+ + + + diff --git a/doc/html/_me_light_sensor_8h.js b/doc/html/_me_light_sensor_8h.js new file mode 100644 index 00000000..2911468a --- /dev/null +++ b/doc/html/_me_light_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_light_sensor_8h = +[ + [ "MeLightSensor", "class_me_light_sensor.html", "class_me_light_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_light_sensor_8h__dep__incl.map b/doc/html/_me_light_sensor_8h__dep__incl.map new file mode 100644 index 00000000..295040cd --- /dev/null +++ b/doc/html/_me_light_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_light_sensor_8h__dep__incl.md5 b/doc/html/_me_light_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..9a4c238b --- /dev/null +++ b/doc/html/_me_light_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +e5d0365cc85ae440c6387965f1ac3a32 \ No newline at end of file diff --git a/doc/html/_me_light_sensor_8h__dep__incl.png b/doc/html/_me_light_sensor_8h__dep__incl.png new file mode 100644 index 00000000..a051570e Binary files /dev/null and b/doc/html/_me_light_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_light_sensor_8h__incl.map b/doc/html/_me_light_sensor_8h__incl.map new file mode 100644 index 00000000..a8d566be --- /dev/null +++ b/doc/html/_me_light_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_light_sensor_8h__incl.md5 b/doc/html/_me_light_sensor_8h__incl.md5 new file mode 100644 index 00000000..10b4a209 --- /dev/null +++ b/doc/html/_me_light_sensor_8h__incl.md5 @@ -0,0 +1 @@ +26214bd0da052e7a3d682d764906fbc7 \ No newline at end of file diff --git a/doc/html/_me_light_sensor_8h__incl.png b/doc/html/_me_light_sensor_8h__incl.png new file mode 100644 index 00000000..d5a0a46e Binary files /dev/null and b/doc/html/_me_light_sensor_8h__incl.png differ diff --git a/doc/html/_me_light_sensor_8h_source.html b/doc/html/_me_light_sensor_8h_source.html new file mode 100644 index 00000000..31b9e742 --- /dev/null +++ b/doc/html/_me_light_sensor_8h_source.html @@ -0,0 +1,163 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLightSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensor.h
+
+
+Go to the documentation of this file.
1
+
41/* Define to prevent recursive inclusion -------------------------------------*/
+
42#ifndef MeLightSensor_H
+
43#define MeLightSensor_H
+
44
+
45/* Includes ------------------------------------------------------------------*/
+
46#include <stdint.h>
+
47#include <stdbool.h>
+
48#include <Arduino.h>
+
49#include "MeConfig.h"
+
50
+
51#ifdef ME_PORT_DEFINED
+
52#include "MePort.h"
+
53#endif // ME_PORT_DEFINED
+
54
+
60#ifndef ME_PORT_DEFINED
+
61class MeLightSensor
+
62#else // !ME_PORT_DEFINED
+
+
63class MeLightSensor : public MePort
+
64#endif // !ME_PORT_DEFINED
+
65{
+
66public:
+
67#ifdef ME_PORT_DEFINED
+
74 MeLightSensor(void);
+
75
+
81 MeLightSensor(uint8_t port);
+
82#else // ME_PORT_DEFINED
+
90 MeLightSensor(uint8_t ledPin, uint8_t sensorPin);
+
91#endif // ME_PORT_DEFINED
+
110 void setpin(uint8_t ledPin, uint8_t sensorPin);
+
111
+
125 int16_t read(void);
+
126
+
140 void lightOn(void);
+
141
+
155 void lightOff(void);
+
156private:
+
157 uint8_t _ledPin;
+
158 uint8_t _sensorPin;
+
159};
+
+
160
+
161#endif // MeLightSensor_H
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me-Light Sensor module.
Definition MeLightSensor.h:65
+
void lightOff(void)
Definition MeLightSensor.cpp:181
+
MeLightSensor(void)
Definition MeLightSensor.cpp:57
+
int16_t read(void)
Definition MeLightSensor.cpp:136
+
void lightOn(void)
Definition MeLightSensor.cpp:159
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_light_sensor_test_8ino-example.html b/doc/html/_me_light_sensor_test_8ino-example.html new file mode 100644 index 00000000..e24d6b76 --- /dev/null +++ b/doc/html/_me_light_sensor_test_8ino-example.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: MeLightSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensorTest.ino
+
+
+


+

+
+ + + + diff --git a/doc/html/_me_light_sensor_test_reset_port_8ino-example.html b/doc/html/_me_light_sensor_test_reset_port_8ino-example.html new file mode 100644 index 00000000..f720bdca --- /dev/null +++ b/doc/html/_me_light_sensor_test_reset_port_8ino-example.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: MeLightSensorTestResetPort.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensorTestResetPort.ino
+
+
+


+

+
+ + + + diff --git a/doc/html/_me_light_sensor_test_with_l_e_don_8ino-example.html b/doc/html/_me_light_sensor_test_with_l_e_don_8ino-example.html new file mode 100644 index 00000000..3c1b9e18 --- /dev/null +++ b/doc/html/_me_light_sensor_test_with_l_e_don_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeLightSensorTestWithLEDon.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensorTestWithLEDon.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_limit_switch_8cpp.html b/doc/html/_me_limit_switch_8cpp.html new file mode 100644 index 00000000..c928baed --- /dev/null +++ b/doc/html/_me_limit_switch_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLimitSwitch.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLimitSwitch.cpp File Reference
+
+
+ +

Driver for Me LimitSwitch module. +More...

+
#include "MeLimitSwitch.h"
+
+Include dependency graph for MeLimitSwitch.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me LimitSwitch module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MeLimitSwitch::setpin(uint8_t switchPin);
  2. +
  3. bool MeLimitSwitch::touched();
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/04     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_limit_switch_8cpp__incl.map b/doc/html/_me_limit_switch_8cpp__incl.map new file mode 100644 index 00000000..bae5bf65 --- /dev/null +++ b/doc/html/_me_limit_switch_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_limit_switch_8cpp__incl.md5 b/doc/html/_me_limit_switch_8cpp__incl.md5 new file mode 100644 index 00000000..e6ea4ddb --- /dev/null +++ b/doc/html/_me_limit_switch_8cpp__incl.md5 @@ -0,0 +1 @@ +14c18506b817b8b5c83028b18e04578e \ No newline at end of file diff --git a/doc/html/_me_limit_switch_8cpp__incl.png b/doc/html/_me_limit_switch_8cpp__incl.png new file mode 100644 index 00000000..12108cba Binary files /dev/null and b/doc/html/_me_limit_switch_8cpp__incl.png differ diff --git a/doc/html/_me_limit_switch_8h.html b/doc/html/_me_limit_switch_8h.html new file mode 100644 index 00000000..e724692b --- /dev/null +++ b/doc/html/_me_limit_switch_8h.html @@ -0,0 +1,225 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLimitSwitch.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLimitSwitch.h File Reference
+
+
+ +

Header for MeLimitSwitch.cpp. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeLimitSwitch.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeLimitSwitch
 Driver for Me_LimitSwitch module. More...
 
+

Detailed Description

+

Header for MeLimitSwitch.cpp.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MeLimitSwitch::setpin(uint8_t switchPin);
  2. +
  3. bool MeLimitSwitch::touched();
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/04     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_limit_switch_8h.js b/doc/html/_me_limit_switch_8h.js new file mode 100644 index 00000000..1976a197 --- /dev/null +++ b/doc/html/_me_limit_switch_8h.js @@ -0,0 +1,4 @@ +var _me_limit_switch_8h = +[ + [ "MeLimitSwitch", "class_me_limit_switch.html", "class_me_limit_switch" ] +]; \ No newline at end of file diff --git a/doc/html/_me_limit_switch_8h__dep__incl.map b/doc/html/_me_limit_switch_8h__dep__incl.map new file mode 100644 index 00000000..e08b21b9 --- /dev/null +++ b/doc/html/_me_limit_switch_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_limit_switch_8h__dep__incl.md5 b/doc/html/_me_limit_switch_8h__dep__incl.md5 new file mode 100644 index 00000000..94924b58 --- /dev/null +++ b/doc/html/_me_limit_switch_8h__dep__incl.md5 @@ -0,0 +1 @@ +7c2352e14aa07f08a41b75444e605571 \ No newline at end of file diff --git a/doc/html/_me_limit_switch_8h__dep__incl.png b/doc/html/_me_limit_switch_8h__dep__incl.png new file mode 100644 index 00000000..26110639 Binary files /dev/null and b/doc/html/_me_limit_switch_8h__dep__incl.png differ diff --git a/doc/html/_me_limit_switch_8h__incl.map b/doc/html/_me_limit_switch_8h__incl.map new file mode 100644 index 00000000..cc9aa0b2 --- /dev/null +++ b/doc/html/_me_limit_switch_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_limit_switch_8h__incl.md5 b/doc/html/_me_limit_switch_8h__incl.md5 new file mode 100644 index 00000000..ab84e1a5 --- /dev/null +++ b/doc/html/_me_limit_switch_8h__incl.md5 @@ -0,0 +1 @@ +9781896e9f9ed9108828f924fa0e89d2 \ No newline at end of file diff --git a/doc/html/_me_limit_switch_8h__incl.png b/doc/html/_me_limit_switch_8h__incl.png new file mode 100644 index 00000000..1650bd1f Binary files /dev/null and b/doc/html/_me_limit_switch_8h__incl.png differ diff --git a/doc/html/_me_limit_switch_8h_source.html b/doc/html/_me_limit_switch_8h_source.html new file mode 100644 index 00000000..916ba019 --- /dev/null +++ b/doc/html/_me_limit_switch_8h_source.html @@ -0,0 +1,159 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLimitSwitch.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLimitSwitch.h
+
+
+Go to the documentation of this file.
1
+
39/* Define to prevent recursive inclusion -------------------------------------*/
+
40#ifndef MeLimitSwitch_H
+
41#define MeLimitSwitch_H
+
42
+
43/* Includes ------------------------------------------------------------------*/
+
44#include <stdint.h>
+
45#include <stdbool.h>
+
46#include <Arduino.h>
+
47#include "MeConfig.h"
+
48
+
49#ifdef ME_PORT_DEFINED
+
50#include "MePort.h"
+
51#endif // ME_PORT_DEFINED
+
52
+
53/* Exported classes ----------------------------------------------------------*/
+
59#ifndef ME_PORT_DEFINED
+
60class MeLimitSwitch
+
61#else // !ME_PORT_DEFINED
+
+
62class MeLimitSwitch : public MePort
+
63#endif // !ME_PORT_DEFINED
+
64{
+
65public:
+
66#ifdef ME_PORT_DEFINED
+
73 MeLimitSwitch(void);
+
74
+
81 MeLimitSwitch(uint8_t port);
+
82
+
91 MeLimitSwitch(uint8_t port, uint8_t slot);
+
92#else // ME_PORT_DEFINED
+
98 MeLimitSwitch(uint8_t switchPin);
+
99#endif // ME_PORT_DEFINED
+
114 void setpin(uint8_t switchPin);
+
115
+
130 bool touched(void);
+
131
+
132private:
+
133 uint8_t _switchPin;
+
134};
+
+
135#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me_LimitSwitch module.
Definition MeLimitSwitch.h:64
+
MeLimitSwitch(void)
Definition MeLimitSwitch.cpp:53
+
bool touched(void)
Definition MeLimitSwitch.cpp:146
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_line_follower_8cpp.html b/doc/html/_me_line_follower_8cpp.html new file mode 100644 index 00000000..27381346 --- /dev/null +++ b/doc/html/_me_line_follower_8cpp.html @@ -0,0 +1,189 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLineFollower.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLineFollower.cpp File Reference
+
+
+ +

Driver for Me line follwer device. +More...

+
#include "MeLineFollower.h"
+
+Include dependency graph for MeLineFollower.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me line follwer device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me line follwer device, It supports line follwer device V2.2 provided by the MakeBlock. The line follwer used Infrared Tube to Use infrared receiver and transmitter to detect the black line.
+
Method List:
+
    +
  1. void MeLineFollower::setpin(uint8_t Sensor1,uint8_t Sensor2)
  2. +
  3. uint8_t MeLineFollower::readSensors(void)
  4. +
  5. bool MeLineFollower::readSensor1(void)
  6. +
  7. bool MeLineFollower::readSensor1(void)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/07     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_line_follower_8cpp__incl.map b/doc/html/_me_line_follower_8cpp__incl.map new file mode 100644 index 00000000..24fbfa75 --- /dev/null +++ b/doc/html/_me_line_follower_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_line_follower_8cpp__incl.md5 b/doc/html/_me_line_follower_8cpp__incl.md5 new file mode 100644 index 00000000..45ee12fd --- /dev/null +++ b/doc/html/_me_line_follower_8cpp__incl.md5 @@ -0,0 +1 @@ +bcc9bac3bf7af28f256ed669c60bdaeb \ No newline at end of file diff --git a/doc/html/_me_line_follower_8cpp__incl.png b/doc/html/_me_line_follower_8cpp__incl.png new file mode 100644 index 00000000..068f0a40 Binary files /dev/null and b/doc/html/_me_line_follower_8cpp__incl.png differ diff --git a/doc/html/_me_line_follower_8h.html b/doc/html/_me_line_follower_8h.html new file mode 100644 index 00000000..c8c07bfe --- /dev/null +++ b/doc/html/_me_line_follower_8h.html @@ -0,0 +1,242 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLineFollower.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLineFollower.h File Reference
+
+
+ +

Header for for MeLineFollower.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeLineFollower.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeLineFollower
 Driver for Me line follwer device. More...
 
+ + + + + + + + + +

+Macros

+#define S1_IN_S2_IN   (0x00)
 
+#define S1_IN_S2_OUT   (0x01)
 
+#define S1_OUT_S2_IN   (0x02)
 
+#define S1_OUT_S2_OUT   (0x03)
 
+

Detailed Description

+

Header for for MeLineFollower.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me line follwer device, It supports line follwer device V2.2 provided by the MakeBlock. The line follwer used Infrared Tube to Use infrared receiver and transmitter to detect the black line.
+
Method List:
+
    +
  1. void MeLineFollower::setpin(uint8_t Sensor1,uint8_t Sensor2)
  2. +
  3. uint8_t MeLineFollower::readSensors(void)
  4. +
  5. bool MeLineFollower::readSensor1(void)
  6. +
  7. bool MeLineFollower::readSensor1(void)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/07     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_line_follower_8h.js b/doc/html/_me_line_follower_8h.js new file mode 100644 index 00000000..5d529b76 --- /dev/null +++ b/doc/html/_me_line_follower_8h.js @@ -0,0 +1,4 @@ +var _me_line_follower_8h = +[ + [ "MeLineFollower", "class_me_line_follower.html", "class_me_line_follower" ] +]; \ No newline at end of file diff --git a/doc/html/_me_line_follower_8h__dep__incl.map b/doc/html/_me_line_follower_8h__dep__incl.map new file mode 100644 index 00000000..ccffc944 --- /dev/null +++ b/doc/html/_me_line_follower_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_line_follower_8h__dep__incl.md5 b/doc/html/_me_line_follower_8h__dep__incl.md5 new file mode 100644 index 00000000..81c29c8e --- /dev/null +++ b/doc/html/_me_line_follower_8h__dep__incl.md5 @@ -0,0 +1 @@ +6a1f2656c8001ed5207a8a8f7d139b17 \ No newline at end of file diff --git a/doc/html/_me_line_follower_8h__dep__incl.png b/doc/html/_me_line_follower_8h__dep__incl.png new file mode 100644 index 00000000..c4196f64 Binary files /dev/null and b/doc/html/_me_line_follower_8h__dep__incl.png differ diff --git a/doc/html/_me_line_follower_8h__incl.map b/doc/html/_me_line_follower_8h__incl.map new file mode 100644 index 00000000..5372540b --- /dev/null +++ b/doc/html/_me_line_follower_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_line_follower_8h__incl.md5 b/doc/html/_me_line_follower_8h__incl.md5 new file mode 100644 index 00000000..f3a75448 --- /dev/null +++ b/doc/html/_me_line_follower_8h__incl.md5 @@ -0,0 +1 @@ +3cc49dde4d8d68a0df6312c56a555191 \ No newline at end of file diff --git a/doc/html/_me_line_follower_8h__incl.png b/doc/html/_me_line_follower_8h__incl.png new file mode 100644 index 00000000..e53a1b0d Binary files /dev/null and b/doc/html/_me_line_follower_8h__incl.png differ diff --git a/doc/html/_me_line_follower_8h_source.html b/doc/html/_me_line_follower_8h_source.html new file mode 100644 index 00000000..89801fa2 --- /dev/null +++ b/doc/html/_me_line_follower_8h_source.html @@ -0,0 +1,165 @@ + + + + + + + +MakeBlock Drive Updated: src/MeLineFollower.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLineFollower.h
+
+
+Go to the documentation of this file.
1
+
42#ifndef MeLineFollower_H
+
43#define MeLineFollower_H
+
44
+
45#include <stdint.h>
+
46#include <stdbool.h>
+
47#include <Arduino.h>
+
48#include "MeConfig.h"
+
49
+
50#ifdef ME_PORT_DEFINED
+
51#include "MePort.h"
+
52#endif // ME_PORT_DEFINED
+
53
+
54#define S1_IN_S2_IN (0x00) // sensor1 and sensor2 are both inside of black line
+
55#define S1_IN_S2_OUT (0x01) // sensor1 is inside of black line and sensor2 is outside of black line
+
56#define S1_OUT_S2_IN (0x02) // sensor1 is outside of black line and sensor2 is inside of black line
+
57#define S1_OUT_S2_OUT (0x03) // sensor1 and sensor2 are both outside of black line
+
58
+
64#ifndef ME_PORT_DEFINED
+ +
66#else // !ME_PORT_DEFINED
+
+
67class MeLineFollower : public MePort
+
68#endif // ME_PORT_DEFINED
+
69{
+
70public:
+
71#ifdef ME_PORT_DEFINED
+
78 MeLineFollower(void);
+
79
+
85 MeLineFollower(uint8_t port);
+
86#else // ME_PORT_DEFINED
+
95 MeLineFollower(uint8_t Sensor1,uint8_t Sensor2);
+
96#endif // ME_PORT_DEFINED
+
113 void setpin(uint8_t Sensor1,uint8_t Sensor2);
+
114
+
130 uint8_t readSensors(void);
+
131
+
145 bool readSensor1(void);
+
146
+
160 bool readSensor2(void);
+
161private:
+
162 volatile uint8_t _Sensor1;
+
163 volatile uint8_t _Sensor2;
+
164};
+
+
165#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me line follwer device.
Definition MeLineFollower.h:69
+
MeLineFollower(void)
Definition MeLineFollower.cpp:53
+
bool readSensor2(void)
Definition MeLineFollower.cpp:177
+
uint8_t readSensors(void)
Definition MeLineFollower.cpp:128
+
bool readSensor1(void)
Definition MeLineFollower.cpp:155
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_m_core_8h.html b/doc/html/_me_m_core_8h.html new file mode 100644 index 00000000..c484b58f --- /dev/null +++ b/doc/html/_me_m_core_8h.html @@ -0,0 +1,475 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMCore.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMCore.h File Reference
+
+
+ +

Driver for mCore Board. +More...

+
#include <Arduino.h>
+#include "MeConfig.h"
+#include "Me7SegmentDisplay.h"
+#include "MeUltrasonicSensor.h"
+#include "MeMbotDCMotor.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 "MeEncoderMotor.h"
+#include "MeEncoderNew.h"
+#include "MeIR.h"
+#include "MeLEDMatrix.h"
+#include "MeBuzzer.h"
+#include "MeHumitureSensor.h"
+#include "MeFlameSensor.h"
+#include "MeGasSensor.h"
+#include "MePS2.h"
+#include "MeColorSensor.h"
+
+Include dependency graph for MeMCore.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + +

+Variables

MePort_Sig mePort [17]
 
+

Detailed Description

+

Driver for mCore Board.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2016/09/23
+

Driver for mCore Board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is Hardware adaptation layer between Mbot board and all MakeBlock drives
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01         1.0.0            Rebuild the old lib.
+Mark Yan         2015/11/09         1.0.1            fix some comments error.
+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 .
+
+

Variable Documentation

+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { 11, 12 }, { 9, 10 }, { A2, A3 }, { A0, A1 },
+
{ NC, NC }, { 8, A6 }, { A7, 13 }, { 8, A6 }, { 6, 7 },
+
{ 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ NC, NC },{ NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_m_core_8h__incl.map b/doc/html/_me_m_core_8h__incl.map new file mode 100644 index 00000000..e91ee584 --- /dev/null +++ b/doc/html/_me_m_core_8h__incl.map @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_m_core_8h__incl.md5 b/doc/html/_me_m_core_8h__incl.md5 new file mode 100644 index 00000000..846d769c --- /dev/null +++ b/doc/html/_me_m_core_8h__incl.md5 @@ -0,0 +1 @@ +3bda152cc7fafdd5e22cbb0fb75f86c7 \ No newline at end of file diff --git a/doc/html/_me_m_core_8h__incl.png b/doc/html/_me_m_core_8h__incl.png new file mode 100644 index 00000000..de6e89d3 Binary files /dev/null and b/doc/html/_me_m_core_8h__incl.png differ diff --git a/doc/html/_me_m_core_8h_source.html b/doc/html/_me_m_core_8h_source.html new file mode 100644 index 00000000..427e90ff --- /dev/null +++ b/doc/html/_me_m_core_8h_source.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMCore.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMCore.h
+
+
+Go to the documentation of this file.
1
+
36#ifndef MeMCore_H
+
37#define MeMCore_H
+
38
+
39#include <Arduino.h>
+
40#include "MeConfig.h"
+
41
+
42/* Supported Modules drive needs to be added here */
+
43#include "Me7SegmentDisplay.h"
+
44#include "MeUltrasonicSensor.h"
+
45#include "MeMbotDCMotor.h"
+
46#include "MeRGBLed.h"
+
47#include "Me4Button.h"
+
48#include "MePotentiometer.h"
+
49#include "MeJoystick.h"
+
50#include "MePIRMotionSensor.h"
+
51#include "MeShutter.h"
+
52#include "MeLineFollower.h"
+
53#include "MeSoundSensor.h"
+
54#include "MeLimitSwitch.h"
+
55#include "MeLightSensor.h"
+
56#include "MeSerial.h"
+
57#include "MeBluetooth.h"
+
58#include "MeWifi.h"
+
59#include "MeTemperature.h"
+
60#include "MeGyro.h"
+
61#include "MeInfraredReceiver.h"
+
62#include "MeCompass.h"
+
63#include "MeUSBHost.h"
+
64#include "MeTouchSensor.h"
+
65#include "MeStepper.h"
+
66#include "MeEncoderMotor.h"
+
67#include "MeEncoderNew.h"
+
68#include "MeIR.h"
+
69#include "MeLEDMatrix.h"
+
70#include "MeBuzzer.h"
+
71#include "MeHumitureSensor.h"
+
72#include "MeFlameSensor.h"
+
73#include "MeGasSensor.h"
+
74#include "MePS2.h"
+
75#include "MeColorSensor.h"
+
76/********************* Mbot Board GPIO Map *********************************/
+
77MePort_Sig mePort[17] =
+
78{
+
79 { NC, NC }, { 11, 12 }, { 9, 10 }, { A2, A3 }, { A0, A1 },
+
80 { NC, NC }, { 8, A6 }, { A7, 13 }, { 8, A6 }, { 6, 7 },
+
81 { 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
82 { NC, NC },{ NC, NC },
+
83};
+
84#endif // MeMCore_H
+
85
+
Header for Me4Button.cpp module.
+
Header file for Me7SegmentDisplay.cpp.
+
Header for MeBluetooth.cpp module.
+
Header for MeBuzzer.cpp module.
+
Header for MeColorSensor.cpp module.
+
Header for MeCompass.cpp module.
+
Configuration file of library.
+
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 MeIR.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.
+
Driver for Mbot DC Motor.
+
Header for MePIRMotionSensor.cpp.
+
Header for MePS2.cpp module.
+
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
+
+
+ + + + diff --git a/doc/html/_me_mbot_d_c_motor_8cpp.html b/doc/html/_me_mbot_d_c_motor_8cpp.html new file mode 100644 index 00000000..0da37029 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8cpp.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMbotDCMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMbotDCMotor.cpp File Reference
+
+
+ +

Driver for Mbot DC Motor. +More...

+
#include "MeMbotDCMotor.h"
+
+Include dependency graph for MeMbotDCMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Mbot DC Motor.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/09
+

Driver for Mbot DC Motor.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is Hardware adaptation layer between Mbot board and all MakeBlock drives
+
Method List:
+
    +
  1. void MBotDCMotor::move(int direction, int speed);
  2. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+Mark Yan         2015/11/09     1.0.1            fix some comments error.
+
+
+
+ + + + diff --git a/doc/html/_me_mbot_d_c_motor_8cpp__incl.map b/doc/html/_me_mbot_d_c_motor_8cpp__incl.map new file mode 100644 index 00000000..922f3194 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8cpp__incl.map @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mbot_d_c_motor_8cpp__incl.md5 b/doc/html/_me_mbot_d_c_motor_8cpp__incl.md5 new file mode 100644 index 00000000..2b929c97 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +11b7f7e54e2cc80653fb6dbc7401d72e \ No newline at end of file diff --git a/doc/html/_me_mbot_d_c_motor_8cpp__incl.png b/doc/html/_me_mbot_d_c_motor_8cpp__incl.png new file mode 100644 index 00000000..e2610586 Binary files /dev/null and b/doc/html/_me_mbot_d_c_motor_8cpp__incl.png differ diff --git a/doc/html/_me_mbot_d_c_motor_8h.html b/doc/html/_me_mbot_d_c_motor_8h.html new file mode 100644 index 00000000..d3643106 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h.html @@ -0,0 +1,221 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMbotDCMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMbotDCMotor.h File Reference
+
+
+ +

Driver for Mbot DC Motor. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+#include "MeDCMotor.h"
+
+Include dependency graph for MeMbotDCMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  MBotDCMotor
 
+

Detailed Description

+

Driver for Mbot DC Motor.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/11/09
+

Header for MeMbotDCMotor.cpp module

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is Hardware adaptation layer between Mbot board and all MakeBlock drives
+
Method List:
+
    +
  1. void MBotDCMotor::move(int direction, int speed);
  2. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+Mark Yan         2015/11/09     1.0.1            fix some comments error.
+
+
+
+ + + + diff --git a/doc/html/_me_mbot_d_c_motor_8h.js b/doc/html/_me_mbot_d_c_motor_8h.js new file mode 100644 index 00000000..397085b9 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h.js @@ -0,0 +1,4 @@ +var _me_mbot_d_c_motor_8h = +[ + [ "MBotDCMotor", "class_m_bot_d_c_motor.html", "class_m_bot_d_c_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_mbot_d_c_motor_8h__dep__incl.map b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.map new file mode 100644 index 00000000..ba2818dc --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_mbot_d_c_motor_8h__dep__incl.md5 b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..23f4c196 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +3ed95255e103c383fbc800aba0ff348c \ No newline at end of file diff --git a/doc/html/_me_mbot_d_c_motor_8h__dep__incl.png b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.png new file mode 100644 index 00000000..71cdcfc1 Binary files /dev/null and b/doc/html/_me_mbot_d_c_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_mbot_d_c_motor_8h__incl.map b/doc/html/_me_mbot_d_c_motor_8h__incl.map new file mode 100644 index 00000000..c1dbf161 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mbot_d_c_motor_8h__incl.md5 b/doc/html/_me_mbot_d_c_motor_8h__incl.md5 new file mode 100644 index 00000000..85cfa770 --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h__incl.md5 @@ -0,0 +1 @@ +c1537b6d0fe64f3eb44f53391661b47f \ No newline at end of file diff --git a/doc/html/_me_mbot_d_c_motor_8h__incl.png b/doc/html/_me_mbot_d_c_motor_8h__incl.png new file mode 100644 index 00000000..1136b98c Binary files /dev/null and b/doc/html/_me_mbot_d_c_motor_8h__incl.png differ diff --git a/doc/html/_me_mbot_d_c_motor_8h_source.html b/doc/html/_me_mbot_d_c_motor_8h_source.html new file mode 100644 index 00000000..bc8614cb --- /dev/null +++ b/doc/html/_me_mbot_d_c_motor_8h_source.html @@ -0,0 +1,145 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMbotDCMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMbotDCMotor.h
+
+
+Go to the documentation of this file.
1
+
38#ifndef MeMbotDCMotor_H
+
39#define MeMbotDCMotor_H
+
40
+
41#include <stdint.h>
+
42#include <stdbool.h>
+
43#include <Arduino.h>
+
44#include "MeConfig.h"
+
45
+
46#ifdef ME_PORT_DEFINED
+
47#include "MePort.h"
+
48#endif
+
49
+
50#ifdef ME_PORT_DEFINED
+
51#include "MeDCMotor.h"
+
52
+
+
58class MBotDCMotor : public MeDCMotor
+
59{
+
60public:
+
67 MBotDCMotor(uint8_t port);
+
68
+
85 void move(int direction, int speed);
+
86};
+
+
87#endif //ME_PORT_DEFINED
+
88#endif //MeMbotDCMotor_H
+
89
+
Configuration file of library.
+
Header for MeDCMotor.cpp module.
+
Header for MePort.cpp module.
+
Definition MeMbotDCMotor.h:59
+
void move(int direction, int speed)
Definition MeMbotDCMotor.cpp:68
+
Driver for Me DC motor device.
Definition MeDCMotor.h:64
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_8h.html b/doc/html/_me_mega_pi_8h.html new file mode 100644 index 00000000..22e06bf7 --- /dev/null +++ b/doc/html/_me_mega_pi_8h.html @@ -0,0 +1,576 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPi.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPi.h File Reference
+
+
+ +

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"
+
+Include dependency graph for MeMegaPi.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]
 
+

Detailed Description

+

Driver for MegaPi board.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.5
+
Date
2016/09/23
+

Driver for MegaPi board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is the driver for MegaPi board by MakeBlock.
+
History:
+`<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
+
+

Variable Documentation

+ +

◆ encoder_Port

+ +
+
+ + + + +
Encoder_port_type encoder_Port[6]
+
+Initial value:
=
+
{
+
{ NC, NC, NC, NC, NC},
+
+
{ 18, 31, 12, 34, 35},
+
+
{ 19, 38, 8, 37, 36},
+
{ 3, 49, 9, 43, 42},
+
{ 2, A1, 5, A4, A5},
+
{ NC, NC, NC, NC, NC},
+
}
+
+
+
+ +

◆ megapi_dc_Port

+ +
+
+ + + + +
megapi_dc_type megapi_dc_Port[14]
+
+Initial value:
=
+
{
+
{NC,NC,NC}, {33,32,11}, {40,41, 7}, {47,48, 6}, {A3,A2, 4},
+
{NC,NC,NC}, {NC,NC,NC}, {NC,NC,NC}, {NC,NC,NC}, {35,34,12},
+
{36,37, 8}, {42,43, 9}, {A5,A4, 5},
+
}
+
+
+
+ +

◆ megaPi_slots

+ +
+
+ + + + +
megaPi_slot_type megaPi_slots[4]
+
+Initial value:
=
+
{
+
{35, 34, 33, 32, 31, 18, 12, 11},
+
{36, 37, 40, 41, 38, 19, 8, 7},
+
{42, 43, 47, 48, 49, 3, 9, 6},
+
{A5, A4, A3, A2, A1, 2, 5, 4},
+
}
+
+
+
+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ 16, 17 }, { A8, A9 }, { A10, A11 }, { A13, A12 }, { NC, NC },
+
{ NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ NC, NC },{ NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_8h__incl.map b/doc/html/_me_mega_pi_8h__incl.map new file mode 100644 index 00000000..8b7e43c1 --- /dev/null +++ b/doc/html/_me_mega_pi_8h__incl.map @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_8h__incl.md5 b/doc/html/_me_mega_pi_8h__incl.md5 new file mode 100644 index 00000000..0be7fd52 --- /dev/null +++ b/doc/html/_me_mega_pi_8h__incl.md5 @@ -0,0 +1 @@ +12af885d42deb3aa5f7bd1a7cd94a003 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_8h__incl.png b/doc/html/_me_mega_pi_8h__incl.png new file mode 100644 index 00000000..ca1edd54 Binary files /dev/null and b/doc/html/_me_mega_pi_8h__incl.png differ diff --git a/doc/html/_me_mega_pi_8h_source.html b/doc/html/_me_mega_pi_8h_source.html new file mode 100644 index 00000000..c6af4936 --- /dev/null +++ b/doc/html/_me_mega_pi_8h_source.html @@ -0,0 +1,241 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPi.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPi.h
+
+
+Go to the documentation of this file.
1
+
36#ifndef MeMegaPi_H
+
37#define MeMegaPi_H
+
38
+
39#include <Arduino.h>
+
40#include "MeConfig.h"
+
41
+
42// Supported Modules drive needs to be added here
+
43#include "Me7SegmentDisplay.h"
+
44#include "MeUltrasonicSensor.h"
+
45#include "MeDCMotor.h"
+
46#include "MeRGBLed.h"
+
47#include "Me4Button.h"
+
48#include "MePotentiometer.h"
+
49#include "MeJoystick.h"
+
50#include "MePIRMotionSensor.h"
+
51#include "MeShutter.h"
+
52#include "MeLineFollower.h"
+
53#include "MeSoundSensor.h"
+
54#include "MeLimitSwitch.h"
+
55#include "MeLightSensor.h"
+
56#include "MeSerial.h"
+
57#include "MeBluetooth.h"
+
58#include "MeWifi.h"
+
59#include "MeTemperature.h"
+
60#include "MeGyro.h"
+
61#include "MeInfraredReceiver.h"
+
62#include "MeCompass.h"
+
63#include "MeUSBHost.h"
+
64#include "MeTouchSensor.h"
+
65#include "MeStepper.h"
+
66#include "MeStepperOnBoard.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 "MeMegaPiDCMotor.h"
+
76#include "MePressureSensor.h"
+
77#include "MePS2.h"
+
78#include "MeColorSensor.h"
+
79/********************* MegaPi Board GPIO Map *********************************/
+
80// struct defined in MeMegaPi.h
+
81#define PORT1A PORT_1
+
82#define PORT1B PORT_9
+
83#define PORT2A PORT_2
+
84#define PORT2B PORT_10
+
85#define PORT3A PORT_3
+
86#define PORT3B PORT_11
+
87#define PORT4A PORT_4
+
88#define PORT4B PORT_12
+
89
+
90 MePort_Sig mePort[17] =
+
91 {
+
92 { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
93 { 16, 17 }, { A8, A9 }, { A10, A11 }, { A13, A12 }, { NC, NC },
+
94 { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
95 { NC, NC },{ NC, NC },
+
96 };
+
97
+
98Encoder_port_type encoder_Port[6] =
+
99{
+
100 { NC, NC, NC, NC, NC},
+
101 //NET2 NET1 PWM DIR1 DIR2
+
102 { 18, 31, 12, 34, 35},
+
103 //ENB A ENB B PWMB DIR B1 DIR B2
+
104 { 19, 38, 8, 37, 36},
+
105 { 3, 49, 9, 43, 42},
+
106 { 2, A1, 5, A4, A5},
+
107 { NC, NC, NC, NC, NC},
+
108};
+
109
+
110megapi_dc_type megapi_dc_Port[14] =
+
111{
+
112 {NC,NC,NC}, {33,32,11}, {40,41, 7}, {47,48, 6}, {A3,A2, 4},
+
113 {NC,NC,NC}, {NC,NC,NC}, {NC,NC,NC}, {NC,NC,NC}, {35,34,12},
+
114 {36,37, 8}, {42,43, 9}, {A5,A4, 5},
+
115};
+
116
+
117megaPi_slot_type megaPi_slots[4] =
+
118{
+
119 {35, 34, 33, 32, 31, 18, 12, 11},
+
120 {36, 37, 40, 41, 38, 19, 8, 7},
+
121 {42, 43, 47, 48, 49, 3, 9, 6},
+
122 {A5, A4, A3, A2, A1, 2, 5, 4}, // for megapi
+
123};
+
124//for step motor on board
+
125#endif // MeMegaPi_H
+
Header for Me4Button.cpp module.
+
Header file for Me7SegmentDisplay.cpp.
+
Header for MeBluetooth.cpp module.
+
Header for MeBuzzer.cpp module.
+
Header for MeColorSensor.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 MeEncoderOnBoard.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 MeMegaPiDCMotor.cpp module.
+
Header for MePIRMotionSensor.cpp.
+
Header for MePS2.cpp module.
+
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 MeStepperOnBoard.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 MeEncoderOnBoard.h:122
+
Definition MePort.h:71
+
Definition MeStepperOnBoard.h:77
+
Definition MeMegaPiDCMotor.h:50
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8cpp.html b/doc/html/_me_mega_pi_d_c_motor_8cpp.html new file mode 100644 index 00000000..4296adc2 --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8cpp.html @@ -0,0 +1,179 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiDCMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiDCMotor.cpp File Reference
+
+
+ +

Driver for Me Megapi DC motor device. +More...

+
#include "MeMegaPiDCMotor.h"
+
+Include dependency graph for MeMegaPiDCMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Megapi DC motor device.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2017/05/22
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Megapi DC mtor device.
+
Method List:
+
    +
  1. void MeMegaPiDCMotor::setpin(uint8_t dc_dir_h1,uint8_t dc_dir_h2,uint8_t pwm_pin)
  2. +
  3. void MeMegaPiDCMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiDCMotor::stop(void)
  6. +
  7. void MeMegaPiDCMotor::reset(uint8_t port)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/02/20     1.0.0            Rebuild the new.
+Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
+Zzipeng          2017/05/18     1.0.2            set all timer frequency at 970HZ
+
o
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.map b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.map new file mode 100644 index 00000000..9189b79c --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.map @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.md5 b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.md5 new file mode 100644 index 00000000..870bbd7c --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +8678d925e76b8a3568a121e731ed7dc5 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.png b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.png new file mode 100644 index 00000000..9f503bdf Binary files /dev/null and b/doc/html/_me_mega_pi_d_c_motor_8cpp__incl.png differ diff --git a/doc/html/_me_mega_pi_d_c_motor_8h.html b/doc/html/_me_mega_pi_d_c_motor_8h.html new file mode 100644 index 00000000..f2075d6b --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h.html @@ -0,0 +1,213 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiDCMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiDCMotor.h File Reference
+
+
+ +

Header for MeMegaPiDCMotor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+
+Include dependency graph for MeMegaPiDCMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  megapi_dc_type
 
class  MeMegaPiDCMotor
 Driver for Me Megapi DC motor device. More...
 
+ + + +

+Variables

+megapi_dc_type megapi_dc_Port [14]
 
+

Detailed Description

+

Header for MeMegaPiDCMotor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/04/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Megapi DC motor device.
+
Method List:
+
    +
  1. void MeMegaPiDCMotor::setpin(uint8_t dc_dir_h1,uint8_t dc_dir_h2,uint8_t pwm_pin)
  2. +
  3. void MeMegaPiDCMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiDCMotor::stop(void)
  6. +
  7. void MeMegaPiDCMotor::reset(uint8_t port)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/02/20     1.0.0            Rebuild the new.
+Mark Yan         2016/04/07     1.0.1            fix motor reset issue.
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8h.js b/doc/html/_me_mega_pi_d_c_motor_8h.js new file mode 100644 index 00000000..ad642ce1 --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h.js @@ -0,0 +1,5 @@ +var _me_mega_pi_d_c_motor_8h = +[ + [ "megapi_dc_type", "structmegapi__dc__type.html", null ], + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html", "class_me_mega_pi_d_c_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.map b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.map new file mode 100644 index 00000000..b2563145 --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.md5 b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..a4e8c06a --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +5bbcfe4a75735cf45ac5750d3a618b61 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.png b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.png new file mode 100644 index 00000000..31461a73 Binary files /dev/null and b/doc/html/_me_mega_pi_d_c_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__incl.map b/doc/html/_me_mega_pi_d_c_motor_8h__incl.map new file mode 100644 index 00000000..13ad7c40 --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h__incl.map @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__incl.md5 b/doc/html/_me_mega_pi_d_c_motor_8h__incl.md5 new file mode 100644 index 00000000..54756b2b --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h__incl.md5 @@ -0,0 +1 @@ +5ba62bca2449c01f2cf99e3745dd1338 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_d_c_motor_8h__incl.png b/doc/html/_me_mega_pi_d_c_motor_8h__incl.png new file mode 100644 index 00000000..18ecd293 Binary files /dev/null and b/doc/html/_me_mega_pi_d_c_motor_8h__incl.png differ diff --git a/doc/html/_me_mega_pi_d_c_motor_8h_source.html b/doc/html/_me_mega_pi_d_c_motor_8h_source.html new file mode 100644 index 00000000..8457045f --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_8h_source.html @@ -0,0 +1,165 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiDCMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiDCMotor.h
+
+
+Go to the documentation of this file.
1
+
41#ifndef MeMegaPiDCMotor_H
+
42#define MeMegaPiDCMotor_H
+
43
+
44#include <stdint.h>
+
45#include <stdbool.h>
+
46#include <Arduino.h>
+
47#include "MeConfig.h"
+
48
+
+
49typedef struct
+
50{
+
51 uint8_t dc_dir_h1;
+
52 uint8_t dc_dir_h2;
+
53 uint8_t pwm_pin; //PWM
+ +
+
55
+
56extern megapi_dc_type megapi_dc_Port[14]; // megapi_dc_Port[0] is nonsense
+
57
+
+ +
64{
+
65public:
+
72 MeMegaPiDCMotor(void);
+
73
+
79 MeMegaPiDCMotor(uint8_t port);
+
80
+
91 MeMegaPiDCMotor(uint8_t dc_dir_h1,uint8_t dc_dir_h2,uint8_t pwm_pin);
+
92
+
107 void reset(uint8_t port);
+
108
+
127 void setpin(uint8_t dc_dir_h1,uint8_t dc_dir_h2,uint8_t pwm_pin);
+
128
+
143 void run(int16_t speed);
+
144
+
157 void stop(void);
+
158private:
+
159 volatile uint8_t _dc_dir_h1;
+
160 volatile uint8_t _dc_dir_h2;
+
161 volatile uint8_t _dc_pwm_pin;
+
162 volatile int16_t last_speed;
+
163};
+
+
164#endif //MeMegaPiDCMotor_H
+
165
+
Configuration file of library.
+
Driver for Me Megapi DC motor device.
Definition MeMegaPiDCMotor.h:64
+
void reset(uint8_t port)
Definition MeMegaPiDCMotor.cpp:207
+
void stop(void)
Definition MeMegaPiDCMotor.cpp:309
+
MeMegaPiDCMotor(void)
Definition MeMegaPiDCMotor.cpp:51
+
void setpin(uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)
Definition MeMegaPiDCMotor.cpp:236
+
void run(int16_t speed)
Definition MeMegaPiDCMotor.cpp:261
+
Definition MeMegaPiDCMotor.h:50
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_d_c_motor_test_8ino-example.html b/doc/html/_me_mega_pi_d_c_motor_test_8ino-example.html new file mode 100644 index 00000000..79711146 --- /dev/null +++ b/doc/html/_me_mega_pi_d_c_motor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeMegaPiDCMotorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiDCMotorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8cpp.html b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp.html new file mode 100644 index 00000000..9f361f52 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp.html @@ -0,0 +1,190 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiPro4DcMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiPro4DcMotor.cpp File Reference
+
+
+ +

Driver for Me DC motor device. +More...

+
+Include dependency graph for MeMegaPiPro4DcMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me DC motor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2017/03/14
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me DC motor device.
+
Method List:
+
    +
  1. void MeMegaPiPro4DcMotor::setpin(uint8_t dir_pin,uint8_t pwm_pin)
  2. +
  3. void MeMegaPiPro4DcMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiPro4DcMotor::stop(void)
  6. +
  7. void MeMegaPiPro4DcMotor::reset(uint8_t port)
  8. +
  9. void MeMegaPiPro4DcMotor::reset(uint8_t port, uint8_t slot)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Zzipeng          2017/03/14          1.0.0            build the new
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.map b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.map new file mode 100644 index 00000000..32b54a21 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.md5 b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.md5 new file mode 100644 index 00000000..1fa48106 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +7c77c996b85e51c3d2a88297840d29b8 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.png b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.png new file mode 100644 index 00000000..bc21ecae Binary files /dev/null and b/doc/html/_me_mega_pi_pro4_dc_motor_8cpp__incl.png differ diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h.html b/doc/html/_me_mega_pi_pro4_dc_motor_8h.html new file mode 100644 index 00000000..42cf7dd2 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h.html @@ -0,0 +1,213 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiPro4DcMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiPro4DcMotor.h File Reference
+
+
+ +

Header for MeMegaPiPro4DcMotor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeMegaPiPro4DcMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeMegaPiPro4DcMotor
 Driver for Me DC motor device. More...
 
+

Detailed Description

+

Header for MeMegaPiPro4DcMotor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2017/03/02
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me 4DC motor device.
+
Method List:
+
    +
  1. void MeMegaPiPro4DcMotor::setpin(uint8_t dir_pin,uint8_t pwm_pin)
  2. +
  3. void MeMegaPiPro4DcMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiPro4DcMotor::stop(void)
  6. +
  7. void MeMegaPiPro4DcMotor::reset(uint8_t port)
  8. +
  9. void MeMegaPiPro4DcMotor::reset(uint8_t port, uint8_t slot)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Zzipeng          2017/03/02          1.0.0            build the new
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h.js b/doc/html/_me_mega_pi_pro4_dc_motor_8h.js new file mode 100644 index 00000000..d3e7ed6b --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h.js @@ -0,0 +1,4 @@ +var _me_mega_pi_pro4_dc_motor_8h = +[ + [ "MeMegaPiPro4DcMotor", "class_me_mega_pi_pro4_dc_motor.html", "class_me_mega_pi_pro4_dc_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.map b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.map new file mode 100644 index 00000000..8c352b11 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.md5 b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..722ea248 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +d7dfc3ac07f8c2692b9137e15e4bcea5 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.png b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.png new file mode 100644 index 00000000..1acccaec Binary files /dev/null and b/doc/html/_me_mega_pi_pro4_dc_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.map b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.map new file mode 100644 index 00000000..07d2daeb --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.md5 b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.md5 new file mode 100644 index 00000000..b5ee00f4 --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.md5 @@ -0,0 +1 @@ +0461504cdb82475d8da2f0e8d64d253f \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.png b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.png new file mode 100644 index 00000000..d674938b Binary files /dev/null and b/doc/html/_me_mega_pi_pro4_dc_motor_8h__incl.png differ diff --git a/doc/html/_me_mega_pi_pro4_dc_motor_8h_source.html b/doc/html/_me_mega_pi_pro4_dc_motor_8h_source.html new file mode 100644 index 00000000..57618a6b --- /dev/null +++ b/doc/html/_me_mega_pi_pro4_dc_motor_8h_source.html @@ -0,0 +1,166 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiPro4DcMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiPro4DcMotor.h
+
+
+Go to the documentation of this file.
1
+
41#ifndef MeMegaPiPro4DcMotor_H
+
42#define MeMegaPiPro4DcMotor_H
+
43
+
44#include <stdint.h>
+
45#include <stdbool.h>
+
46#include <Arduino.h>
+
47#include "MeConfig.h"
+
48
+
49#ifdef ME_PORT_DEFINED
+
50#include "MePort.h"
+
51#endif
+
52
+
58#ifndef ME_PORT_DEFINED
+ +
60#else // !ME_PORT_DEFINED
+
+ +
62#endif // !ME_PORT_DEFINED
+
63{
+
64public:
+
65#ifdef ME_PORT_DEFINED
+ +
73
+
79 MeMegaPiPro4DcMotor(uint8_t port);
+
80#else // ME_PORT_DEFINED
+
89 MeMegaPiPro4DcMotor(uint8_t dir_pin,uint8_t pwm_pin);
+
90#endif // ME_PORT_DEFINED
+
107 void setpin(uint8_t dir_pin,uint8_t pwm_pin);
+
108
+
123 void reset(uint8_t port);
+
124
+
141 void reset(uint8_t port, uint8_t slot);
+
142
+
157 void run(int16_t speed);
+
158
+
171 void stop(void);
+
172private:
+
173 volatile uint8_t dc_dir_pin;
+
174 volatile uint8_t dc_pwm_pin;
+
175 int16_t last_speed;
+
176};
+
+
177#endif
+
178
+
179
+
180
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me DC motor device.
Definition MeMegaPiPro4DcMotor.h:63
+
void reset(uint8_t port)
Definition MeMegaPiPro4DcMotor.cpp:174
+
MeMegaPiPro4DcMotor(void)
Definition MeMegaPiPro4DcMotor.cpp:51
+
void run(int16_t speed)
Definition MeMegaPiPro4DcMotor.cpp:216
+
void stop(void)
Definition MeMegaPiPro4DcMotor.cpp:264
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_8h.html b/doc/html/_me_mega_pi_pro_8h.html new file mode 100644 index 00000000..ce98990c --- /dev/null +++ b/doc/html/_me_mega_pi_pro_8h.html @@ -0,0 +1,619 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiPro.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiPro.h File Reference
+
+
+ +

Driver for MegaPiPro 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 "MeSmartServo.h"
+#include "MeMegaPiProESCMotor.h"
+#include "MeColorSensor.h"
+
+Include dependency graph for MeMegaPiPro.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
 
+#define M9   (0X01)
 
+#define M10   (0X02)
 
+#define M11   (0X03)
 
+#define M12   (0X04)
 
+ + + + + + + + + + + +

+Variables

MePort_Sig mePort [17]
 
megapi_dc_type megapi_dc_Port [14]
 
Encoder_port_type encoder_Port [6]
 
megaPi_slot_type megaPi_slots [4]
 
megapipro_esc_type megapi_esc_Port [5]
 
+

Detailed Description

+

Driver for MegaPiPro board.

+
Copyright (C), 2012-2017, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2017/05/22
+

Driver for MegaPiPro board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is the driver for MegaPiPro board by MakeBlock.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Zzipeng          2017/02/27          1.0.0            build the new
+Zzipeng          2017/03/14          1.0.1            add MeSmartServo.h.
+Zzipeng          2017/02/20          1.0.2            put the array megaPi_slots[4] to MegaPipro.h
+Zzipeng          2017/05/20          1.0.3            add MeMegaPiProESCMotor.h
+Zzipeng          2017/05/22          1.0.4            add MeColorSensor.h
+
+

Variable Documentation

+ +

◆ encoder_Port

+ +
+
+ + + + +
Encoder_port_type encoder_Port[6]
+
+Initial value:
=
+
{
+
{ NC, NC, NC, NC, NC},
+
+
{ 18, 31, 12, 34, 35},
+
+
{ 19, 38, 8, 37, 36},
+
+
{ 3, 49, 9, 43, 42},
+
+
{ 2, 26, 5, 29, 39},
+
{ NC, NC, NC, NC, NC},
+
}
+
+
+
+ +

◆ megapi_dc_Port

+ +
+
+ + + + +
megapi_dc_type megapi_dc_Port[14]
+
+Initial value:
=
+
{
+
{ NC, NC }, {33,32,11}, {40,41, 7}, {47,48, 6}, {28,27, 4},
+
{ NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, {35,34,12},
+
{36,37, 8}, {42,43, 9}, {39,29, 5},
+
}
+
+
+
+ +

◆ megapi_esc_Port

+ +
+
+ + + + +
megapipro_esc_type megapi_esc_Port[5]
+
+Initial value:
=
+
{
+
{ NC}, {12}, {8}, {9}, {5},
+
}
+
+
+
+ +

◆ megaPi_slots

+ +
+
+ + + + +
megaPi_slot_type megaPi_slots[4]
+
+Initial value:
=
+
{
+
{35, 34, 33, 32, 31, 18, 12, 11},
+
{36, 37, 40, 41, 38, 19, 8, 7},
+
{42, 43, 47, 48, 49, 3, 9, 6},
+
+
{39, 29, 28, 27, 26, 2, 5, 4}
+
}
+
+
+
+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC },{ 46, 23 }, { 45, 22 }, { 44, 25 }, { 10, 24 },
+
{ 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },
+
{ A7, A8 },{ A6, A5 }, { A1, A2 }, { NC, NC }, { NC, NC },
+
{ NC, NC }, { NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_8h__incl.map b/doc/html/_me_mega_pi_pro_8h__incl.map new file mode 100644 index 00000000..bac911f3 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_8h__incl.map @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_pro_8h__incl.md5 b/doc/html/_me_mega_pi_pro_8h__incl.md5 new file mode 100644 index 00000000..7e249661 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_8h__incl.md5 @@ -0,0 +1 @@ +48796399be66e773a75c348e4ac7e790 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro_8h__incl.png b/doc/html/_me_mega_pi_pro_8h__incl.png new file mode 100644 index 00000000..42330224 Binary files /dev/null and b/doc/html/_me_mega_pi_pro_8h__incl.png differ diff --git a/doc/html/_me_mega_pi_pro_8h_source.html b/doc/html/_me_mega_pi_pro_8h_source.html new file mode 100644 index 00000000..a655043c --- /dev/null +++ b/doc/html/_me_mega_pi_pro_8h_source.html @@ -0,0 +1,262 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiPro.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiPro.h
+
+
+Go to the documentation of this file.
1
+
35#ifndef MeMegaPiPro_H
+
36#define MeMegaPiPro_H
+
37
+
38#include <Arduino.h>
+
39#include "MeConfig.h"
+
40
+
41// Supported Modules drive needs to be added here
+
42#include "Me7SegmentDisplay.h"
+
43#include "MeUltrasonicSensor.h"
+
44#include "MeDCMotor.h"
+
45#include "MeRGBLed.h"
+
46#include "Me4Button.h"
+
47#include "MePotentiometer.h"
+
48#include "MeJoystick.h"
+
49#include "MePIRMotionSensor.h"
+
50#include "MeShutter.h"
+
51#include "MeLineFollower.h"
+
52#include "MeSoundSensor.h"
+
53#include "MeLimitSwitch.h"
+
54#include "MeLightSensor.h"
+
55#include "MeSerial.h"
+
56#include "MeBluetooth.h"
+
57#include "MeWifi.h"
+
58#include "MeTemperature.h"
+
59#include "MeGyro.h"
+
60#include "MeInfraredReceiver.h"
+
61#include "MeCompass.h"
+
62#include "MeUSBHost.h"
+
63#include "MeTouchSensor.h"
+
64#include "MeStepper.h"
+
65#include "MeStepperOnBoard.h"
+
66#include "MeEncoderMotor.h"
+
67#include "MeEncoderNew.h"
+
68#include "MeBuzzer.h"
+
69#include "MeLEDMatrix.h"
+
70#include "MeHumitureSensor.h"
+
71#include "MeFlameSensor.h"
+
72#include "MeGasSensor.h"
+
73#include "MeEncoderOnBoard.h"
+
74#include "MeMegaPiDCMotor.h"
+
75#include "MePressureSensor.h"
+
76#include "MePS2.h"
+
77#include "MeSmartServo.h"
+
78#include "MeDCMotor.h"
+
79#include "MeMegaPiProESCMotor.h"
+
80#include "MeColorSensor.h"
+
81
+
82/********************* MegaPiPro Board GPIO Map *********************************/
+
83// struct defined in MegaPiPro.h
+
84#define PORT1A PORT_1
+
85#define PORT1B PORT_9
+
86#define PORT2A PORT_2
+
87#define PORT2B PORT_10
+
88#define PORT3A PORT_3
+
89#define PORT3B PORT_11
+
90#define PORT4A PORT_4
+
91#define PORT4B PORT_12
+
92/*4 Dc Motor gpio Map*/
+
93#define M9 (0X01)
+
94#define M10 (0X02)
+
95#define M11 (0X03)
+
96#define M12 (0X04)
+
97
+
98 MePort_Sig mePort[17] =
+
99 {
+
100 { NC, NC },{ 46, 23 }, { 45, 22 }, { 44, 25 }, { 10, 24 },
+
101 { 16, 17 },{ A9, A4 }, { A10, A11}, { A15, A14}, { A13, A12 },
+
102 { A7, A8 },{ A6, A5 }, { A1, A2 }, { NC, NC }, { NC, NC },
+
103 { NC, NC }, { NC, NC },
+
104 };//PORT 5~ PORT 12 is for the RJ25 Shield
+
105 //PORT1~PORT4 is for the 4dcmotor shield
+
106
+
107megapi_dc_type megapi_dc_Port[14] =
+
108{
+
109 { NC, NC }, {33,32,11}, {40,41, 7}, {47,48, 6}, {28,27, 4},
+
110 { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC }, {35,34,12},
+
111 {36,37, 8}, {42,43, 9}, {39,29, 5},
+
112};
+
113
+
114Encoder_port_type encoder_Port[6] =
+
115{
+
116 { NC, NC, NC, NC, NC},
+
117 //NET1 NET2 PWM DIR1 DIR2
+
118 { 18, 31, 12, 34, 35},
+
119 //ENB A ENB B PWMB DIR B1 DIR B2
+
120 { 19, 38, 8, 37, 36},
+
121
+
122 { 3, 49, 9, 43, 42},
+
123
+
124 { 2, 26, 5, 29, 39},// for MegaPi Pro
+
125 { NC, NC, NC, NC, NC},
+
126};
+
127
+
128megaPi_slot_type megaPi_slots[4] =
+
129{
+
130 {35, 34, 33, 32, 31, 18, 12, 11},
+
131 {36, 37, 40, 41, 38, 19, 8, 7},
+
132 {42, 43, 47, 48, 49, 3, 9, 6},
+
133 /* {A5, A4, A3, A2, A1, 2, 5, 4}*/// for megapi
+
134 {39, 29, 28, 27, 26, 2, 5, 4}// for megapipro
+
135};
+
136
+
137megapipro_esc_type megapi_esc_Port[5] =
+
138{
+
139 { NC}, {12}, {8}, {9}, {5},
+
140};
+
141//for step motor on board
+
142#endif // MeMegaPiPro_H
+
Header for Me4Button.cpp module.
+
Header file for Me7SegmentDisplay.cpp.
+
Header for MeBluetooth.cpp module.
+
Header for MeBuzzer.cpp module.
+
Header for MeColorSensor.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 MeEncoderOnBoard.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 MeMegaPiDCMotor.cpp module.
+
Header for MeMegaPiProESCMotor.cpp module.
+
Header for MePIRMotionSensor.cpp.
+
Header for MePS2.cpp module.
+
Header for MePotentiometer.cpp.
+
Header for MeRGBLed.cpp module.
+
Header for for MeSerial.cpp module.
+
Header for MeShutter.cpp module.
+
Header for for MeSmartServo.cpp module.
+
Header for MeStepper.cpp module.
+
Header for MeStepperOnBoard.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 MeEncoderOnBoard.h:122
+
Definition MePort.h:71
+
Definition MeStepperOnBoard.h:77
+
Definition MeMegaPiDCMotor.h:50
+
Definition MeMegaPiProESCMotor.h:53
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp.html b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp.html new file mode 100644 index 00000000..ecab964a --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp.html @@ -0,0 +1,191 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiProESCMotor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiProESCMotor.cpp File Reference
+
+
+ +

Driver for Me Megapipro ESC motor device. +More...

+
+Include dependency graph for MeMegaPiProESCMotor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Megapipro ESC motor device.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2017/05/22
+
Copyright
This software is Copyright (C), 2012-2017, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Megapipro ESC mtor device.
+
Method List:
+
    +
  1. void MeMegaPiProESCMotor::setpin(uint8_t pwm_pin)
  2. +
  3. void MeMegaPiProESCMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiProESCMotor::stop(void)
  6. +
  7. void MeMegaPiProESCMotor::reset(uint8_t port)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Lan weiting         2017/05/09       1.0.0            Rebuild the new.
+Zzipeng             2017/05/12       1.0.1            add some details.
+Zzipeng             2017/05/22       1.0.2            limit bldc speed at 50% throttle.
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.map b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.map new file mode 100644 index 00000000..2bb2a9e6 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.md5 b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.md5 new file mode 100644 index 00000000..c1a3a601 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.md5 @@ -0,0 +1 @@ +735f32c7c46343194369a116fb2056c8 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.png b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.png new file mode 100644 index 00000000..e8e133ca Binary files /dev/null and b/doc/html/_me_mega_pi_pro_e_s_c_motor_8cpp__incl.png differ diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.html b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.html new file mode 100644 index 00000000..2a0d6edd --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.html @@ -0,0 +1,237 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiProESCMotor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiProESCMotor.h File Reference
+
+
+ +

Header for MeMegaPiProESCMotor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeMegaPiProESCMotor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  megapipro_esc_type
 
class  MeMegaPiProESCMotor
 Driver for Me Megapipro ESC motor device. More...
 
+ + + + + + + +

+Macros

+#define THROTTLE_OFFSET   137
 
+#define THROTTLE_MIN   137
 
+#define THROTTLE_MAX   237
 
+ + + +

+Variables

+megapipro_esc_type megapi_esc_Port [5]
 
+

Detailed Description

+

Header for MeMegaPiProESCMotor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2017/05/12
+
Copyright
This software is Copyright (C), 2012-2017, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Megapi Pro ESC motor device.
+
Method List:
+
    +
  1. void MeMegaPiProESCMotor::setpin(uint8_t pwm_pin)
  2. +
  3. void MeMegaPiProESCMotor::run(int16_t speed)
  4. +
  5. void MeMegaPiProESCMotor::stop(void)
  6. +
  7. void MeMegaPiProESCMotor::reset(uint8_t port)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Lan weiting         2017/05/09       1.0.0            Rebuild the new.
+Zzipeng             2017/05/12       1.0.1            add some details.
+
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.js b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.js new file mode 100644 index 00000000..2d203fea --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h.js @@ -0,0 +1,5 @@ +var _me_mega_pi_pro_e_s_c_motor_8h = +[ + [ "megapipro_esc_type", "structmegapipro__esc__type.html", null ], + [ "MeMegaPiProESCMotor", "class_me_mega_pi_pro_e_s_c_motor.html", "class_me_mega_pi_pro_e_s_c_motor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.map b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.map new file mode 100644 index 00000000..eab8b7d0 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.md5 b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.md5 new file mode 100644 index 00000000..50b42fa9 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.md5 @@ -0,0 +1 @@ +ad2d6cbb7d7985adaa53716fd8a1cec5 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.png b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.png new file mode 100644 index 00000000..bba88f61 Binary files /dev/null and b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__dep__incl.png differ diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.map b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.map new file mode 100644 index 00000000..20f8d3b1 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.md5 b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.md5 new file mode 100644 index 00000000..3319b979 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.md5 @@ -0,0 +1 @@ +1cf9e41c6d36f098ad30f9898b5dd477 \ No newline at end of file diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.png b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.png new file mode 100644 index 00000000..7ff5fa8a Binary files /dev/null and b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h__incl.png differ diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8h_source.html b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h_source.html new file mode 100644 index 00000000..1e47d7b1 --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8h_source.html @@ -0,0 +1,167 @@ + + + + + + + +MakeBlock Drive Updated: src/MeMegaPiProESCMotor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiProESCMotor.h
+
+
+Go to the documentation of this file.
1
+
41#ifndef MeMegaPiProESCMotor_H
+
42#define MeMegaPiProESCMotor_H
+
43
+
44#include <stdint.h>
+
45#include <stdbool.h>
+
46#include <Arduino.h>
+
47#include "MeConfig.h"
+
48#ifdef ME_PORT_DEFINED
+
49#include "MePort.h"
+
50#endif // ME_PORT_DEFINED
+
51
+
+
52typedef struct
+
53{
+
54 uint8_t pwm_pin; //PWM
+ +
+
56
+
57extern megapipro_esc_type megapi_esc_Port[5]; // megapipro_esc_Port[0] is nonsense
+
58
+
59#define THROTTLE_OFFSET 137
+
60
+
61#define THROTTLE_MIN 137//0.55ms~0.95ms throttle scale,970hz,1.024ms.
+
62 //255 * (0.55/1.024) = 137
+
63#define THROTTLE_MAX 237//255 * (0.95/1.024) = 237
+
+
69class MeMegaPiProESCMotor
+
70{
+
71public:
+
72#ifdef ME_PORT_DEFINED
+ +
80
+
86 MeMegaPiProESCMotor(uint8_t port);
+
87#else
+
94 MeMegaPiProESCMotorPWMpin(uint8_t pwm_pin);
+
95#endif
+
110 void reset(uint8_t port);
+
111
+
126 void setpin(uint8_t pwm_pin);
+
139 void init(void);
+
154 void run(int16_t speed);
+
155
+
168 void stop(void);
+
169private:
+
170 volatile uint8_t _esc_pwm_pin;
+
171 volatile int16_t last_speed;
+
172};
+
+
173
+
174#endif //MeMegaPiProESCMotor_H
+
175
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me Megapipro ESC motor device.
Definition MeMegaPiProESCMotor.h:70
+
Definition MeMegaPiProESCMotor.h:53
+
+
+ + + + diff --git a/doc/html/_me_mega_pi_pro_e_s_c_motor_8ino-example.html b/doc/html/_me_mega_pi_pro_e_s_c_motor_8ino-example.html new file mode 100644 index 00000000..dbddb9ad --- /dev/null +++ b/doc/html/_me_mega_pi_pro_e_s_c_motor_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeMegaPiProESCMotor.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiProESCMotor.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_on_board_temp_8cpp.html b/doc/html/_me_on_board_temp_8cpp.html new file mode 100644 index 00000000..28b12854 --- /dev/null +++ b/doc/html/_me_on_board_temp_8cpp.html @@ -0,0 +1,206 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOnBoardTemp.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOnBoardTemp.cpp File Reference
+
+
+ +

Driver for Auriga On Board Temperature device. +More...

+
#include "MeOnBoardTemp.h"
+
+Include dependency graph for MeOnBoardTemp.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +

+Variables

+const int16_t TEMPERATURENOMINAL = 25
 
+const int16_t SERIESRESISTOR = 10000
 
+const int16_t BCOEFFICIENT = 3380
 
+const int16_t TERMISTORNOMINAL = 10000
 
+

Detailed Description

+

Driver for Auriga On Board Temperature device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/04/01
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for On Board Temperature device.
+
Method List:
+
    +
  1. void MeOnBoardTemp::setpin(uint8_t digital_pin,uint8_t analog_pin);
  2. +
  3. int16_t MeOnBoardTemp::readAnalog(void)
  4. +
  5. float MeOnBoardTemp::readValue(void);
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/04/01     1.0.0            build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_on_board_temp_8cpp__incl.map b/doc/html/_me_on_board_temp_8cpp__incl.map new file mode 100644 index 00000000..4d29a192 --- /dev/null +++ b/doc/html/_me_on_board_temp_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_on_board_temp_8cpp__incl.md5 b/doc/html/_me_on_board_temp_8cpp__incl.md5 new file mode 100644 index 00000000..62881659 --- /dev/null +++ b/doc/html/_me_on_board_temp_8cpp__incl.md5 @@ -0,0 +1 @@ +b428940ae9dd1c054b7bf39f173aaa2e \ No newline at end of file diff --git a/doc/html/_me_on_board_temp_8cpp__incl.png b/doc/html/_me_on_board_temp_8cpp__incl.png new file mode 100644 index 00000000..98cbc1fc Binary files /dev/null and b/doc/html/_me_on_board_temp_8cpp__incl.png differ diff --git a/doc/html/_me_on_board_temp_8h.html b/doc/html/_me_on_board_temp_8h.html new file mode 100644 index 00000000..27aead07 --- /dev/null +++ b/doc/html/_me_on_board_temp_8h.html @@ -0,0 +1,223 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOnBoardTemp.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOnBoardTemp.h File Reference
+
+
+ +

Header for MeOnBoardTemp.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeOnBoardTemp.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeOnBoardTemp
 Driver for Auriga On Board Temperature device. More...
 
+ + + + + +

+Macros

+#define Gas_Exceeded   (0x00)
 
+#define Gas_not_Exceeded   (0x01)
 
+

Detailed Description

+

Header for MeOnBoardTemp.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/04/01
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for On Board Temperature device.
+
Method List:
+
    +
  1. void MeOnBoardTemp::setpin(uint8_t digital_pin,uint8_t analog_pin);
  2. +
  3. int16_t MeOnBoardTemp::readAnalog(void)
  4. +
  5. float MeOnBoardTemp::readValue(void);
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/04/01     1.0.0            build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_on_board_temp_8h.js b/doc/html/_me_on_board_temp_8h.js new file mode 100644 index 00000000..7edee77c --- /dev/null +++ b/doc/html/_me_on_board_temp_8h.js @@ -0,0 +1,4 @@ +var _me_on_board_temp_8h = +[ + [ "MeOnBoardTemp", "class_me_on_board_temp.html", "class_me_on_board_temp" ] +]; \ No newline at end of file diff --git a/doc/html/_me_on_board_temp_8h__dep__incl.map b/doc/html/_me_on_board_temp_8h__dep__incl.map new file mode 100644 index 00000000..79dee798 --- /dev/null +++ b/doc/html/_me_on_board_temp_8h__dep__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_on_board_temp_8h__dep__incl.md5 b/doc/html/_me_on_board_temp_8h__dep__incl.md5 new file mode 100644 index 00000000..b9771947 --- /dev/null +++ b/doc/html/_me_on_board_temp_8h__dep__incl.md5 @@ -0,0 +1 @@ +d311c3a41a17eef92955e619d195a749 \ No newline at end of file diff --git a/doc/html/_me_on_board_temp_8h__dep__incl.png b/doc/html/_me_on_board_temp_8h__dep__incl.png new file mode 100644 index 00000000..91add3a1 Binary files /dev/null and b/doc/html/_me_on_board_temp_8h__dep__incl.png differ diff --git a/doc/html/_me_on_board_temp_8h__incl.map b/doc/html/_me_on_board_temp_8h__incl.map new file mode 100644 index 00000000..dcc4b95b --- /dev/null +++ b/doc/html/_me_on_board_temp_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_on_board_temp_8h__incl.md5 b/doc/html/_me_on_board_temp_8h__incl.md5 new file mode 100644 index 00000000..319fa050 --- /dev/null +++ b/doc/html/_me_on_board_temp_8h__incl.md5 @@ -0,0 +1 @@ +37dac5bd24be51c5905b0e94ab6db331 \ No newline at end of file diff --git a/doc/html/_me_on_board_temp_8h__incl.png b/doc/html/_me_on_board_temp_8h__incl.png new file mode 100644 index 00000000..1849fcce Binary files /dev/null and b/doc/html/_me_on_board_temp_8h__incl.png differ diff --git a/doc/html/_me_on_board_temp_8h_source.html b/doc/html/_me_on_board_temp_8h_source.html new file mode 100644 index 00000000..3119406a --- /dev/null +++ b/doc/html/_me_on_board_temp_8h_source.html @@ -0,0 +1,162 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOnBoardTemp.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOnBoardTemp.h
+
+
+Go to the documentation of this file.
1
+
39#ifndef MeOnBoardTemp_H
+
40#define MeOnBoardTemp_H
+
41
+
42#include <stdint.h>
+
43#include <stdbool.h>
+
44#include <Arduino.h>
+
45#include "MeConfig.h"
+
46
+
47
+
48#ifdef ME_PORT_DEFINED
+
49#include "MePort.h"
+
50#endif // ME_PORT_DEFINED
+
51
+
52#define Gas_Exceeded (0x00)
+
53#define Gas_not_Exceeded (0x01)
+
54
+
60#ifndef ME_PORT_DEFINED
+
61class MeOnBoardTemp
+
62#else // !ME_PORT_DEFINED
+
+
63class MeOnBoardTemp : public MePort
+
64#endif // !ME_PORT_DEFINED
+
65{
+
66public:
+
67#ifdef ME_PORT_DEFINED
+
74 MeOnBoardTemp(void);
+
75
+
81 MeOnBoardTemp(uint8_t port);
+
82#else // ME_PORT_DEFINED
+
89 MeOnBoardTemp(uint8_t analog_pin)
+
90#endif // ME_PORT_DEFINED
+
105 void setpin(uint8_t analog_pin);
+
106
+
119 int16_t readAnalog(void);
+
120
+
133 float readValue(void);
+
134
+
135private:
+
136 volatile uint8_t _analog_pin;
+
137};
+
+
138#endif
+
139
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Auriga On Board Temperature device.
Definition MeOnBoardTemp.h:65
+
MeOnBoardTemp(void)
Definition MeOnBoardTemp.cpp:54
+
float readValue(void)
Definition MeOnBoardTemp.cpp:136
+
int16_t readAnalog(void)
Definition MeOnBoardTemp.cpp:115
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_on_board_temp_test_8ino-example.html b/doc/html/_me_on_board_temp_test_8ino-example.html new file mode 100644 index 00000000..59e70699 --- /dev/null +++ b/doc/html/_me_on_board_temp_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeOnBoardTempTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOnBoardTempTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_one_wire_8cpp.html b/doc/html/_me_one_wire_8cpp.html new file mode 100644 index 00000000..856ef607 --- /dev/null +++ b/doc/html/_me_one_wire_8cpp.html @@ -0,0 +1,194 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOneWire.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOneWire.cpp File Reference
+
+
+ +

Driver for 1-wire protocol. +More...

+
#include "MeOneWire.h"
+
+Include dependency graph for MeOneWire.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for 1-wire protocol.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for 1-wire protocol, 1-Wire communication protocol was developed by Dallas Semiconductor owned by Maxim. This protocol allows communication of multiple chips to one host with minimal pin count. The protocol is called 1-Wire because it uses 1 wire to transfer data. 1-Wire architecture uses pull up resistor to pull voltage of data line at master side.
+
Method List:
+
    +
  1. bool MeOneWire::readIO(void)
  2. +
  3. void MeOneWire::reset(uint8_t pin)
  4. +
  5. uint8_t MeOneWire::reset(void)
  6. +
  7. void MeOneWire::select(const uint8_t rom[8])
  8. +
  9. void MeOneWire::skip(void)()
  10. +
  11. void MeOneWire::write(uint8_t v, uint8_t power)
  12. +
  13. void MeOneWire::write_bytes(const uint8_t *buf, uint16_t count, bool power)
  14. +
  15. uint8_t MeOneWire::read(void)
  16. +
  17. void MeOneWire::read_bytes(uint8_t *buf, uint16_t count)
  18. +
  19. void MeOneWire::write_bit(uint8_t v)
  20. +
  21. uint8_t MeOneWire::read_bit(void)
  22. +
  23. void MeOneWire::depower(void)
  24. +
  25. void MeOneWire::reset_search(void)
  26. +
  27. void MeOneWire::target_search(uint8_t family_code)
  28. +
  29. uint8_t MeOneWire::search(uint8_t *newAddr)
  30. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+
+

DERIVED FROM Copyright (c) 2007, Jim Studt (original old version - many contributors since) The latest version of this library may be found at: http://www.pjrc.com/teensy/td_libs_OneWire.html Version 2.1: Arduino 1.0 compatibility, Paul Stoffregen Improve temperature example, Paul Stoffregen DS250x_PROM example, Guillermo Lovato PIC32 (chipKit) compatibility, Jason Dangel, dangel.jason AT gmail.com Improvements from Glenn Trewitt:

    +
  • crc16() now works
  • +
  • check_crc16() does all of calculation/checking work.
  • +
  • Added read_bytes() and write_bytes(), to reduce tedious loops.
  • +
  • Added ds2408 example. Delete very old, out-of-date readme file (info is here) Version 2.0: Modifications by Paul Stoffregen, January 2010: http://www.pjrc.com/teensy/td_libs_OneWire.html Search fix from Robin James http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238032295/27#27 Use direct optimized I/O in all cases Disable interrupts during timing critical sections (this solves many random communication errors) Disable interrupts during read-modify-write I/O Reduce RAM consumption by eliminating unnecessary variables and trimming many to 8 bits Optimize both crc8 - table version moved to flash Modified to work with larger numbers of devices - avoids loop. Tested in Arduino 11 alpha with 12 sensors. 26 Sept 2008 – Robin James http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238032295/27#27 Updated to work with arduino-0008 and to include skip() as of 2007/07/06. –RJL20 Modified to calculate the 8-bit CRC directly, avoiding the need for the 256-byte lookup table to be loaded in RAM. Tested in arduino-0010 – Tom Pollard, Jan 23, 2008 Jim Studt's original library was modified by Josh Larios. Tom Pollard, polla.nosp@m.rd@a.nosp@m.lum.m.nosp@m.it.e.nosp@m.du, contributed around May 20, 2008 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Much of the code was inspired by Derek Yerger's code, though I don't think much of that remains. In any event that was.. (copyleft) 2006 by Derek Yerger - Free to distribute freely. The CRC code was excerpted and inspired by the Dallas Semiconductor sample code bearing this copyright. //------------------------------------------------------------------------— // Copyright (C) 2000 Dallas Semiconductor Corporation, All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES // OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // // Except as contained in this notice, the name of Dallas Semiconductor // shall not be used except as stated in the Dallas Semiconductor // Branding Policy. //-----------------------------------------------------------------------—
  • +
+
+
+ + + + diff --git a/doc/html/_me_one_wire_8cpp__incl.map b/doc/html/_me_one_wire_8cpp__incl.map new file mode 100644 index 00000000..9ff8a8df --- /dev/null +++ b/doc/html/_me_one_wire_8cpp__incl.map @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_one_wire_8cpp__incl.md5 b/doc/html/_me_one_wire_8cpp__incl.md5 new file mode 100644 index 00000000..a216f2e7 --- /dev/null +++ b/doc/html/_me_one_wire_8cpp__incl.md5 @@ -0,0 +1 @@ +a932f80c8454d48577c07d15b1e59503 \ No newline at end of file diff --git a/doc/html/_me_one_wire_8cpp__incl.png b/doc/html/_me_one_wire_8cpp__incl.png new file mode 100644 index 00000000..bda1e91f Binary files /dev/null and b/doc/html/_me_one_wire_8cpp__incl.png differ diff --git a/doc/html/_me_one_wire_8h.html b/doc/html/_me_one_wire_8h.html new file mode 100644 index 00000000..6d8cc530 --- /dev/null +++ b/doc/html/_me_one_wire_8h.html @@ -0,0 +1,234 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOneWire.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOneWire.h File Reference
+
+
+ +

Header for MeOneWire.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+
+Include dependency graph for MeOneWire.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeOneWire
 Driver for 1-wire protocol. More...
 
+

Detailed Description

+

Header for MeOneWire.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for 1-wire protocol, 1-Wire communication protocol was developed by Dallas Semiconductor owned by Maxim. This protocol allows communication of multiple chips to one host with minimal pin count. The protocol is called 1-Wire because it uses 1 wire to transfer data. 1-Wire architecture uses pull up resistor to pull voltage of data line at master side.
+
Method List:
+
    +
  1. bool MeOneWire::readIO(void)
  2. +
  3. void MeOneWire::reset(uint8_t pin)
  4. +
  5. uint8_t MeOneWire::reset(void)
  6. +
  7. void MeOneWire::select(const uint8_t rom[8])
  8. +
  9. void MeOneWire::skip(void)()
  10. +
  11. void MeOneWire::write(uint8_t v, uint8_t power)
  12. +
  13. void MeOneWire::write_bytes(const uint8_t *buf, uint16_t count, bool power)
  14. +
  15. uint8_t MeOneWire::read(void)
  16. +
  17. void MeOneWire::read_bytes(uint8_t *buf, uint16_t count)
  18. +
  19. void MeOneWire::write_bit(uint8_t v)
  20. +
  21. uint8_t MeOneWire::read_bit(void)
  22. +
  23. void MeOneWire::depower(void)
  24. +
  25. void MeOneWire::reset_search(void)
  26. +
  27. void MeOneWire::target_search(uint8_t family_code)
  28. +
  29. uint8_t MeOneWire::search(uint8_t *newAddr)
  30. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+
+

DERIVED FROM Copyright (c) 2007, Jim Studt (original old version - many contributors since) The latest version of this library may be found at: http://www.pjrc.com/teensy/td_libs_OneWire.html Version 2.1: Arduino 1.0 compatibility, Paul Stoffregen Improve temperature example, Paul Stoffregen DS250x_PROM example, Guillermo Lovato PIC32 (chipKit) compatibility, Jason Dangel, dangel.jason AT gmail.com Improvements from Glenn Trewitt:

    +
  • crc16() now works
  • +
  • check_crc16() does all of calculation/checking work.
  • +
  • Added read_bytes() and write_bytes(), to reduce tedious loops.
  • +
  • Added ds2408 example. Delete very old, out-of-date readme file (info is here) Version 2.0: Modifications by Paul Stoffregen, January 2010: http://www.pjrc.com/teensy/td_libs_OneWire.html Search fix from Robin James http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238032295/27#27 Use direct optimized I/O in all cases Disable interrupts during timing critical sections (this solves many random communication errors) Disable interrupts during read-modify-write I/O Reduce RAM consumption by eliminating unnecessary variables and trimming many to 8 bits Optimize both crc8 - table version moved to flash Modified to work with larger numbers of devices - avoids loop. Tested in Arduino 11 alpha with 12 sensors. 26 Sept 2008 – Robin James http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1238032295/27#27 Updated to work with arduino-0008 and to include skip() as of 2007/07/06. –RJL20 Modified to calculate the 8-bit CRC directly, avoiding the need for the 256-byte lookup table to be loaded in RAM. Tested in arduino-0010 – Tom Pollard, Jan 23, 2008 Jim Studt's original library was modified by Josh Larios. Tom Pollard, polla.nosp@m.rd@a.nosp@m.lum.m.nosp@m.it.e.nosp@m.du, contributed around May 20, 2008 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Much of the code was inspired by Derek Yerger's code, though I don't think much of that remains. In any event that was.. (copyleft) 2006 by Derek Yerger - Free to distribute freely. The CRC code was excerpted and inspired by the Dallas Semiconductor sample code bearing this copyright. //------------------------------------------------------------------------— // Copyright (C) 2000 Dallas Semiconductor Corporation, All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES // OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // // Except as contained in this notice, the name of Dallas Semiconductor // shall not be used except as stated in the Dallas Semiconductor // Branding Policy. //-----------------------------------------------------------------------—
  • +
+
+
+ + + + diff --git a/doc/html/_me_one_wire_8h.js b/doc/html/_me_one_wire_8h.js new file mode 100644 index 00000000..b7b5c2ce --- /dev/null +++ b/doc/html/_me_one_wire_8h.js @@ -0,0 +1,4 @@ +var _me_one_wire_8h = +[ + [ "MeOneWire", "class_me_one_wire.html", "class_me_one_wire" ] +]; \ No newline at end of file diff --git a/doc/html/_me_one_wire_8h__dep__incl.map b/doc/html/_me_one_wire_8h__dep__incl.map new file mode 100644 index 00000000..b1efcd36 --- /dev/null +++ b/doc/html/_me_one_wire_8h__dep__incl.map @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_one_wire_8h__dep__incl.md5 b/doc/html/_me_one_wire_8h__dep__incl.md5 new file mode 100644 index 00000000..93d34f46 --- /dev/null +++ b/doc/html/_me_one_wire_8h__dep__incl.md5 @@ -0,0 +1 @@ +77c2cba378aa9b244b79421836b3c4b5 \ No newline at end of file diff --git a/doc/html/_me_one_wire_8h__dep__incl.png b/doc/html/_me_one_wire_8h__dep__incl.png new file mode 100644 index 00000000..bb6a9bd7 Binary files /dev/null and b/doc/html/_me_one_wire_8h__dep__incl.png differ diff --git a/doc/html/_me_one_wire_8h__incl.map b/doc/html/_me_one_wire_8h__incl.map new file mode 100644 index 00000000..972101d4 --- /dev/null +++ b/doc/html/_me_one_wire_8h__incl.map @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_one_wire_8h__incl.md5 b/doc/html/_me_one_wire_8h__incl.md5 new file mode 100644 index 00000000..1ebafae7 --- /dev/null +++ b/doc/html/_me_one_wire_8h__incl.md5 @@ -0,0 +1 @@ +96cc8117ffd62ceccf793993f3c243c2 \ No newline at end of file diff --git a/doc/html/_me_one_wire_8h__incl.png b/doc/html/_me_one_wire_8h__incl.png new file mode 100644 index 00000000..02a84632 Binary files /dev/null and b/doc/html/_me_one_wire_8h__incl.png differ diff --git a/doc/html/_me_one_wire_8h_source.html b/doc/html/_me_one_wire_8h_source.html new file mode 100644 index 00000000..0017d3a3 --- /dev/null +++ b/doc/html/_me_one_wire_8h_source.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOneWire.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOneWire.h
+
+
+Go to the documentation of this file.
1
+
139#ifndef MeOneWire_H
+
140#define MeOneWire_H
+
141
+
142#include <stdint.h>
+
143#include <stdbool.h>
+
144#include <Arduino.h>
+
145#include "MeConfig.h"
+
146
+
+ +
153{
+
154private:
+
155 MeIO_REG_TYPE bitmask;
+
156 volatile MeIO_REG_TYPE *baseReg;
+
157 /* global search state */
+
158 uint8_t ROM_NO[8];
+
159 uint8_t LastDiscrepancy;
+
160 uint8_t LastFamilyDiscrepancy;
+
161 uint8_t LastDeviceFlag;
+
162
+
163public:
+
170 MeOneWire(void);
+
171
+
178 MeOneWire(uint8_t pin);
+
179
+
192 bool readIO(void);
+
193
+
208 void reset(uint8_t pin);
+
209
+
225 uint8_t reset(void);
+
226
+
241 void select(const uint8_t rom[8]);
+
242
+
255 void skip(void);
+
256
+
273 void write(uint8_t v, uint8_t power = 0);
+
274
+
293 void write_bytes(const uint8_t *buf, uint16_t count, bool power = 0);
+
294
+
307 uint8_t read(void);
+
308
+
325 void read_bytes(uint8_t *buf, uint16_t count);
+
326
+
342 void write_bit(uint8_t v);
+
343
+
357 uint8_t read_bit(void);
+
358
+
375 void depower(void);
+
376
+
390 void reset_search(void);
+
391
+
407 void target_search(uint8_t family_code);
+
408
+
431 uint8_t search(uint8_t *newAddr);
+
432};
+
+
433
+
434#endif
+
435
+
Configuration file of library.
+
Driver for 1-wire protocol.
Definition MeOneWire.h:153
+
void write_bytes(const uint8_t *buf, uint16_t count, bool power=0)
Definition MeOneWire.cpp:381
+
uint8_t search(uint8_t *newAddr)
Definition MeOneWire.cpp:592
+
void write(uint8_t v, uint8_t power=0)
Definition MeOneWire.cpp:346
+
void write_bit(uint8_t v)
Definition MeOneWire.cpp:272
+
void target_search(uint8_t family_code)
Definition MeOneWire.cpp:557
+
MeOneWire(void)
Definition MeOneWire.cpp:146
+
void reset_search(void)
Definition MeOneWire.cpp:526
+
bool readIO(void)
Definition MeOneWire.cpp:196
+
uint8_t read(void)
Definition MeOneWire.cpp:408
+
uint8_t read_bit(void)
Definition MeOneWire.cpp:312
+
void read_bytes(uint8_t *buf, uint16_t count)
Definition MeOneWire.cpp:439
+
void skip(void)
Definition MeOneWire.cpp:485
+
void depower(void)
Definition MeOneWire.cpp:506
+
void select(const uint8_t rom[8])
Definition MeOneWire.cpp:461
+
uint8_t reset(void)
Definition MeOneWire.cpp:222
+
+
+ + + + diff --git a/doc/html/_me_orion_8h.html b/doc/html/_me_orion_8h.html new file mode 100644 index 00000000..8acbc0fa --- /dev/null +++ b/doc/html/_me_orion_8h.html @@ -0,0 +1,468 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOrion.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOrion.h File Reference
+
+
+ +

Driver for MeOrion 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 "MeEncoderMotor.h"
+#include "MeEncoderNew.h"
+#include "MeBuzzer.h"
+#include "MeLEDMatrix.h"
+#include "MeHumitureSensor.h"
+#include "MeFlameSensor.h"
+#include "MeGasSensor.h"
+#include "MeColorSensor.h"
+
+Include dependency graph for MeOrion.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

+#define buzzerOn()   pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)
 
+#define buzzerOff()   pinMode(SCL,OUTPUT),digitalWrite(SCL, LOW)
 
+ + + +

+Variables

MePort_Sig mePort [17]
 
+

Detailed Description

+

Driver for MeOrion board.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/09/20
+

Driver for MeOrion board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is the driver for MeOrion hoard by MakeBlock.
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     1.0.1            Added some comments and macros.
+Scott wang       2016/09/18     1.0.2            Add the PORT[15].
+Scott            2016/09/20     1.0.3            Add the PORT[16].
+
+

Variable Documentation

+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { 11, 10 }, { 3, 9 }, { 12, 13 }, { 8, 2 },
+
{ NC, NC }, { A2, A3 }, { A6, A1 }, { A7, A0 }, { 6, 7 },
+
{ 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ NC, NC },{ NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_orion_8h__incl.map b/doc/html/_me_orion_8h__incl.map new file mode 100644 index 00000000..0f36e045 --- /dev/null +++ b/doc/html/_me_orion_8h__incl.map @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_orion_8h__incl.md5 b/doc/html/_me_orion_8h__incl.md5 new file mode 100644 index 00000000..456be236 --- /dev/null +++ b/doc/html/_me_orion_8h__incl.md5 @@ -0,0 +1 @@ +5c14fb893d1e47207c6292df8e0f2360 \ No newline at end of file diff --git a/doc/html/_me_orion_8h__incl.png b/doc/html/_me_orion_8h__incl.png new file mode 100644 index 00000000..4838cf39 Binary files /dev/null and b/doc/html/_me_orion_8h__incl.png differ diff --git a/doc/html/_me_orion_8h_source.html b/doc/html/_me_orion_8h_source.html new file mode 100644 index 00000000..c3f44ea4 --- /dev/null +++ b/doc/html/_me_orion_8h_source.html @@ -0,0 +1,197 @@ + + + + + + + +MakeBlock Drive Updated: src/MeOrion.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOrion.h
+
+
+Go to the documentation of this file.
1
+
34#ifndef MeOrion_H
+
35#define MeOrion_H
+
36
+
37#include <Arduino.h>
+
38#include "MeConfig.h"
+
39
+
40// Supported Modules drive needs to be added here
+
41#include "Me7SegmentDisplay.h"
+
42#include "MeUltrasonicSensor.h"
+
43#include "MeDCMotor.h"
+
44#include "MeRGBLed.h"
+
45#include "Me4Button.h"
+
46#include "MePotentiometer.h"
+
47#include "MeJoystick.h"
+
48#include "MePIRMotionSensor.h"
+
49#include "MeShutter.h"
+
50#include "MeLineFollower.h"
+
51#include "MeSoundSensor.h"
+
52#include "MeLimitSwitch.h"
+
53#include "MeLightSensor.h"
+
54#include "MeSerial.h"
+
55#include "MeBluetooth.h"
+
56#include "MeWifi.h"
+
57#include "MeTemperature.h"
+
58#include "MeGyro.h"
+
59#include "MeInfraredReceiver.h"
+
60#include "MeCompass.h"
+
61#include "MeUSBHost.h"
+
62#include "MeTouchSensor.h"
+
63#include "MeStepper.h"
+
64#include "MeEncoderMotor.h"
+
65#include "MeEncoderNew.h"
+
66#include "MeBuzzer.h"
+
67#include "MeLEDMatrix.h"
+
68#include "MeHumitureSensor.h"
+
69#include "MeFlameSensor.h"
+
70#include "MeGasSensor.h"
+
71#include "MeColorSensor.h"
+
72
+
73/********************* Orion Board GPIO Map *********************************/
+
74// struct defined in MePort.h
+
75MePort_Sig mePort[17] =
+
76{
+
77 { NC, NC }, { 11, 10 }, { 3, 9 }, { 12, 13 }, { 8, 2 },
+
78 { NC, NC }, { A2, A3 }, { A6, A1 }, { A7, A0 }, { 6, 7 },
+
79 { 5, 4 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
80 { NC, NC },{ NC, NC },
+
81};
+
82
+
83#define buzzerOn() pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)
+
84#define buzzerOff() pinMode(SCL,OUTPUT),digitalWrite(SCL, LOW)
+
85
+
86#endif // MeOrion_H
+
Header for Me4Button.cpp module.
+
Header file for Me7SegmentDisplay.cpp.
+
Header for MeBluetooth.cpp module.
+
Header for MeBuzzer.cpp module.
+
Header for MeColorSensor.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
+
+
+ + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8cpp.html b/doc/html/_me_p_i_r_motion_sensor_8cpp.html new file mode 100644 index 00000000..0c9ae807 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8cpp.html @@ -0,0 +1,189 @@ + + + + + + + +MakeBlock Drive Updated: src/MePIRMotionSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePIRMotionSensor.cpp File Reference
+
+
+ +

Driver for Me PIR Motion Sensor module. +More...

+
#include "MePIRMotionSensor.h"
+
+Include dependency graph for MePIRMotionSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me PIR Motion Sensor module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MePIRMotionSensor::setpin(uint8_t ModePin,uint8_t SensorPin)
  2. +
  3. void MePIRMotionSensor::SetPirMotionMode(uint8_t ModePin)
  4. +
  5. bool MePIRMotionSensor::isHumanDetected();
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/07     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.map b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.map new file mode 100644 index 00000000..ccfd63da --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.md5 b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..ddd99766 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +cd8b3510d94f9ee03373021ec9c0488e \ No newline at end of file diff --git a/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.png b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.png new file mode 100644 index 00000000..e71867f8 Binary files /dev/null and b/doc/html/_me_p_i_r_motion_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_p_i_r_motion_sensor_8h.html b/doc/html/_me_p_i_r_motion_sensor_8h.html new file mode 100644 index 00000000..bf6bcdcb --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h.html @@ -0,0 +1,226 @@ + + + + + + + +MakeBlock Drive Updated: src/MePIRMotionSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePIRMotionSensor.h File Reference
+
+
+ +

Header for MePIRMotionSensor.cpp. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MePIRMotionSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MePIRMotionSensor
 Driver for Me PIR Motion Sensor module. More...
 
+

Detailed Description

+

Header for MePIRMotionSensor.cpp.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MePIRMotionSensor::setpin(uint8_t ModePin,uint8_t SensorPin)
  2. +
  3. void MePIRMotionSensor::SetPirMotionMode(uint8_t ModePin)
  4. +
  5. bool MePIRMotionSensor::isHumanDetected();
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/04     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8h.js b/doc/html/_me_p_i_r_motion_sensor_8h.js new file mode 100644 index 00000000..6e005d21 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_p_i_r_motion_sensor_8h = +[ + [ "MePIRMotionSensor", "class_me_p_i_r_motion_sensor.html", "class_me_p_i_r_motion_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.map b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.map new file mode 100644 index 00000000..db66aeaa --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.md5 b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..af5db62b --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +b58bf1a4a2e0e3e68de89f552121eeef \ No newline at end of file diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.png b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.png new file mode 100644 index 00000000..556c6d1e Binary files /dev/null and b/doc/html/_me_p_i_r_motion_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__incl.map b/doc/html/_me_p_i_r_motion_sensor_8h__incl.map new file mode 100644 index 00000000..d12367e3 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__incl.md5 b/doc/html/_me_p_i_r_motion_sensor_8h__incl.md5 new file mode 100644 index 00000000..0fc8a7c9 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h__incl.md5 @@ -0,0 +1 @@ +78ea1571b6b7618c03ea92f1eb0f5815 \ No newline at end of file diff --git a/doc/html/_me_p_i_r_motion_sensor_8h__incl.png b/doc/html/_me_p_i_r_motion_sensor_8h__incl.png new file mode 100644 index 00000000..619a5f00 Binary files /dev/null and b/doc/html/_me_p_i_r_motion_sensor_8h__incl.png differ diff --git a/doc/html/_me_p_i_r_motion_sensor_8h_source.html b/doc/html/_me_p_i_r_motion_sensor_8h_source.html new file mode 100644 index 00000000..440b7698 --- /dev/null +++ b/doc/html/_me_p_i_r_motion_sensor_8h_source.html @@ -0,0 +1,158 @@ + + + + + + + +MakeBlock Drive Updated: src/MePIRMotionSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePIRMotionSensor.h
+
+
+Go to the documentation of this file.
1
+
40#ifndef MePIRMotionSensor_H
+
41#define MePIRMotionSensor_H
+
42
+
43#include <stdint.h>
+
44#include <stdbool.h>
+
45#include <Arduino.h>
+
46#include "MeConfig.h"
+
47
+
48#ifdef ME_PORT_DEFINED
+
49#include "MePort.h"
+
50#endif // ME_PORT_DEFINED
+
51
+
57#ifndef ME_PORT_DEFINED
+ +
59#else // !ME_PORT_DEFINED
+
+ +
61#endif // ME_PORT_DEFINED
+
62{
+
63public:
+
64#ifdef ME_PORT_DEFINED
+ +
72
+
78 MePIRMotionSensor(uint8_t port);
+
79#else // ME_PORT_DEFINED
+
87 MePIRMotionSensor(uint8_t ModePin,uint8_t SensorPin);
+
88#endif // ME_PORT_DEFINED
+
105 void setpin(uint8_t ModePin,uint8_t SensorPin);
+
106
+
121 void SetPirMotionMode(uint8_t ModePin);
+
122
+
138 bool isHumanDetected();
+
139private:
+
140 static volatile uint8_t _SensorPin;
+
141 static volatile uint8_t _ModePin;
+
142};
+
+
143#endif // MePIRMotionSensor_H
+
144
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Driver for Me PIR Motion Sensor module.
Definition MePIRMotionSensor.h:62
+
MePIRMotionSensor()
Definition MePIRMotionSensor.cpp:56
+
bool isHumanDetected()
Definition MePIRMotionSensor.cpp:153
+
void SetPirMotionMode(uint8_t ModePin)
Definition MePIRMotionSensor.cpp:129
+
Port Mapping for RJ25.
Definition MePort.h:128
+
+
+ + + + diff --git a/doc/html/_me_p_s2_8cpp.html b/doc/html/_me_p_s2_8cpp.html new file mode 100644 index 00000000..97fb386d --- /dev/null +++ b/doc/html/_me_p_s2_8cpp.html @@ -0,0 +1,205 @@ + + + + + + + +MakeBlock Drive Updated: src/MePS2.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePS2.cpp File Reference
+
+
+ +

Driver for MePS2 device. +More...

+
#include "MePS2.h"
+#include "MeSerial.h"
+
+Include dependency graph for MePS2.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for MePS2 device.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2016/10/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me PS2 handle device, The MePS2 inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint8_t MePS2::readBuffer(int16_t index);
  2. +
  3. void MePS2::writeBuffer(int16_t index,uint8_t c);
  4. +
  5. void MePS2::readSerial(void);
  6. +
  7. boolean MePS2::readjoystick(void);
  8. +
  9. int16_t MePS2::MeAnalog(uint8_t button);
  10. +
  11. boolean MePS2::ButtonPressed(uint8_t button);
  12. +
  13. void MePS2::loop(void);
  14. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ Scott wang      2016/09/18         1.0.0            Build the new lib.
+ Scott           2016/09/20         1.0.1            Correct the receive error.
+ Scott           2016/09/22         1.0.2            Correct the connect error.
+ Scott           2016/09/23         1.0.3            Add BUTTON_L and BUTTON_R.
+ Mark Yan        2016/10/08         1.0.4            Modify data format.
+
+
+
+ + + + diff --git a/doc/html/_me_p_s2_8cpp__incl.map b/doc/html/_me_p_s2_8cpp__incl.map new file mode 100644 index 00000000..dcc08150 --- /dev/null +++ b/doc/html/_me_p_s2_8cpp__incl.map @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_p_s2_8cpp__incl.md5 b/doc/html/_me_p_s2_8cpp__incl.md5 new file mode 100644 index 00000000..5a0e2bab --- /dev/null +++ b/doc/html/_me_p_s2_8cpp__incl.md5 @@ -0,0 +1 @@ +dd51e605d4faf7ec2d7fcb5c85c28ec4 \ No newline at end of file diff --git a/doc/html/_me_p_s2_8cpp__incl.png b/doc/html/_me_p_s2_8cpp__incl.png new file mode 100644 index 00000000..a6d7d940 Binary files /dev/null and b/doc/html/_me_p_s2_8cpp__incl.png differ diff --git a/doc/html/_me_p_s2_8h.html b/doc/html/_me_p_s2_8h.html new file mode 100644 index 00000000..c4a2336c --- /dev/null +++ b/doc/html/_me_p_s2_8h.html @@ -0,0 +1,308 @@ + + + + + + + +MakeBlock Drive Updated: src/MePS2.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePS2.h File Reference
+
+
+ +

Header for MePS2.cpp module. +More...

+
#include <stdbool.h>
+#include <stdint.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MePS2.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MePS2
 Driver for MePS2 handle device. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define MeJOYSTICK_RX   6
 
+#define MeJOYSTICK_RY   8
 
+#define MeJOYSTICK_LX   2
 
+#define MeJOYSTICK_LY   4
 
+#define MeJOYSTICK_R1   1
 
+#define MeJOYSTICK_R2   3
 
+#define MeJOYSTICK_L1   5
 
+#define MeJOYSTICK_L2   7
 
+#define MeJOYSTICK_TRIANGLE   9
 
+#define MeJOYSTICK_XSHAPED   10
 
+#define MeJOYSTICK_SQUARE   11
 
+#define MeJOYSTICK_ROUND   12
 
+#define MeJOYSTICK_START   13
 
+#define MeJOYSTICK_UP   14
 
+#define MeJOYSTICK_DOWN   15
 
+#define MeJOYSTICK_LEFT   16
 
+#define MeJOYSTICK_RIGHT   17
 
+#define MeJOYSTICK_SELECT   18
 
+#define MeJOYSTICK_MODE   19
 
+#define MeJOYSTICK_BUTTON_L   20
 
+#define MeJOYSTICK_BUTTON_R   21
 
+#define MeJOYSTICK_INIT_VALUE   0
 
+#define MeJOYSTICK_ANALOG_ERROR   0
 
+

Detailed Description

+

Header for MePS2.cpp module.

+
Author
MakeBlock
+
Version
V1.0.4
+
Date
2016/10/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me PS2 handle device, The MePS2 inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint8_t MePS2::readBuffer(int16_t index);
  2. +
  3. void MePS2::writeBuffer(int16_t index,uint8_t c);
  4. +
  5. void MePS2::readSerial(void);
  6. +
  7. boolean MePS2::readjoystick(void);
  8. +
  9. int16_t MePS2::MeAnalog(uint8_t button);
  10. +
  11. boolean MePS2::ButtonPressed(uint8_t button);
  12. +
  13. void MePS2::loop(void);
  14. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+ Scott wang      2016/09/18         1.0.0            Build the new lib.
+ Scott           2016/09/20         1.0.1            Correct the receive error.
+ Scott           2016/09/22         1.0.2            Correct the connect error.
+ Scott           2016/09/23         1.0.3            Add BUTTON_L and BUTTON_R.
+ Mark Yan        2016/10/08         1.0.4            Modify data format.
+
+
+
+ + + + diff --git a/doc/html/_me_p_s2_8h.js b/doc/html/_me_p_s2_8h.js new file mode 100644 index 00000000..7e0aade8 --- /dev/null +++ b/doc/html/_me_p_s2_8h.js @@ -0,0 +1,4 @@ +var _me_p_s2_8h = +[ + [ "MePS2", "class_me_p_s2.html", "class_me_p_s2" ] +]; \ No newline at end of file diff --git a/doc/html/_me_p_s2_8h__dep__incl.map b/doc/html/_me_p_s2_8h__dep__incl.map new file mode 100644 index 00000000..44465b43 --- /dev/null +++ b/doc/html/_me_p_s2_8h__dep__incl.map @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/doc/html/_me_p_s2_8h__dep__incl.md5 b/doc/html/_me_p_s2_8h__dep__incl.md5 new file mode 100644 index 00000000..a65eac72 --- /dev/null +++ b/doc/html/_me_p_s2_8h__dep__incl.md5 @@ -0,0 +1 @@ +390b682adbcaaf2eb3763afafe42d518 \ No newline at end of file diff --git a/doc/html/_me_p_s2_8h__dep__incl.png b/doc/html/_me_p_s2_8h__dep__incl.png new file mode 100644 index 00000000..69e78319 Binary files /dev/null and b/doc/html/_me_p_s2_8h__dep__incl.png differ diff --git a/doc/html/_me_p_s2_8h__incl.map b/doc/html/_me_p_s2_8h__incl.map new file mode 100644 index 00000000..2019f2d2 --- /dev/null +++ b/doc/html/_me_p_s2_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_p_s2_8h__incl.md5 b/doc/html/_me_p_s2_8h__incl.md5 new file mode 100644 index 00000000..8f6461a5 --- /dev/null +++ b/doc/html/_me_p_s2_8h__incl.md5 @@ -0,0 +1 @@ +5f2d1a9419682ddf4979b7356722dcfa \ No newline at end of file diff --git a/doc/html/_me_p_s2_8h__incl.png b/doc/html/_me_p_s2_8h__incl.png new file mode 100644 index 00000000..ab0cca16 Binary files /dev/null and b/doc/html/_me_p_s2_8h__incl.png differ diff --git a/doc/html/_me_p_s2_8h_source.html b/doc/html/_me_p_s2_8h_source.html new file mode 100644 index 00000000..10933e0d --- /dev/null +++ b/doc/html/_me_p_s2_8h_source.html @@ -0,0 +1,212 @@ + + + + + + + +MakeBlock Drive Updated: src/MePS2.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePS2.h
+
+
+Go to the documentation of this file.
1
+
47#ifndef MePS2_H
+
48#define MePS2_H
+
49
+
50#include <stdbool.h>
+
51#include <stdint.h>
+
52#include <Arduino.h>
+
53#include "MeConfig.h"
+
54#include "MeSerial.h"
+
55
+
56#ifdef ME_PORT_DEFINED
+
57#include "MePort.h"
+
58#endif
+
59
+
60#define MeJOYSTICK_RX 6
+
61#define MeJOYSTICK_RY 8
+
62#define MeJOYSTICK_LX 2
+
63#define MeJOYSTICK_LY 4
+
64
+
65#define MeJOYSTICK_R1 1
+
66#define MeJOYSTICK_R2 3
+
67#define MeJOYSTICK_L1 5
+
68#define MeJOYSTICK_L2 7
+
69#define MeJOYSTICK_TRIANGLE 9
+
70#define MeJOYSTICK_XSHAPED 10
+
71#define MeJOYSTICK_SQUARE 11
+
72#define MeJOYSTICK_ROUND 12
+
73#define MeJOYSTICK_START 13
+
74#define MeJOYSTICK_UP 14
+
75#define MeJOYSTICK_DOWN 15
+
76#define MeJOYSTICK_LEFT 16
+
77#define MeJOYSTICK_RIGHT 17
+
78#define MeJOYSTICK_SELECT 18
+
79#define MeJOYSTICK_MODE 19
+
80#define MeJOYSTICK_BUTTON_L 20
+
81#define MeJOYSTICK_BUTTON_R 21
+
82#define MeJOYSTICK_INIT_VALUE 0
+
83#define MeJOYSTICK_ANALOG_ERROR 0
+
84
+
90#ifndef ME_PORT_DEFINED
+
91 class MePS2
+
92#else /* !ME_PORT_DEFINED */
+
+
93 class MePS2 : public MeSerial
+
94#endif /* !ME_PORT_DEFINED */
+
95
+
96{
+
97public:
+
98
+
99#ifdef ME_PORT_DEFINED
+
106 MePS2();
+
107
+
114 MePS2(uint8_t port);
+
115#else // ME_PORT_DEFINED
+
116
+
127 MePS2(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
128#endif // ME_PORT_DEFINED
+
129
+
144 void readSerial(void);
+
145
+
160 uint8_t readBuffer(int16_t index);
+
161
+
176 void writeBuffer(int16_t index,uint8_t c);
+
177
+
192 boolean readjoystick(void);
+
193
+
208 int16_t MeAnalog(uint8_t button);
+
209
+
224 boolean ButtonPressed(uint8_t button);
+
225
+
240 void loop(void);
+
241
+
242private:
+
243 uint8_t _serialRead;
+
244 uint8_t _dataLen;
+
245 uint8_t _index = 0;
+
246 uint8_t _prevc = 0;
+
247 uint8_t buffer[16];
+
248 uint8_t ps2_data_list[23];
+
249 uint8_t ps2_data_list_bak[23];
+
250 long _lasttime;
+
251
+
252 boolean _isStart;
+
253 boolean _isAvailable;
+
254 boolean _isReady;
+
255};
+
+
256#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for MePS2 handle device.
Definition MePS2.h:96
+
MePS2()
Definition MePS2.cpp:60
+
uint8_t readBuffer(int16_t index)
Definition MePS2.cpp:117
+
void readSerial(void)
Definition MePS2.cpp:157
+
void loop(void)
Definition MePS2.cpp:335
+
boolean readjoystick(void)
Definition MePS2.cpp:181
+
void writeBuffer(int16_t index, uint8_t c)
Definition MePS2.cpp:137
+
int16_t MeAnalog(uint8_t button)
Definition MePS2.cpp:261
+
boolean ButtonPressed(uint8_t button)
Definition MePS2.cpp:308
+
Driver for serial.
Definition MeSerial.h:67
+
+
+ + + + diff --git a/doc/html/_me_p_s2_test_8ino-example.html b/doc/html/_me_p_s2_test_8ino-example.html new file mode 100644 index 00000000..d88d538c --- /dev/null +++ b/doc/html/_me_p_s2_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MePS2Test.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePS2Test.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_pm25_sensor_8cpp.html b/doc/html/_me_pm25_sensor_8cpp.html new file mode 100644 index 00000000..90364a08 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8cpp.html @@ -0,0 +1,216 @@ + + + + + + + +MakeBlock Drive Updated: src/MePm25Sensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePm25Sensor.cpp File Reference
+
+
+ +

Driver for Me PM2.5 sensor device. +More...

+
#include "MePm25Sensor.h"
+#include "MeSerial.h"
+
+Include dependency graph for MePm25Sensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me PM2.5 sensor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/12/13
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Smart Servo device, The Smart Servo inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint16_t MePm25Sensor::readPm1_0Concentration(void);
  2. +
  3. uint16_t MePm25Sensor::readPm2_5Concentration(void);
  4. +
  5. uint16_t MePm25Sensor::readPm10Concentration(void);
  6. +
  7. uint16_t MePm25Sensor::read0_3NumIn100ml(void);
  8. +
  9. uint16_t MePm25Sensor::read0_5NumIn100ml(void);
  10. +
  11. uint16_t MePm25Sensor::read1_0NumIn100ml(void);
  12. +
  13. uint16_t MePm25Sensor::read2_5NumIn100ml(void);
  14. +
  15. uint16_t MePm25Sensor::read5_0NumIn100ml(void);
  16. +
  17. uint16_t MePm25Sensor::read10NumIn100ml(void);
  18. +
  19. uint16_t MePm25Sensor::setOuputCompatibility(void);
  20. +
  21. uint16_t MePm25Sensor::turnOnFanLaser(void);
  22. +
  23. uint16_t MePm25Sensor::turnOffFanLaser(void);
  24. +
  25. uint16_t MePm25Sensor::OutputIntimeOn(void);
  26. +
  27. uint16_t MePm25Sensor::OutputIntimeOff(void);
  28. +
  29. uint16_t MePm25Sensor::setOutputIntimePeriod(uint16_t settime);
  30. +
  31. uint16_t MePm25Sensor::askForData(void);
  32. +
  33. uint16_t MePm25Sensor::coreSelfTest(void);
  34. +
  35. uint16_t MePm25Sensor::setCoreSelfTestTime(uint8_t settime);
  36. +
  37. uint16_t MePm25Sensor::setCoreEfficient(uint8_t efficent);
  38. +
  39. uint16_t MePm25Sensor::rxloop(void);
  40. +
  41. uint16_t MePm25Sensor::returnlen(void);
  42. +
  43. uint16_t MePm25Sensor::returnchecksum(void);
  44. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Zzipeng         2016/12/13     1.0.0            Build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_pm25_sensor_8cpp__incl.map b/doc/html/_me_pm25_sensor_8cpp__incl.map new file mode 100644 index 00000000..27592869 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8cpp__incl.map @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_pm25_sensor_8cpp__incl.md5 b/doc/html/_me_pm25_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..8fae3934 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +15ed7ef6c686de87d82a237097f96ddf \ No newline at end of file diff --git a/doc/html/_me_pm25_sensor_8cpp__incl.png b/doc/html/_me_pm25_sensor_8cpp__incl.png new file mode 100644 index 00000000..1ac703db Binary files /dev/null and b/doc/html/_me_pm25_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_pm25_sensor_8h.html b/doc/html/_me_pm25_sensor_8h.html new file mode 100644 index 00000000..1a38add5 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h.html @@ -0,0 +1,257 @@ + + + + + + + +MakeBlock Drive Updated: src/MePm25Sensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePm25Sensor.h File Reference
+
+
+ +

Header for for MePm25Sensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MePm25Sensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + +

+Classes

struct  PM25DATASTRUCT
 
union  PM25DATAUINO
 
class  MePm25Sensor
 Driver for Me PM2.5 sensor device. More...
 
+ + + + + + + +

+Macros

+#define START_SYSEX1   0x32
 
+#define START_SYSEX2   0x3d
 
+#define LENGTH   28
 
+

Detailed Description

+

Header for for MePm25Sensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/12/12
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Smart Servo device, The Smart Servo inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint16_t MePm25Sensor::readPm1_0Concentration(void);
  2. +
  3. uint16_t MePm25Sensor::readPm2_5Concentration(void);
  4. +
  5. uint16_t MePm25Sensor::readPm10Concentration(void);
  6. +
  7. uint16_t MePm25Sensor::read0_3NumIn100ml(void);
  8. +
  9. uint16_t MePm25Sensor::read0_5NumIn100ml(void);
  10. +
  11. uint16_t MePm25Sensor::read1_0NumIn100ml(void);
  12. +
  13. uint16_t MePm25Sensor::read2_5NumIn100ml(void);
  14. +
  15. uint16_t MePm25Sensor::read5_0NumIn100ml(void);
  16. +
  17. uint16_t MePm25Sensor::read10NumIn100ml(void);
  18. +
  19. uint16_t MePm25Sensor::setOuputCompatibility(void);
  20. +
  21. uint16_t MePm25Sensor::turnOnFanLaser(void);
  22. +
  23. uint16_t MePm25Sensor::turnOffFanLaser(void);
  24. +
  25. uint16_t MePm25Sensor::OutputIntimeOn(void);
  26. +
  27. uint16_t MePm25Sensor::OutputIntimeOff(void);
  28. +
  29. uint16_t MePm25Sensor::setOutputIntimePeriod(uint16_t settime);
  30. +
  31. uint16_t MePm25Sensor::askForData(void);
  32. +
  33. uint16_t MePm25Sensor::coreSelfTest(void);
  34. +
  35. uint16_t MePm25Sensor::setCoreSelfTestTime(uint8_t settime);
  36. +
  37. uint16_t MePm25Sensor::setCoreEfficient(uint8_t efficent);
  38. +
  39. uint16_t MePm25Sensor::rxloop(void);
  40. +
  41. uint16_t MePm25Sensor::returnlen(void);
  42. +
  43. uint16_t MePm25Sensor::returnchecksum(void);
  44. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Zzipeng          2016/12/13     1.0.0            Build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_pm25_sensor_8h.js b/doc/html/_me_pm25_sensor_8h.js new file mode 100644 index 00000000..a6fb3936 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h.js @@ -0,0 +1,6 @@ +var _me_pm25_sensor_8h = +[ + [ "PM25DATASTRUCT", "struct_p_m25_d_a_t_a_s_t_r_u_c_t.html", null ], + [ "PM25DATAUINO", "union_p_m25_d_a_t_a_u_i_n_o.html", null ], + [ "MePm25Sensor", "class_me_pm25_sensor.html", "class_me_pm25_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_pm25_sensor_8h__dep__incl.map b/doc/html/_me_pm25_sensor_8h__dep__incl.map new file mode 100644 index 00000000..48a3bacb --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h__dep__incl.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/_me_pm25_sensor_8h__dep__incl.md5 b/doc/html/_me_pm25_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..70ba5a2e --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +dfd27b3db8853343a84224111b620335 \ No newline at end of file diff --git a/doc/html/_me_pm25_sensor_8h__dep__incl.png b/doc/html/_me_pm25_sensor_8h__dep__incl.png new file mode 100644 index 00000000..d3fba6c0 Binary files /dev/null and b/doc/html/_me_pm25_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_pm25_sensor_8h__incl.map b/doc/html/_me_pm25_sensor_8h__incl.map new file mode 100644 index 00000000..ac3321ea --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_pm25_sensor_8h__incl.md5 b/doc/html/_me_pm25_sensor_8h__incl.md5 new file mode 100644 index 00000000..f339ba62 --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h__incl.md5 @@ -0,0 +1 @@ +a3b9f610772ae7fc53009a65c402ceac \ No newline at end of file diff --git a/doc/html/_me_pm25_sensor_8h__incl.png b/doc/html/_me_pm25_sensor_8h__incl.png new file mode 100644 index 00000000..191f0dc3 Binary files /dev/null and b/doc/html/_me_pm25_sensor_8h__incl.png differ diff --git a/doc/html/_me_pm25_sensor_8h_source.html b/doc/html/_me_pm25_sensor_8h_source.html new file mode 100644 index 00000000..ab4ba46a --- /dev/null +++ b/doc/html/_me_pm25_sensor_8h_source.html @@ -0,0 +1,221 @@ + + + + + + + +MakeBlock Drive Updated: src/MePm25Sensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePm25Sensor.h
+
+
+Go to the documentation of this file.
1
+
59#ifndef MePm25Sensor_H
+
60#define MePm25Sensor_H
+
61
+
62#include <stdint.h>
+
63#include <stdbool.h>
+
64#include <Arduino.h>
+
65#include "MeConfig.h"
+
66#include "MeSerial.h"
+
67
+
68#define START_SYSEX1 0x32
+
69#define START_SYSEX2 0x3d
+
70#define LENGTH 28//帧长度
+
71
+
72//#define DEFAULT_UART_BUF_SIZE 32
+
73
+
+
74typedef struct{
+
75// uint16_t head;//0x323d
+
76 uint16_t len;
+
77 uint16_t data1;
+
78 uint16_t data2;
+
79 uint16_t data3;
+
80 uint16_t data4;
+
81 uint16_t data5;
+
82 uint16_t data6;
+
83 uint16_t data7;
+
84 uint16_t data8;
+
85 uint16_t data9;
+
86 uint16_t data10;//default
+
87 uint16_t data11;//default
+
88 uint16_t data12;//default
+
89 uint16_t data13;//default
+
90 uint16_t checksum;
+ +
+
92
+
93
+
+ +
95 uint8_t storedInputData[31];
+ +
97};
+
+
98
+
99#ifdef ME_PORT_DEFINED
+
100#include "MePort.h"
+
101#endif /* ME_PORT_DEFINED */
+
102
+
108#ifndef ME_PORT_DEFINED
+
109class MePm25Sensor
+
110#else /* !ME_PORT_DEFINED */
+
+
111class MePm25Sensor : public MeSerial
+
112#endif
+
113/* !ME_PORT_DEFINED */
+
114{
+
115public:
+
116#ifdef ME_PORT_DEFINED
+
123 MePm25Sensor();
+
124
+
131 MePm25Sensor(uint8_t port);
+
132#else // ME_PORT_DEFINED
+
143 MePm25Sensor(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
144#endif // ME_PORT_DEFINED
+
161 uint16_t readPm1_0Concentration(void);//PM1.0 ug/m^3
+
178 uint16_t readPm2_5Concentration(void);//PM2.5 ug/m^3
+
195 uint16_t readPm10Concentration(void);//PM10 ug/m^3
+
212 uint16_t read0_3NumIn100ml(void);//0.1L空气中直径在0.3um的颗粒物个数
+
229 uint16_t read0_5NumIn100ml(void);//0.1L空气中直径在0.5um的颗粒物个数
+
246 uint16_t read1_0NumIn100ml(void);//0.1L空气中直径在1.0um的颗粒物个数
+
263 uint16_t read2_5NumIn100ml(void);//0.1L空气中直径在2.5um的颗粒物个数
+
280 uint16_t read5_0NumIn100ml(void);//0.1L空气中直径在5.0um的颗粒物个数
+
297 uint16_t read10NumIn100ml(void);//0.1L空气中直径在10um的颗粒物个数
+
314 uint16_t setOuputCompatibility(void);//设置输出兼容
+
331 uint16_t turnOnFanLaser(void);//打开风扇激光
+
348 uint16_t turnOffFanLaser(void);//关闭风扇激光
+
365 uint16_t OutputIntimeOn(void);//定时输出开
+
382 uint16_t OutputIntimeOff(void);//定时输出关
+
399 uint16_t setOutputIntimePeriod(uint16_t settime);//设定定时输出间隔
+
416 uint16_t askForData(void);//请求输出数据
+
433 uint16_t coreSelfTest(void);//滤芯检测
+
450 uint16_t returnCoreSelfTest(void);//返回自检结果
+
467 uint16_t setCoreSelfTestTime(uint8_t settime);//设定检测时间 0~255s
+
484 uint16_t setCoreEfficient(uint8_t efficent);//设定滤芯使用效率
+
499 void rxloop(void);
+
514 uint16_t returnlen(void);//返回有效数据长度
+
529 uint16_t returnchecksum(void);//返回校验值
+
530 private:
+
531 union PM25DATAUINO sysex,rxbuf;
+
532 // uint8_t buffer_flag;
+
533 volatile int16_t sysexBytesRead;
+
534 // volatile uint16_t resFlag;
+
535 // volatile servo_device_type servo_dev_list[8];
+
536 // volatile long cmdTimeOutValue;
+
537 volatile boolean parsingSysex;
+
538};
+
+
539
+
540#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for Me PM2.5 sensor device.
Definition MePm25Sensor.h:114
+
MePm25Sensor()
Definition MePm25Sensor.cpp:71
+
uint16_t returnchecksum(void)
Definition MePm25Sensor.cpp:733
+
uint16_t returnlen(void)
Definition MePm25Sensor.cpp:714
+
Driver for serial.
Definition MeSerial.h:67
+
Definition MePm25Sensor.h:74
+
Definition MePm25Sensor.h:94
+
+
+ + + + diff --git a/doc/html/_me_port_8cpp.html b/doc/html/_me_port_8cpp.html new file mode 100644 index 00000000..c62826f8 --- /dev/null +++ b/doc/html/_me_port_8cpp.html @@ -0,0 +1,197 @@ + + + + + + + +MakeBlock Drive Updated: src/MePort.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePort.cpp File Reference
+
+
+ +

Port Mapping for RJ25. +More...

+
#include "MePort.h"
+
+Include dependency graph for MePort.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Port Mapping for RJ25.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MakeBlock rj25 port.
+
Method List:
+
    +
  1. uint8_t MePort::getSlot()
  2. +
  3. uint8_t MePort::getSlot()
  4. +
  5. bool MePort::dRead1(uint8_t mode)
  6. +
  7. bool MePort::dRead2(uint8_t mode)
  8. +
  9. bool MePort::dpRead1(void)
  10. +
  11. bool MePort::dpRead1(void)
  12. +
  13. void MePort::dWrite1(bool value)
  14. +
  15. void MePort::dWrite2(bool value)
  16. +
  17. int16_t MePort::aRead1()
  18. +
  19. int16_t MePort::aRead2()
  20. +
  21. void MePort::aWrite1(int16_t value)
  22. +
  23. void MePort::aWrite2(int16_t value)
  24. +
  25. void MePort::reset(uint8_t port)
  26. +
  27. void MePort::reset(uint8_t port, uint8_t slot)
  28. +
  29. uint8_t MePort::pin1()
  30. +
  31. uint8_t MePort::pin2()
  32. +
  33. uint8_t MePort::pin()
  34. +
  35. uint8_t MePort::pin(uint8_t port, uint8_t slot)
  36. +
+
History:
+`<Author>`         `<Time>`        `<Version>`         `<Descr>`
+Mark Yan         2015/09/01           1.0.0            Rebuild the old lib.
+Lawrence         2015/09/09           1.0.1            Add a input parameter of function dRead1 and dRead2.
+
+
+
+ + + + diff --git a/doc/html/_me_port_8cpp__incl.map b/doc/html/_me_port_8cpp__incl.map new file mode 100644 index 00000000..bfa2921c --- /dev/null +++ b/doc/html/_me_port_8cpp__incl.map @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_port_8cpp__incl.md5 b/doc/html/_me_port_8cpp__incl.md5 new file mode 100644 index 00000000..453f5c61 --- /dev/null +++ b/doc/html/_me_port_8cpp__incl.md5 @@ -0,0 +1 @@ +e16fb7c6a1dd9949ca837277e0e4b87c \ No newline at end of file diff --git a/doc/html/_me_port_8cpp__incl.png b/doc/html/_me_port_8cpp__incl.png new file mode 100644 index 00000000..a3fbbb42 Binary files /dev/null and b/doc/html/_me_port_8cpp__incl.png differ diff --git a/doc/html/_me_port_8h.html b/doc/html/_me_port_8h.html new file mode 100644 index 00000000..600f789a --- /dev/null +++ b/doc/html/_me_port_8h.html @@ -0,0 +1,640 @@ + + + + + + + +MakeBlock Drive Updated: src/MePort.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePort.h File Reference
+
+
+ +

Header for MePort.cpp module. +More...

+
#include <Arduino.h>
+#include <avr/interrupt.h>
+#include <avr/io.h>
+#include <util/delay.h>
+#include <stdint.h>
+#include <stdlib.h>
+#include "MeConfig.h"
+
+Include dependency graph for MePort.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  MePort_Sig
 
class  MePort
 Port Mapping for RJ25. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define NC   (0)
 
+#define PORT_1   (0x01)
 
+#define PORT_2   (0x02)
 
+#define PORT_3   (0x03)
 
+#define PORT_4   (0x04)
 
+#define PORT_5   (0x05)
 
+#define PORT_6   (0x06)
 
+#define PORT_7   (0x07)
 
+#define PORT_8   (0x08)
 
+#define PORT_9   (0x09)
 
+#define PORT_10   (0x0a)
 
+#define M1   (0x09)
 
+#define M2   (0x0a)
 
+#define PORT_11   (0x0b)
 
+#define PORT_12   (0x0c)
 
+#define PORT_13   (0x0d)
 
+#define PORT_14   (0x0e)
 
+#define PORT_15   (0x0f)
 
+#define PORT_16   (0x10)
 
+#define SLOT1   (1)
 
+#define SLOT2   (2)
 
+#define SLOT3   (3)
 
+#define SLOT4   (4)
 
+#define SLOT_1   SLOT1
 
+#define SLOT_2   SLOT2
 
+#define SLOT_3   SLOT3
 
+#define SLOT_4   SLOT4
 
+#define FALSE   (0)
 
+#define TRUE   (1)
 
+ + + +

+Variables

+MePort_Sig mePort [17]
 
+

Detailed Description

+

Header for MePort.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/09/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for MakeBlock rj25 port.
+
Method List:
+
    +
  1. uint8_t MePort::getSlot()
  2. +
  3. uint8_t MePort::getSlot()
  4. +
  5. bool MePort::dRead1(uint8_t mode)
  6. +
  7. bool MePort::dRead2(uint8_t mode)
  8. +
  9. bool MePort::dpRead1(void)
  10. +
  11. bool MePort::dpRead1(void)
  12. +
  13. void MePort::dWrite1(bool value)
  14. +
  15. void MePort::dWrite2(bool value)
  16. +
  17. int16_t MePort::aRead1()
  18. +
  19. int16_t MePort::aRead2()
  20. +
  21. void MePort::aWrite1(int16_t value)
  22. +
  23. void MePort::aWrite2(int16_t value)
  24. +
  25. void MePort::reset(uint8_t port)
  26. +
  27. void MePort::reset(uint8_t port, uint8_t slot)
  28. +
  29. uint8_t MePort::pin1()
  30. +
  31. uint8_t MePort::pin2()
  32. +
  33. uint8_t MePort::pin()
  34. +
  35. uint8_t MePort::pin(uint8_t port, uint8_t slot)
  36. +
+
History:
+`<Author>`         `<Time>`        `<Version>`         `<Descr>`
+Mark Yan         2015/09/01          1.0.0            Rebuild the old lib.
+Lawrence         2015/09/09          1.0.1            Add a input parameter of function dRead1 and dRead2.
+Scott wang       2016/09/18          1.0.2            Add the PORT[15].
+Scott            2016/09/20          1.0.3            Add the PORT[16].
+
+
+
+ + + + diff --git a/doc/html/_me_port_8h.js b/doc/html/_me_port_8h.js new file mode 100644 index 00000000..25a54fc8 --- /dev/null +++ b/doc/html/_me_port_8h.js @@ -0,0 +1,5 @@ +var _me_port_8h = +[ + [ "MePort_Sig", "struct_me_port___sig.html", null ], + [ "MePort", "class_me_port.html", "class_me_port" ] +]; \ No newline at end of file diff --git a/doc/html/_me_port_8h__dep__incl.map b/doc/html/_me_port_8h__dep__incl.map new file mode 100644 index 00000000..c9bc6051 --- /dev/null +++ b/doc/html/_me_port_8h__dep__incl.map @@ -0,0 +1,321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_port_8h__dep__incl.md5 b/doc/html/_me_port_8h__dep__incl.md5 new file mode 100644 index 00000000..8d488378 --- /dev/null +++ b/doc/html/_me_port_8h__dep__incl.md5 @@ -0,0 +1 @@ +7508aa166914b1070894842e1053da02 \ No newline at end of file diff --git a/doc/html/_me_port_8h__dep__incl.png b/doc/html/_me_port_8h__dep__incl.png new file mode 100644 index 00000000..74ee12c8 Binary files /dev/null and b/doc/html/_me_port_8h__dep__incl.png differ diff --git a/doc/html/_me_port_8h__incl.map b/doc/html/_me_port_8h__incl.map new file mode 100644 index 00000000..e2bb6163 --- /dev/null +++ b/doc/html/_me_port_8h__incl.map @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_port_8h__incl.md5 b/doc/html/_me_port_8h__incl.md5 new file mode 100644 index 00000000..819356ec --- /dev/null +++ b/doc/html/_me_port_8h__incl.md5 @@ -0,0 +1 @@ +ebd3ee81ceafc576687830fc69a05194 \ No newline at end of file diff --git a/doc/html/_me_port_8h__incl.png b/doc/html/_me_port_8h__incl.png new file mode 100644 index 00000000..884c2bfa Binary files /dev/null and b/doc/html/_me_port_8h__incl.png differ diff --git a/doc/html/_me_port_8h_source.html b/doc/html/_me_port_8h_source.html new file mode 100644 index 00000000..4590aa7f --- /dev/null +++ b/doc/html/_me_port_8h_source.html @@ -0,0 +1,259 @@ + + + + + + + +MakeBlock Drive Updated: src/MePort.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePort.h
+
+
+Go to the documentation of this file.
1
+
56#ifndef MEPORT_H_
+
57#define MEPORT_H_
+
58
+
59#include <Arduino.h>
+
60#include <avr/interrupt.h>
+
61#include <avr/io.h>
+
62#include <util/delay.h>
+
63#include <stdint.h>
+
64#include <stdlib.h>
+
65#include "MeConfig.h"
+
66
+
+
70typedef struct
+
71{
+
72 uint8_t s1;
+
73 uint8_t s2;
+ +
+
75
+
76extern MePort_Sig mePort[17]; // mePort[0] is nonsense
+
77
+
78#define NC (0) //use UART RX for NULL port
+
79
+
80#define PORT_1 (0x01)
+
81#define PORT_2 (0x02)
+
82#define PORT_3 (0x03)
+
83#define PORT_4 (0x04)
+
84#define PORT_5 (0x05)
+
85#define PORT_6 (0x06)
+
86#define PORT_7 (0x07)
+
87#define PORT_8 (0x08)
+
88#define PORT_9 (0x09)
+
89#define PORT_10 (0x0a)
+
90#define M1 (0x09)
+
91#define M2 (0x0a)
+
92#define PORT_11 (0x0b)
+
93#define PORT_12 (0x0c)
+
94#define PORT_13 (0x0d)
+
95#define PORT_14 (0x0e)
+
96#define PORT_15 (0x0f)
+
97#define PORT_16 (0x10)
+
98
+
99#ifdef MeMbot_H
+
100#define PORT_RGB (0x05)
+
101#define PORT_LightSensor (0x06)
+
102#endif
+
103
+
104#define SLOT1 (1)
+
105#define SLOT2 (2)
+
106#define SLOT3 (3)
+
107#define SLOT4 (4)
+
108#define SLOT_1 SLOT1
+
109#define SLOT_2 SLOT2
+
110#define SLOT_3 SLOT3
+
111#define SLOT_4 SLOT4
+
112
+
113#ifndef FALSE
+
114#define FALSE (0)
+
115#endif
+
116
+
117#ifndef TRUE
+
118#define TRUE (1)
+
119#endif
+
120
+
+ +
128{
+
129public:
+
130
+
135 MePort(void);
+
136
+
143 MePort(uint8_t port);
+
144
+
153 MePort(uint8_t port, uint8_t slot);
+
154
+
167 uint8_t getPort(void);
+
168
+
181 uint8_t getSlot(void);
+
182
+
197 bool dRead1(uint8_t mode = INPUT);
+
198
+
213 bool dRead2(uint8_t mode = INPUT);
+
214
+
228 bool dpRead1(void);
+
229
+
243 bool dpRead2(void);
+
244
+
259 void dWrite1(bool value);
+
260
+
275 void dWrite2(bool value);
+
276
+
289 int16_t aRead1(void);
+
290
+
303 int16_t aRead2(void);
+
304
+
319 void aWrite1(int16_t value);
+
320
+
335 void aWrite2(int16_t value);
+
336
+
351 void reset(uint8_t port);
+
352
+
369 void reset(uint8_t port, uint8_t slot);
+
370
+
383 uint8_t pin1(void);
+
384
+
397 uint8_t pin2(void);
+
398
+
412 uint8_t pin(void);
+
413
+
430 uint8_t pin(uint8_t port, uint8_t slot);
+
431
+
432protected:
+
433
+
438 uint8_t s1;
+
439
+
444 uint8_t s2;
+
445
+
451 uint8_t _port;
+
452
+
457 uint8_t _slot;
+
458};
+
+
459#endif // MEPORT_H_
+
Configuration file of library.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
void dWrite2(bool value)
Definition MePort.cpp:251
+
uint8_t pin1(void)
Definition MePort.cpp:392
+
bool dpRead2(void)
Definition MePort.cpp:209
+
void aWrite2(int16_t value)
Definition MePort.cpp:330
+
uint8_t _slot
Definition MePort.h:457
+
uint8_t getSlot(void)
Definition MePort.cpp:126
+
int16_t aRead2(void)
Definition MePort.cpp:289
+
uint8_t s2
Definition MePort.h:444
+
void reset(uint8_t port)
Definition MePort.cpp:349
+
uint8_t pin2(void)
Definition MePort.cpp:409
+
bool dRead1(uint8_t mode=INPUT)
Definition MePort.cpp:145
+
uint8_t getPort(void)
Definition MePort.cpp:109
+
void dWrite1(bool value)
Definition MePort.cpp:231
+
bool dpRead1(void)
Definition MePort.cpp:188
+
bool dRead2(uint8_t mode=INPUT)
Definition MePort.cpp:167
+
uint8_t s1
Definition MePort.h:438
+
int16_t aRead1(void)
Definition MePort.cpp:269
+
void aWrite1(int16_t value)
Definition MePort.cpp:311
+
uint8_t _port
Definition MePort.h:451
+
MePort(void)
Definition MePort.cpp:61
+
uint8_t pin(void)
Definition MePort.cpp:427
+
Definition MePort.h:71
+
+
+ + + + diff --git a/doc/html/_me_potentiometer_8cpp.html b/doc/html/_me_potentiometer_8cpp.html new file mode 100644 index 00000000..04671eb0 --- /dev/null +++ b/doc/html/_me_potentiometer_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MePotentiometer.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePotentiometer.cpp File Reference
+
+
+ +

Driver for Me potentiometer module. +More...

+
#include "MePotentiometer.h"
+
+Include dependency graph for MePotentiometer.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me potentiometer module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MePotentiometer::setpin(uint8_t potentiometerPin);
  2. +
  3. uint16_t MePotentiometer::read(void);
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/08     1.0.1            Added some comments and macros.
+
+
+
+ + + + diff --git a/doc/html/_me_potentiometer_8cpp__incl.map b/doc/html/_me_potentiometer_8cpp__incl.map new file mode 100644 index 00000000..d28c0079 --- /dev/null +++ b/doc/html/_me_potentiometer_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_potentiometer_8cpp__incl.md5 b/doc/html/_me_potentiometer_8cpp__incl.md5 new file mode 100644 index 00000000..cce444c4 --- /dev/null +++ b/doc/html/_me_potentiometer_8cpp__incl.md5 @@ -0,0 +1 @@ +bd5935c091802ab48159d29463e24c73 \ No newline at end of file diff --git a/doc/html/_me_potentiometer_8cpp__incl.png b/doc/html/_me_potentiometer_8cpp__incl.png new file mode 100644 index 00000000..dd862be5 Binary files /dev/null and b/doc/html/_me_potentiometer_8cpp__incl.png differ diff --git a/doc/html/_me_potentiometer_8h.html b/doc/html/_me_potentiometer_8h.html new file mode 100644 index 00000000..40c9fa64 --- /dev/null +++ b/doc/html/_me_potentiometer_8h.html @@ -0,0 +1,225 @@ + + + + + + + +MakeBlock Drive Updated: src/MePotentiometer.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePotentiometer.h File Reference
+
+
+ +

Header for MePotentiometer.cpp. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MePotentiometer.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MePotentiometer
 Driver for Me potentiometer module. More...
 
+

Detailed Description

+

Header for MePotentiometer.cpp.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
+
Method List:
+
    +
  1. void MePotentiometer::setpin(uint8_t potentiometerPin);
  2. +
  3. uint16_t MePotentiometer::read(void);
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/09     1.0.1            Added some private variables and methods.
+
+
+
+ + + + diff --git a/doc/html/_me_potentiometer_8h.js b/doc/html/_me_potentiometer_8h.js new file mode 100644 index 00000000..4d94b49b --- /dev/null +++ b/doc/html/_me_potentiometer_8h.js @@ -0,0 +1,4 @@ +var _me_potentiometer_8h = +[ + [ "MePotentiometer", "class_me_potentiometer.html", "class_me_potentiometer" ] +]; \ No newline at end of file diff --git a/doc/html/_me_potentiometer_8h__dep__incl.map b/doc/html/_me_potentiometer_8h__dep__incl.map new file mode 100644 index 00000000..089d2ad5 --- /dev/null +++ b/doc/html/_me_potentiometer_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_potentiometer_8h__dep__incl.md5 b/doc/html/_me_potentiometer_8h__dep__incl.md5 new file mode 100644 index 00000000..d529d036 --- /dev/null +++ b/doc/html/_me_potentiometer_8h__dep__incl.md5 @@ -0,0 +1 @@ +d12505b6d8f496c9338fe85eb12e1b5a \ No newline at end of file diff --git a/doc/html/_me_potentiometer_8h__dep__incl.png b/doc/html/_me_potentiometer_8h__dep__incl.png new file mode 100644 index 00000000..34546db8 Binary files /dev/null and b/doc/html/_me_potentiometer_8h__dep__incl.png differ diff --git a/doc/html/_me_potentiometer_8h__incl.map b/doc/html/_me_potentiometer_8h__incl.map new file mode 100644 index 00000000..f0a8dd68 --- /dev/null +++ b/doc/html/_me_potentiometer_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_potentiometer_8h__incl.md5 b/doc/html/_me_potentiometer_8h__incl.md5 new file mode 100644 index 00000000..4f6a5830 --- /dev/null +++ b/doc/html/_me_potentiometer_8h__incl.md5 @@ -0,0 +1 @@ +a52961793180edeefa46ce58a9aa0bb1 \ No newline at end of file diff --git a/doc/html/_me_potentiometer_8h__incl.png b/doc/html/_me_potentiometer_8h__incl.png new file mode 100644 index 00000000..310a4753 Binary files /dev/null and b/doc/html/_me_potentiometer_8h__incl.png differ diff --git a/doc/html/_me_potentiometer_8h_source.html b/doc/html/_me_potentiometer_8h_source.html new file mode 100644 index 00000000..330466cc --- /dev/null +++ b/doc/html/_me_potentiometer_8h_source.html @@ -0,0 +1,153 @@ + + + + + + + +MakeBlock Drive Updated: src/MePotentiometer.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePotentiometer.h
+
+
+Go to the documentation of this file.
1
+
38#ifndef MePotentiometer_H
+
39#define MePotentiometer_H
+
40
+
41#include <stdint.h>
+
42#include <stdbool.h>
+
43#include <Arduino.h>
+
44#include "MeConfig.h"
+
45
+
46#ifdef ME_PORT_DEFINED
+
47#include "MePort.h"
+
48#endif // ME_PORT_DEFINED
+
49
+
55#ifndef ME_PORT_DEFINED
+ +
57#else // !ME_PORT_DEFINED
+
+
58class MePotentiometer : public MePort
+
59#endif // !ME_PORT_DEFINED
+
60{
+
61public:
+
62#ifdef ME_PORT_DEFINED
+
69 MePotentiometer(void);
+
70
+
76 MePotentiometer(uint8_t port);
+
77#else // ME_PORT_DEFINED
+
83 MePotentiometer(uint8_t potentiometerPin);
+
84#endif // ME_PORT_DEFINED
+
99 void setpin(uint8_t potentiometerPin);
+
100
+
115 uint16_t read(void);
+
116private:
+
117 volatile uint8_t _potentiometerPin;
+
118};
+
+
119#endif // MePotentiometer_H
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for Me potentiometer module.
Definition MePotentiometer.h:60
+
uint16_t read(void)
Definition MePotentiometer.cpp:119
+
MePotentiometer(void)
Definition MePotentiometer.cpp:56
+
+
+ + + + diff --git a/doc/html/_me_pressure_sensor_8h_source.html b/doc/html/_me_pressure_sensor_8h_source.html new file mode 100644 index 00000000..2bf4174b --- /dev/null +++ b/doc/html/_me_pressure_sensor_8h_source.html @@ -0,0 +1,177 @@ + + + + + + + +MakeBlock Drive Updated: src/MePressureSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePressureSensor.h
+
+
+
1#ifndef MePressureSensor_H
+
2#define MePressureSensor_H
+
3
+
4#if (ARDUINO >= 100)
+
5 #include "Arduino.h"
+
6#else
+
7 #include "WProgram.h"
+
8#endif
+
9#include "MeConfig.h"
+
10
+
11#define BMP180_DEBUG 0
+
12
+
13#define BMP180_I2CADDR 0x77
+
14
+
15#define BMP180_ULTRALOWPOWER 0
+
16#define BMP180_STANDARD 1
+
17#define BMP180_HIGHRES 2
+
18#define BMP180_ULTRAHIGHRES 3
+
19#define BMP180_CAL_AC1 0xAA
+
20#define BMP180_CAL_AC2 0xAC
+
21#define BMP180_CAL_AC3 0xAE
+
22#define BMP180_CAL_AC4 0xB0
+
23#define BMP180_CAL_AC5 0xB2
+
24#define BMP180_CAL_AC6 0xB4
+
25#define BMP180_CAL_B1 0xB6
+
26#define BMP180_CAL_B2 0xB8
+
27#define BMP180_CAL_MB 0xBA
+
28#define BMP180_CAL_MC 0xBC
+
29#define BMP180_CAL_MD 0xBE
+
30
+
31#define BMP180_CONTROL 0xF4
+
32#define BMP180_TEMPDATA 0xF6
+
33#define BMP180_PRESSUREDATA 0xF6
+
34#define BMP180_READTEMPCMD 0x2E
+
35#define BMP180_READPRESSURECMD 0x34
+
36
+
37
+
+ +
39 public:
+ +
41 boolean begin(uint8_t mode = BMP180_ULTRAHIGHRES);
+
42 float readTemperature(void);
+
43 int32_t readPressure(void);
+
44 int32_t readSealevelPressure(float altitude_meters = 0);
+
45 float readAltitude(float sealevelPressure = 101325);
+
46 uint16_t readRawTemperature(void);
+
47 uint32_t readRawPressure(void);
+
48
+
49 private:
+
50 int32_t computeB5(int32_t UT);
+
51 uint8_t readUInt8(uint8_t addr);
+
52 uint16_t readUInt16(uint8_t addr);
+
53 void writeUInt8(uint8_t addr, uint8_t data);
+
54
+
55 uint8_t oversampling;
+
56
+
57 int16_t ac1, ac2, ac3, b1, b2, mb, mc, md;
+
58 uint16_t ac4, ac5, ac6;
+
59};
+
+
60
+
61
+
62#endif
+
Configuration file of library.
+
Definition MePressureSensor.h:38
+
+
+ + + + diff --git a/doc/html/_me_r_g_b_led_8cpp.html b/doc/html/_me_r_g_b_led_8cpp.html new file mode 100644 index 00000000..07d7586b --- /dev/null +++ b/doc/html/_me_r_g_b_led_8cpp.html @@ -0,0 +1,267 @@ + + + + + + + +MakeBlock Drive Updated: src/MeRGBLed.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeRGBLed.cpp File Reference
+
+
+ +

Driver for W2812 full-color LED lights. +More...

+
#include "MeRGBLed.h"
+
+Include dependency graph for MeRGBLed.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define w_zeropulse   (350)
 
+#define w_onepulse   (900)
 
+#define w_totalperiod   (1250)
 
+#define w_fixedlow   (3)
 
+#define w_fixedhigh   (6)
 
+#define w_fixedtotal   (10)
 
+#define w_zerocycles   ( ( (F_CPU / 1000) * w_zeropulse) / 1000000)
 
+#define w_onecycles   ( ( (F_CPU / 1000) * w_onepulse + 500000) / 1000000)
 
+#define w_totalcycles   ( ( (F_CPU / 1000) * w_totalperiod + 500000) / 1000000)
 
+#define w1   (w_zerocycles - w_fixedlow)
 
+#define w2   (w_onecycles - w_fixedhigh - w1)
 
+#define w3   (w_totalcycles - w_fixedtotal - w1 - w2)
 
+#define w1_nops   0
 
+#define w_lowtime   ( (w1_nops + w_fixedlow) * 1000000) / (F_CPU / 1000)
 
+#define w2_nops   0
 
+#define w3_nops   0
 
+#define w_nop1   "nop \n\t"
 
+#define w_nop2   "rjmp .+0 \n\t"
 
+#define w_nop4   w_nop2 w_nop2
 
+#define w_nop8   w_nop4 w_nop4
 
+#define w_nop16   w_nop8 w_nop8
 
+

Detailed Description

+

Driver for W2812 full-color LED lights.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2017/06/23
+
Copyright
This software is Copyright (C), 2014-2018, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for WS2811/2812 full-color LED lights, It supports W2812B full-color LED lights device provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeRGBLed::reset(uint8_t port)
  2. +
  3. void MeRGBLed::reset(uint8_t port,uint8_t slot)
  4. +
  5. void MeRGBLed::setpin(uint8_t port)
  6. +
  7. uint8_t MeRGBLed::getNumber()
  8. +
  9. cRGB MeRGBLed::getColorAt(uint8_t index)
  10. +
  11. void MeRGBLed::fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue)
  12. +
  13. bool MeRGBLed::setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
  14. +
  15. bool MeRGBLed::setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
  16. +
  17. bool MeRGBLed::setColor(uint8_t red, uint8_t green, uint8_t blue)
  18. +
  19. bool MeRGBLed::setColor(uint8_t index, long value)
  20. +
  21. void MeRGBLed::show()
  22. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+Scott            2016/09/20     1.0.1            Add a delay.
+Mark Yan         2017/06/23     1.0.2            Add function fillPixelsBak.
+
+
+
+ + + + diff --git a/doc/html/_me_r_g_b_led_8cpp__incl.map b/doc/html/_me_r_g_b_led_8cpp__incl.map new file mode 100644 index 00000000..787d16dd --- /dev/null +++ b/doc/html/_me_r_g_b_led_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_r_g_b_led_8cpp__incl.md5 b/doc/html/_me_r_g_b_led_8cpp__incl.md5 new file mode 100644 index 00000000..45b414d3 --- /dev/null +++ b/doc/html/_me_r_g_b_led_8cpp__incl.md5 @@ -0,0 +1 @@ +715ac4ae226b6a802a8dd340d9954bd2 \ No newline at end of file diff --git a/doc/html/_me_r_g_b_led_8cpp__incl.png b/doc/html/_me_r_g_b_led_8cpp__incl.png new file mode 100644 index 00000000..cfb28922 Binary files /dev/null and b/doc/html/_me_r_g_b_led_8cpp__incl.png differ diff --git a/doc/html/_me_r_g_b_led_8h.html b/doc/html/_me_r_g_b_led_8h.html new file mode 100644 index 00000000..6d8e5cdd --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h.html @@ -0,0 +1,248 @@ + + + + + + + +MakeBlock Drive Updated: src/MeRGBLed.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeRGBLed.h File Reference
+
+
+ +

Header for MeRGBLed.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeRGBLed.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + +

+Classes

struct  cRGB
 Class for RGB Led Module. More...
 
class  MeRGBLed
 Driver for W2812 full-color LED. More...
 
+ + + +

+Macros

+#define DEFAULT_MAX_LED_NUMBER   (32)
 
+

Detailed Description

+

Header for MeRGBLed.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2017/06/23
+
Copyright
This software is Copyright (C), 2014-2018, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for WS2811/2812 full-color LED lights, It supports W2812B full-color LED lights device provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeRGBLed::reset(uint8_t port)
  2. +
  3. void MeRGBLed::reset(uint8_t port,uint8_t slot)
  4. +
  5. void MeRGBLed::setpin(uint8_t port)
  6. +
  7. uint8_t MeRGBLed::getNumber()
  8. +
  9. cRGB MeRGBLed::getColorAt(uint8_t index)
  10. +
  11. void MeRGBLed::fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue)
  12. +
  13. bool MeRGBLed::setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
  14. +
  15. bool MeRGBLed::setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
  16. +
  17. bool MeRGBLed::setColor(uint8_t red, uint8_t green, uint8_t blue)
  18. +
  19. bool MeRGBLed::setColor(uint8_t index, long value)
  20. +
  21. void MeRGBLed::show()
  22. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+Mark Yan         2017/06/23     1.0.1            Add function fillPixelsBak.
+
+

DERIVED FROM light weight WS2812 lib V2.1 - Arduino support

+

Controls WS2811/WS2812/WS2812B RGB-LEDs Author: Tim (cpldc.nosp@m.pu@g.nosp@m.mail..nosp@m.com)

+

Jan 18th, 2014 v2.0b Initial Version March 7th, 2014 v2.1 Added option to retarget the port register during runtime Removes inlining to allow compiling with c++

+

License: GNU GPL v2 (see License.txt)

+
+
+ + + + diff --git a/doc/html/_me_r_g_b_led_8h.js b/doc/html/_me_r_g_b_led_8h.js new file mode 100644 index 00000000..8aa1ff7d --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h.js @@ -0,0 +1,5 @@ +var _me_r_g_b_led_8h = +[ + [ "cRGB", "structc_r_g_b.html", null ], + [ "MeRGBLed", "class_me_r_g_b_led.html", "class_me_r_g_b_led" ] +]; \ No newline at end of file diff --git a/doc/html/_me_r_g_b_led_8h__dep__incl.map b/doc/html/_me_r_g_b_led_8h__dep__incl.map new file mode 100644 index 00000000..74696322 --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_r_g_b_led_8h__dep__incl.md5 b/doc/html/_me_r_g_b_led_8h__dep__incl.md5 new file mode 100644 index 00000000..df34b29f --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h__dep__incl.md5 @@ -0,0 +1 @@ +c07adbc886ca632de3abb1d17a55e400 \ No newline at end of file diff --git a/doc/html/_me_r_g_b_led_8h__dep__incl.png b/doc/html/_me_r_g_b_led_8h__dep__incl.png new file mode 100644 index 00000000..1365df84 Binary files /dev/null and b/doc/html/_me_r_g_b_led_8h__dep__incl.png differ diff --git a/doc/html/_me_r_g_b_led_8h__incl.map b/doc/html/_me_r_g_b_led_8h__incl.map new file mode 100644 index 00000000..5e583dbd --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_r_g_b_led_8h__incl.md5 b/doc/html/_me_r_g_b_led_8h__incl.md5 new file mode 100644 index 00000000..703b5939 --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h__incl.md5 @@ -0,0 +1 @@ +c654a3edf937428c2fcb7995e2766753 \ No newline at end of file diff --git a/doc/html/_me_r_g_b_led_8h__incl.png b/doc/html/_me_r_g_b_led_8h__incl.png new file mode 100644 index 00000000..74ea2d60 Binary files /dev/null and b/doc/html/_me_r_g_b_led_8h__incl.png differ diff --git a/doc/html/_me_r_g_b_led_8h_source.html b/doc/html/_me_r_g_b_led_8h_source.html new file mode 100644 index 00000000..2cf8298e --- /dev/null +++ b/doc/html/_me_r_g_b_led_8h_source.html @@ -0,0 +1,209 @@ + + + + + + + +MakeBlock Drive Updated: src/MeRGBLed.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeRGBLed.h
+
+
+Go to the documentation of this file.
1
+
60#ifndef MeRGBLed_h
+
61#define MeRGBLed_h
+
62#include <stdint.h>
+
63#include <stdbool.h>
+
64#include <Arduino.h>
+
65#include "MeConfig.h"
+
66
+
67#ifdef ME_PORT_DEFINED
+
68#include "MePort.h"
+
69#endif // ME_PORT_DEFINED
+
70
+
71#define DEFAULT_MAX_LED_NUMBER (32)
+
72
+
+
74struct cRGB
+
75{
+
76 uint8_t g;
+
77 uint8_t r;
+
78 uint8_t b;
+
79};
+
+
80
+
87#ifndef ME_PORT_DEFINED
+
88class MeRGBLed
+
89#else // !ME_PORT_DEFINED
+
+
90class MeRGBLed : public MePort
+
91#endif // !ME_PORT_DEFINED
+
92{
+
93public:
+
94#ifdef ME_PORT_DEFINED
+
102 MeRGBLed(void);
+
103
+
111 MeRGBLed(uint8_t port);
+
112
+
122 MeRGBLed(uint8_t port, uint8_t led_num);
+
123
+
136 MeRGBLed(uint8_t port, uint8_t slot, uint8_t led_num);
+
137#else //ME_PORT_DEFINED
+
145 MeRGBLed(uint8_t port);
+
146
+
156 MeRGBLed(uint8_t port, uint8_t led_num);
+
157#endif //ME_PORT_DEFINED
+
161 ~MeRGBLed(void);
+
162
+
163#ifdef ME_PORT_DEFINED
+
178 void reset(uint8_t port);
+
179
+
196 void reset(uint8_t port,uint8_t slot);
+
197#endif //ME_PORT_DEFINED
+
212 void setpin(uint8_t port);
+
213
+
226 uint8_t getNumber(void);
+
227
+
242 cRGB getColorAt(uint8_t index);
+
243
+
262void fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue);
+
263
+
285bool setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue);
+
286
+
308 bool setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue);
+
309
+
329 bool setColor(uint8_t red, uint8_t green, uint8_t blue);
+
330
+
346 bool setColor(uint8_t index, long value);
+
347
+
362 void setNumber(uint8_t num_led);
+
363
+
376 void show(void);
+
377
+
378private:
+
379 uint16_t count_led;
+
380 uint8_t *pixels;
+
381 uint8_t *pixels_bak;
+
382
+
404 void rgbled_sendarray_mask(uint8_t *array, uint16_t length, uint8_t pinmask, uint8_t *port);
+
405
+
406 const volatile uint8_t *ws2812_port;
+
407 volatile uint8_t *ws2812_port_reg;
+
408 uint8_t pinMask;
+
409};
+
+
410#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for W2812 full-color LED.
Definition MeRGBLed.h:92
+
void reset(uint8_t port)
Definition MeRGBLed.cpp:200
+
void fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue)
Definition MeRGBLed.cpp:379
+
cRGB getColorAt(uint8_t index)
Definition MeRGBLed.cpp:328
+
bool setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
Definition MeRGBLed.cpp:411
+
uint8_t getNumber(void)
Definition MeRGBLed.cpp:356
+
bool setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
Definition MeRGBLed.cpp:445
+
void show(void)
Definition MeRGBLed.cpp:706
+
void setNumber(uint8_t num_led)
Definition MeRGBLed.cpp:290
+
MeRGBLed(void)
Definition MeRGBLed.cpp:75
+
Class for RGB Led Module.
Definition MeRGBLed.h:75
+
+
+ + + + diff --git a/doc/html/_me_serial_8cpp.html b/doc/html/_me_serial_8cpp.html new file mode 100644 index 00000000..acf7b233 --- /dev/null +++ b/doc/html/_me_serial_8cpp.html @@ -0,0 +1,203 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSerial.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSerial.cpp File Reference
+
+
+ +

this file is a drive for serial +More...

+
#include "MeSerial.h"
+#include <stdio.h>
+#include <stdarg.h>
+
+Include dependency graph for MeSerial.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

this file is a drive for serial

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/09/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for serial, It support hardware and software serial
+
Method List:
+
    +
  1. void MeSerial::setHardware(bool mode)
  2. +
  3. void MeSerial::begin(long baudrate)
  4. +
  5. void MeSerial::end(void)
  6. +
  7. size_t MeSerial::write(uint8_t byte)
  8. +
  9. int16_t MeSerial::read(void)
  10. +
  11. int16_t MeSerial::available(void)
  12. +
  13. bool MeSerial::listen(void)
  14. +
  15. bool MeSerial::isListening(void)
  16. +
  17. int16_t MeSerial::poll(void)
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08     1.0.0            Rebuild the old lib.
+Mark Yan         2016/01/20     1.0.1            support arduino pin-setting.
+Scott wang       2016/09/18     1.0.2            support the ATmega2560  Serial3 setting.
+Scott            2016/09/20     1.0.3            support the Auriga Serial.
+
+
+
+ + + + diff --git a/doc/html/_me_serial_8cpp__incl.map b/doc/html/_me_serial_8cpp__incl.map new file mode 100644 index 00000000..fb24e2ed --- /dev/null +++ b/doc/html/_me_serial_8cpp__incl.map @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_serial_8cpp__incl.md5 b/doc/html/_me_serial_8cpp__incl.md5 new file mode 100644 index 00000000..1a6e6e99 --- /dev/null +++ b/doc/html/_me_serial_8cpp__incl.md5 @@ -0,0 +1 @@ +1b234c14efd89b099e6fb5f683e17b56 \ No newline at end of file diff --git a/doc/html/_me_serial_8cpp__incl.png b/doc/html/_me_serial_8cpp__incl.png new file mode 100644 index 00000000..c858c51a Binary files /dev/null and b/doc/html/_me_serial_8cpp__incl.png differ diff --git a/doc/html/_me_serial_8h.html b/doc/html/_me_serial_8h.html new file mode 100644 index 00000000..ee64ac38 --- /dev/null +++ b/doc/html/_me_serial_8h.html @@ -0,0 +1,303 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSerial.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeSerial.h File Reference
+
+
+ +

Header for for MeSerial.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeSerial.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeSerial
 Driver for serial. More...
 
+

Detailed Description

+

Header for for MeSerial.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2015/01/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for serial, It support hardware and software serial
+
Method List:
+
    +
  1. void MeSerial::setHardware(bool mode)
  2. +
  3. void MeSerial::begin(long baudrate)
  4. +
  5. void MeSerial::end(void)
  6. +
  7. size_t MeSerial::write(uint8_t byte)
  8. +
  9. int16_t MeSerial::read(void)
  10. +
  11. int16_t MeSerial::available(void)
  12. +
  13. bool MeSerial::listen(void)
  14. +
  15. bool MeSerial::isListening(void)
  16. +
  17. int16_t MeSerial::poll(void)
  18. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08     1.0.0            Rebuild the old lib.
+Mark Yan         2016/01/20     1.0.1            support arduino pin-setting.
+
+
+
+ + + + diff --git a/doc/html/_me_serial_8h.js b/doc/html/_me_serial_8h.js new file mode 100644 index 00000000..ba5dc636 --- /dev/null +++ b/doc/html/_me_serial_8h.js @@ -0,0 +1,4 @@ +var _me_serial_8h = +[ + [ "MeSerial", "class_me_serial.html", "class_me_serial" ] +]; \ No newline at end of file diff --git a/doc/html/_me_serial_8h__dep__incl.map b/doc/html/_me_serial_8h__dep__incl.map new file mode 100644 index 00000000..63085ca6 --- /dev/null +++ b/doc/html/_me_serial_8h__dep__incl.map @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_serial_8h__dep__incl.md5 b/doc/html/_me_serial_8h__dep__incl.md5 new file mode 100644 index 00000000..8e770b06 --- /dev/null +++ b/doc/html/_me_serial_8h__dep__incl.md5 @@ -0,0 +1 @@ +eeaa3ed64e6695238902cdf752de9597 \ No newline at end of file diff --git a/doc/html/_me_serial_8h__dep__incl.png b/doc/html/_me_serial_8h__dep__incl.png new file mode 100644 index 00000000..fe835338 Binary files /dev/null and b/doc/html/_me_serial_8h__dep__incl.png differ diff --git a/doc/html/_me_serial_8h__incl.map b/doc/html/_me_serial_8h__incl.map new file mode 100644 index 00000000..b10b8ac0 --- /dev/null +++ b/doc/html/_me_serial_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_serial_8h__incl.md5 b/doc/html/_me_serial_8h__incl.md5 new file mode 100644 index 00000000..5d95e76c --- /dev/null +++ b/doc/html/_me_serial_8h__incl.md5 @@ -0,0 +1 @@ +d1b441b66bda3744f9dc9d3ff40c9001 \ No newline at end of file diff --git a/doc/html/_me_serial_8h__incl.png b/doc/html/_me_serial_8h__incl.png new file mode 100644 index 00000000..be6cd558 Binary files /dev/null and b/doc/html/_me_serial_8h__incl.png differ diff --git a/doc/html/_me_serial_8h_source.html b/doc/html/_me_serial_8h_source.html new file mode 100644 index 00000000..962ee86c --- /dev/null +++ b/doc/html/_me_serial_8h_source.html @@ -0,0 +1,205 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSerial.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSerial.h
+
+
+Go to the documentation of this file.
1
+
45#ifndef MeSerial_H
+
46#define MeSerial_H
+
47
+
48#include <stdint.h>
+
49#include <stdbool.h>
+
50#include <Arduino.h>
+
51#include "MeConfig.h"
+
52
+
53#ifdef ME_PORT_DEFINED
+
54#include "MePort.h"
+
55#endif // ME_PORT_DEFINED
+
56
+
62#ifndef ME_PORT_DEFINED
+
63class MeSerial
+
64#else // !ME_PORT_DEFINED
+
+
65class MeSerial : public MePort, public SoftwareSerial
+
66#endif // !ME_PORT_DEFINED
+
67{
+
68public:
+
75 MeSerial(void);
+
76
+
83 MeSerial(uint8_t port);
+
84
+
95 MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic = false);
+
96
+
111 void setHardware(bool mode);
+
112
+
129 void begin(long baudrate);
+
130
+
145 size_t write(uint8_t byte);
+
146
+
161 int read();
+
162
+
177 int available();
+
178
+
192 int16_t poll(void);
+
193
+
206 void end(void);
+
207
+
224 bool listen(void);
+
225
+
238 bool isListening(void);
+
239
+
254 void sendString(char *str);
+
255
+
273 void printf(char *fmt,...);
+
274
+
275 boolean dataLineAvailable(void);
+
276 String readDataLine(void);
+
277 String concatenateWith(String s1,String s2);
+
278 char letterOf(int i,String s);
+
279 int stringLength(String s);
+
280 boolean equalString(String s1,String s2);
+
281 float getValue(String key);
+
282
+
283protected:
+
284 bool _hard;
+
285 bool _polling;
+
286 bool _scratch;
+
287 int16_t _bitPeriod;
+
288 int16_t _byte;
+
289 long _lastTime;
+
290 char buffer[64];
+
291 String lastLine;
+
292 int bufferIndex;
+
293
+
294private:
+
295 volatile uint8_t _RxPin;
+
296 volatile uint8_t _TxPin;
+
297};
+
+
298#endif
+
299
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
uint8_t s2
Definition MePort.h:444
+
uint8_t s1
Definition MePort.h:438
+
Driver for serial.
Definition MeSerial.h:67
+
int read()
Definition MeSerial.cpp:293
+
void begin(long baudrate)
Definition MeSerial.cpp:165
+
void printf(char *fmt,...)
Definition MeSerial.cpp:497
+
int available()
Definition MeSerial.cpp:342
+
bool isListening(void)
Definition MeSerial.cpp:416
+
bool listen(void)
Definition MeSerial.cpp:392
+
int16_t poll(void)
Definition MeSerial.cpp:441
+
void setHardware(bool mode)
Definition MeSerial.cpp:144
+
MeSerial(void)
Definition MeSerial.cpp:59
+
void sendString(char *str)
Definition MeSerial.cpp:472
+
void end(void)
Definition MeSerial.cpp:207
+
size_t write(uint8_t byte)
Definition MeSerial.cpp:250
+
Definition SoftwareSerial.h:48
+
+
+ + + + diff --git a/doc/html/_me_serial_receive_test_8ino-example.html b/doc/html/_me_serial_receive_test_8ino-example.html new file mode 100644 index 00000000..d53da569 --- /dev/null +++ b/doc/html/_me_serial_receive_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeSerialReceiveTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSerialReceiveTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_serial_transmit_test_8ino-example.html b/doc/html/_me_serial_transmit_test_8ino-example.html new file mode 100644 index 00000000..1793bb3d --- /dev/null +++ b/doc/html/_me_serial_transmit_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeSerialTransmitTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSerialTransmitTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_shield_8h.html b/doc/html/_me_shield_8h.html new file mode 100644 index 00000000..a28e027f --- /dev/null +++ b/doc/html/_me_shield_8h.html @@ -0,0 +1,459 @@ + + + + + + + +MakeBlock Drive Updated: src/MeShield.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeShield.h File Reference
+
+
+ +

Driver for Shield 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 "MeEncoderMotor.h"
+#include "MeEncoderNew.h"
+#include "MeBuzzer.h"
+#include "MeLEDMatrix.h"
+#include "MeHumitureSensor.h"
+#include "MeFlameSensor.h"
+#include "MeGasSensor.h"
+
+Include dependency graph for MeShield.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

+#define buzzerOn()   pinMode(SCL,OUTPUT),digitalWrite(SCL, HIGH)
 
+#define buzzerOff()   pinMode(SCL,OUTPUT),digitalWrite(SCL, LOW)
 
+ + + +

+Variables

MePort_Sig mePort [17]
 
+

Detailed Description

+

Driver for Shield Board.

+
Copyright (C), 2012-2016, MakeBlock
+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/01
+

Driver for Shield Board.

+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is Hardware adaptation layer between Shiled board and all MakeBlock drives
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/01     1.0.0            Rebuild the old lib.
+
+

Variable Documentation

+ +

◆ mePort

+ +
+
+ + + + +
MePort_Sig mePort[17]
+
+Initial value:
=
+
{
+
{ NC, NC }, { 11, 10 }, { 9, 12 }, { 13, 8 }, { NC, 3 },
+
{ NC, NC }, { NC, 2 }, { A2, A3 }, { A0, A1 }, { 5, 4 },
+
{ 6, 7 }, { NC, NC }, { NC, NC }, { NC, NC }, { NC, NC },
+
{ NC, NC }, { NC, NC },
+
}
+
+
+
+
+
+ + + + diff --git a/doc/html/_me_shield_8h__incl.map b/doc/html/_me_shield_8h__incl.map new file mode 100644 index 00000000..2753e378 --- /dev/null +++ b/doc/html/_me_shield_8h__incl.map @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_shield_8h__incl.md5 b/doc/html/_me_shield_8h__incl.md5 new file mode 100644 index 00000000..13d5eff8 --- /dev/null +++ b/doc/html/_me_shield_8h__incl.md5 @@ -0,0 +1 @@ +318064b8b93fe49895f22ecc6c40f5de \ No newline at end of file diff --git a/doc/html/_me_shield_8h__incl.png b/doc/html/_me_shield_8h__incl.png new file mode 100644 index 00000000..fb217348 Binary files /dev/null and b/doc/html/_me_shield_8h__incl.png differ diff --git a/doc/html/_me_shield_8h_source.html b/doc/html/_me_shield_8h_source.html new file mode 100644 index 00000000..c2efff60 --- /dev/null +++ b/doc/html/_me_shield_8h_source.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: src/MeShield.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
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
+
+
+ + + + diff --git a/doc/html/_me_shutter_8cpp.html b/doc/html/_me_shutter_8cpp.html new file mode 100644 index 00000000..61975609 --- /dev/null +++ b/doc/html/_me_shutter_8cpp.html @@ -0,0 +1,192 @@ + + + + + + + +MakeBlock Drive Updated: src/MeShutter.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeShutter.cpp File Reference
+
+
+ +

Driver for Me Shutter device. +More...

+
#include "MeShutter.h"
+
+Include dependency graph for MeShutter.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Shutter device.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/05/24
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Shutter device, It supports Me Shutter device V1.0 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeShutter::setpin(uint8_t ShotPin, uint8_t FocusPin)
  2. +
  3. uint8_t MeShutter::shotOn()
  4. +
  5. uint8_t MeShutter::shotOff()
  6. +
  7. uint8_t MeShutter::focusOn()
  8. +
  9. uint8_t MeShutter::focusOff()
  10. +
  11. void MeShutter::setState(uint8_t state)
  12. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+Mark Yan         2016/05/24     1.0.1            Add function setState for mblock.
+
+
+
+ + + + diff --git a/doc/html/_me_shutter_8cpp__incl.map b/doc/html/_me_shutter_8cpp__incl.map new file mode 100644 index 00000000..ab233849 --- /dev/null +++ b/doc/html/_me_shutter_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_shutter_8cpp__incl.md5 b/doc/html/_me_shutter_8cpp__incl.md5 new file mode 100644 index 00000000..c01d7b91 --- /dev/null +++ b/doc/html/_me_shutter_8cpp__incl.md5 @@ -0,0 +1 @@ +5ba08ce2afc2afac3aaca93868dc0c31 \ No newline at end of file diff --git a/doc/html/_me_shutter_8cpp__incl.png b/doc/html/_me_shutter_8cpp__incl.png new file mode 100644 index 00000000..4cca93fe Binary files /dev/null and b/doc/html/_me_shutter_8cpp__incl.png differ diff --git a/doc/html/_me_shutter_8h.html b/doc/html/_me_shutter_8h.html new file mode 100644 index 00000000..918871d2 --- /dev/null +++ b/doc/html/_me_shutter_8h.html @@ -0,0 +1,229 @@ + + + + + + + +MakeBlock Drive Updated: src/MeShutter.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeShutter.h File Reference
+
+
+ +

Header for MeShutter.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeShutter.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeShutter
 Driver for Me Shutter device. More...
 
+

Detailed Description

+

Header for MeShutter.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/05/24
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Shutter device, It supports Me Shutter device V1.0 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeShutter::setpin(uint8_t ShotPin, uint8_t FocusPin)
  2. +
  3. uint8_t MeShutter::shotOn()
  4. +
  5. uint8_t MeShutter::shotOff()
  6. +
  7. uint8_t MeShutter::focusOn()
  8. +
  9. uint8_t MeShutter::focusOff()
  10. +
  11. void MeShutter::setState(uint8_t state)
  12. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+Mark Yan         2016/05/24     1.0.1            Add function setState for mblock.
+
+
+
+ + + + diff --git a/doc/html/_me_shutter_8h.js b/doc/html/_me_shutter_8h.js new file mode 100644 index 00000000..12894ebd --- /dev/null +++ b/doc/html/_me_shutter_8h.js @@ -0,0 +1,4 @@ +var _me_shutter_8h = +[ + [ "MeShutter", "class_me_shutter.html", "class_me_shutter" ] +]; \ No newline at end of file diff --git a/doc/html/_me_shutter_8h__dep__incl.map b/doc/html/_me_shutter_8h__dep__incl.map new file mode 100644 index 00000000..d435a55d --- /dev/null +++ b/doc/html/_me_shutter_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_shutter_8h__dep__incl.md5 b/doc/html/_me_shutter_8h__dep__incl.md5 new file mode 100644 index 00000000..3d914d43 --- /dev/null +++ b/doc/html/_me_shutter_8h__dep__incl.md5 @@ -0,0 +1 @@ +318232c99321363b221731b4d4537c90 \ No newline at end of file diff --git a/doc/html/_me_shutter_8h__dep__incl.png b/doc/html/_me_shutter_8h__dep__incl.png new file mode 100644 index 00000000..0253d287 Binary files /dev/null and b/doc/html/_me_shutter_8h__dep__incl.png differ diff --git a/doc/html/_me_shutter_8h__incl.map b/doc/html/_me_shutter_8h__incl.map new file mode 100644 index 00000000..9b3f640e --- /dev/null +++ b/doc/html/_me_shutter_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_shutter_8h__incl.md5 b/doc/html/_me_shutter_8h__incl.md5 new file mode 100644 index 00000000..5f0ee2d3 --- /dev/null +++ b/doc/html/_me_shutter_8h__incl.md5 @@ -0,0 +1 @@ +80d87f29adb1d3602635203fe692a4f0 \ No newline at end of file diff --git a/doc/html/_me_shutter_8h__incl.png b/doc/html/_me_shutter_8h__incl.png new file mode 100644 index 00000000..80c50220 Binary files /dev/null and b/doc/html/_me_shutter_8h__incl.png differ diff --git a/doc/html/_me_shutter_8h_source.html b/doc/html/_me_shutter_8h_source.html new file mode 100644 index 00000000..cd45d53e --- /dev/null +++ b/doc/html/_me_shutter_8h_source.html @@ -0,0 +1,167 @@ + + + + + + + +MakeBlock Drive Updated: src/MeShutter.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeShutter.h
+
+
+Go to the documentation of this file.
1
+
44#ifndef MeShutter_H
+
45#define MeShutter_H
+
46#include <stdint.h>
+
47#include <stdbool.h>
+
48#include <Arduino.h>
+
49#include "MeConfig.h"
+
50#ifdef ME_PORT_DEFINED
+
51#include "MePort.h"
+
52#endif /* ME_PORT_DEFINED */
+
53
+
59#ifndef ME_PORT_DEFINED
+
60class MeShutter
+
61#else // !ME_PORT_DEFINED
+
+
62class MeShutter : public MePort
+
63#endif // !ME_PORT_DEFINED
+
64{
+
65public:
+
66#ifdef ME_PORT_DEFINED
+
73 MeShutter(void);
+
74
+
81 MeShutter(uint8_t port);
+
82#else // ME_PORT_DEFINED
+
91 MeShutter(uint8_t ShotPin, uint8_t FocusPin);
+
92#endif // ME_PORT_DEFINED
+
93
+
110 void setpin(uint8_t ShotPin, uint8_t FocusPin);
+
111
+
124 void shotOn(void);
+
125
+
138 void shotOff(void);
+
139
+
152 void focusOn(void);
+
153
+
166 void focusOff(void);
+
167
+
185 void setState(uint8_t state);
+
186private:
+
187 volatile uint8_t _ShotPin;
+
188 volatile uint8_t _FocusPin;
+
189};
+
+
190#endif
+
191
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for Me Shutter device.
Definition MeShutter.h:64
+
void setState(uint8_t state)
Definition MeShutter.cpp:225
+
MeShutter(void)
Definition MeShutter.cpp:54
+
void setpin(uint8_t ShotPin, uint8_t FocusPin)
Definition MeShutter.cpp:108
+
void focusOn(void)
Definition MeShutter.cpp:178
+
void shotOn(void)
Definition MeShutter.cpp:136
+
void shotOff(void)
Definition MeShutter.cpp:157
+
void focusOff(void)
Definition MeShutter.cpp:199
+
+
+ + + + diff --git a/doc/html/_me_shutter_test_8ino-example.html b/doc/html/_me_shutter_test_8ino-example.html new file mode 100644 index 00000000..c58b54a8 --- /dev/null +++ b/doc/html/_me_shutter_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeShutterTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeShutterTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_smart_servo_8cpp.html b/doc/html/_me_smart_servo_8cpp.html new file mode 100644 index 00000000..0b889722 --- /dev/null +++ b/doc/html/_me_smart_servo_8cpp.html @@ -0,0 +1,224 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSmartServo.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSmartServo.cpp File Reference
+
+
+ +

Driver for Me Smart Servo device. +More...

+
#include "MeSmartServo.h"
+#include "MeSerial.h"
+#include <avr/wdt.h>
+
+Include dependency graph for MeSmartServo.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me Smart Servo device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/08/23
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Smart Servo device, The Smart Servo inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint8_t MeSmartServo::readByte(uint8_t *argv,int16_t idx);
  2. +
  3. short MeSmartServo::readShort(uint8_t *argv,int16_t idx,boolean ignore_high);
  4. +
  5. float MeSmartServo::readFloat(uint8_t *argv,int16_t idx);
  6. +
  7. long MeSmartServo::readLong(uint8_t *argv,int idx);
  8. +
  9. uint8_t MeSmartServo::sendByte(uint8_t val);
  10. +
  11. uint8_t MeSmartServo::sendShort(int16_t val,boolean ignore_high);
  12. +
  13. uint8_t MeSmartServo::sendFloat(float val);
  14. +
  15. uint8_t MeSmartServo::sendLong(long val);
  16. +
  17. boolean MeSmartServo::assignDevIdRequest(void);
  18. +
  19. boolean MeSmartServo::moveTo(uint8_t dev_id,long angle_value,float speed,smartServoCb callback);
  20. +
  21. boolean MeSmartServo::move(uint8_t dev_id,long angle_value,float speed,smartServoCb callback);
  22. +
  23. boolean MeSmartServo::setZero(uint8_t dev_id);
  24. +
  25. boolean MeSmartServo::setBreak(uint8_t dev_id, uint8_t breakStatus);
  26. +
  27. boolean MeSmartServo::setRGBLed(uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value);
  28. +
  29. boolean MeSmartServo::handSharke(uint8_t dev_id);
  30. +
  31. boolean MeSmartServo::setPwmMove(uint8_t dev_id, int16_t pwm_value);
  32. +
  33. boolean MeSmartServo::setInitAngle(uint8_t dev_id,uint8_t mode,int16_t speed);
  34. +
  35. long MeSmartServo::getAngleRequest(uint8_t devId);
  36. +
  37. float MeSmartServo::getSpeedRequest(uint8_t devId);
  38. +
  39. float MeSmartServo::getVoltageRequest(uint8_t devId);
  40. +
  41. float MeSmartServo::getTempRequest(uint8_t devId);
  42. +
  43. float MeSmartServo::getCurrentRequest(uint8_t devId);
  44. +
  45. void MeSmartServo::assignDevIdResponse(void *arg);
  46. +
  47. void MeSmartServo::processSysexMessage(void);
  48. +
  49. void MeSmartServo::smartServoEventHandle(void);
  50. +
  51. void MeSmartServo::errorCodeCheckResponse(void *arg);
  52. +
  53. void MeSmartServo::smartServoCmdResponse(void *arg);
  54. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/08/23     1.0.0            Build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_smart_servo_8cpp__incl.map b/doc/html/_me_smart_servo_8cpp__incl.map new file mode 100644 index 00000000..5bffbd9c --- /dev/null +++ b/doc/html/_me_smart_servo_8cpp__incl.map @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_smart_servo_8cpp__incl.md5 b/doc/html/_me_smart_servo_8cpp__incl.md5 new file mode 100644 index 00000000..1e9cfd70 --- /dev/null +++ b/doc/html/_me_smart_servo_8cpp__incl.md5 @@ -0,0 +1 @@ +f332ea7971b670d04f45ec59bbc6faa0 \ No newline at end of file diff --git a/doc/html/_me_smart_servo_8cpp__incl.png b/doc/html/_me_smart_servo_8cpp__incl.png new file mode 100644 index 00000000..53318d6c Binary files /dev/null and b/doc/html/_me_smart_servo_8cpp__incl.png differ diff --git a/doc/html/_me_smart_servo_8h.html b/doc/html/_me_smart_servo_8h.html new file mode 100644 index 00000000..853979fb --- /dev/null +++ b/doc/html/_me_smart_servo_8h.html @@ -0,0 +1,446 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSmartServo.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeSmartServo.h File Reference
+
+
+ +

Header for for MeSmartServo.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MeSmartServo.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + +

+Classes

struct  sysex_message_type
 
struct  Cmd_list_tab_type
 
union  sysex_message
 
struct  servo_device_type
 
class  MeSmartServo
 Driver for Me Smart Servo device. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define ALL_DEVICE   0xff
 
+#define CUSTOM_TYPE   0x00
 
+#define CTL_ASSIGN_DEV_ID   0x10
 
+#define CTL_SYSTEM_RESET   0x11
 
+#define CTL_READ_DEV_VERSION   0x12
 
+#define CTL_SET_BAUD_RATE   0x13
 
+#define CTL_CMD_TEST   0x14
 
+#define CTL_ERROR_CODE   0x15
 
+#define SMART_SERVO   0x60
 
+#define SET_SERVO_PID   0x10
 
+#define SET_SERVO_ABSOLUTE_POS   0x11
 
+#define SET_SERVO_RELATIVE_POS   0x12
 
+#define SET_SERVO_CONTINUOUS_ROTATION   0x13
 
+#define SET_SERVO_MOTION_COMPENSATION   0x14
 
+#define CLR_SERVO_MOTION_COMPENSATION   0x15
 
+#define SET_SERVO_BREAK   0x16
 
+#define SET_SERVO_RGB_LED   0x17
 
+#define SERVO_SHARKE_HAND   0x18
 
+#define SET_SERVO_CMD_MODE   0x19
 
+#define GET_SERVO_STATUS   0x20
 
+#define GET_SERVO_PID   0x21
 
+#define GET_SERVO_CUR_POS   0x22
 
+#define GET_SERVO_SPEED   0x23
 
+#define GET_SERVO_MOTION_COMPENSATION   0x24
 
+#define GET_SERVO_TEMPERATURE   0x25
 
+#define GET_SERVO_ELECTRIC_CURRENT   0x26
 
+#define GET_SERVO_VOLTAGE   0x27
 
+#define SET_SERVO_CURRENT_ANGLE_ZERO_DEGREES   0x30
 
+#define SET_SERVO_ABSOLUTE_ANGLE   0x31
 
+#define SET_SERVO_RELATIVE_ANGLE   0x32
 
+#define SET_SERVO_ABSOLUTE_ANGLE_LONG   0x33
 
+#define SET_SERVO_RELATIVE_ANGLE_LONG   0x34
 
+#define SET_SERVO_PWM_MOVE   0x35
 
+#define GET_SERVO_CUR_ANGLE   0x36
 
+#define SET_SERVO_INIT_ANGLE   0x37
 
+#define REPORT_WHEN_REACH_THE_SET_POSITION   0x40
 
+#define START_SYSEX   0xF0
 
+#define END_SYSEX   0xF7
 
+#define PROCESS_SUC   0x0F
 
+#define PROCESS_BUSY   0x10
 
+#define PROCESS_ERROR   0x11
 
+#define WRONG_TYPE_OF_SERVICE   0x12
 
+#define DEFAULT_UART_BUF_SIZE   64
 
+ + + +

+Typedefs

+typedef void(* smartServoCb) (uint8_t)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Variables

+union { 
 
+   uint8_t   byteVal [8] 
 
+   double   doubleVal 
 
val8byte 
 
+union { 
 
+   uint8_t   byteVal [4] 
 
+   float   floatVal 
 
+   long   longVal 
 
val4byte 
 
+union { 
 
+   uint8_t   byteVal [2] 
 
+   short   shortVal 
 
val2byte 
 
+union { 
 
+   uint8_t   byteVal [1] 
 
+   uint8_t   charVal 
 
val1byte 
 
+

Detailed Description

+

Header for for MeSmartServo.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2016/08/23
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Smart Servo device, The Smart Servo inherited the MeSerial class from SoftwareSerial.
+
Method List:
    +
  1. uint8_t MeSmartServo::readByte(uint8_t *argv,int16_t idx);
  2. +
  3. short MeSmartServo::readShort(uint8_t *argv,int16_t idx,boolean ignore_high);
  4. +
  5. float MeSmartServo::readFloat(uint8_t *argv,int16_t idx);
  6. +
  7. long MeSmartServo::readLong(uint8_t *argv,int idx);
  8. +
  9. uint8_t MeSmartServo::sendByte(uint8_t val);
  10. +
  11. uint8_t MeSmartServo::sendShort(int16_t val,boolean ignore_high);
  12. +
  13. uint8_t MeSmartServo::sendFloat(float val);
  14. +
  15. uint8_t MeSmartServo::sendLong(long val);
  16. +
  17. boolean MeSmartServo::assignDevIdRequest(void);
  18. +
  19. boolean MeSmartServo::moveTo(uint8_t dev_id,long angle_value,float speed,smartServoCb callback);
  20. +
  21. boolean MeSmartServo::move(uint8_t dev_id,long angle_value,float speed,smartServoCb callback);
  22. +
  23. boolean MeSmartServo::setZero(uint8_t dev_id);
  24. +
  25. boolean MeSmartServo::setBreak(uint8_t dev_id, uint8_t breakStatus);
  26. +
  27. boolean MeSmartServo::setRGBLed(uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value);
  28. +
  29. boolean MeSmartServo::handSharke(uint8_t dev_id);
  30. +
  31. boolean MeSmartServo::setPwmMove(uint8_t dev_id, int16_t pwm_value);
  32. +
  33. boolean MeSmartServo::setInitAngle(uint8_t dev_id,uint8_t mode,int16_t speed);
  34. +
  35. long MeSmartServo::getAngleRequest(uint8_t devId);
  36. +
  37. float MeSmartServo::getSpeedRequest(uint8_t devId);
  38. +
  39. float MeSmartServo::getVoltageRequest(uint8_t devId);
  40. +
  41. float MeSmartServo::getTempRequest(uint8_t devId);
  42. +
  43. float MeSmartServo::getCurrentRequest(uint8_t devId);
  44. +
  45. void MeSmartServo::assignDevIdResponse(void *arg);
  46. +
  47. void MeSmartServo::processSysexMessage(void);
  48. +
  49. void MeSmartServo::smartServoEventHandle(void);
  50. +
  51. void MeSmartServo::errorCodeCheckResponse(void *arg);
  52. +
  53. void MeSmartServo::smartServoCmdResponse(void *arg);
  54. +
+
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2016/08/23     1.0.0            Build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_smart_servo_8h.js b/doc/html/_me_smart_servo_8h.js new file mode 100644 index 00000000..a765b97d --- /dev/null +++ b/doc/html/_me_smart_servo_8h.js @@ -0,0 +1,8 @@ +var _me_smart_servo_8h = +[ + [ "sysex_message_type", "structsysex__message__type.html", null ], + [ "Cmd_list_tab_type", "struct_cmd__list__tab__type.html", null ], + [ "sysex_message", "unionsysex__message.html", null ], + [ "servo_device_type", "structservo__device__type.html", null ], + [ "MeSmartServo", "class_me_smart_servo.html", "class_me_smart_servo" ] +]; \ No newline at end of file diff --git a/doc/html/_me_smart_servo_8h__dep__incl.map b/doc/html/_me_smart_servo_8h__dep__incl.map new file mode 100644 index 00000000..e9147f0a --- /dev/null +++ b/doc/html/_me_smart_servo_8h__dep__incl.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/_me_smart_servo_8h__dep__incl.md5 b/doc/html/_me_smart_servo_8h__dep__incl.md5 new file mode 100644 index 00000000..9162eb8a --- /dev/null +++ b/doc/html/_me_smart_servo_8h__dep__incl.md5 @@ -0,0 +1 @@ +20d77c57560b50c2fafc524ccc31f1ef \ No newline at end of file diff --git a/doc/html/_me_smart_servo_8h__dep__incl.png b/doc/html/_me_smart_servo_8h__dep__incl.png new file mode 100644 index 00000000..9d242b4d Binary files /dev/null and b/doc/html/_me_smart_servo_8h__dep__incl.png differ diff --git a/doc/html/_me_smart_servo_8h__incl.map b/doc/html/_me_smart_servo_8h__incl.map new file mode 100644 index 00000000..3cc61c14 --- /dev/null +++ b/doc/html/_me_smart_servo_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_smart_servo_8h__incl.md5 b/doc/html/_me_smart_servo_8h__incl.md5 new file mode 100644 index 00000000..88b54f07 --- /dev/null +++ b/doc/html/_me_smart_servo_8h__incl.md5 @@ -0,0 +1 @@ +e9fbb7b28d66eb110bddb6c777932e70 \ No newline at end of file diff --git a/doc/html/_me_smart_servo_8h__incl.png b/doc/html/_me_smart_servo_8h__incl.png new file mode 100644 index 00000000..4ba18057 Binary files /dev/null and b/doc/html/_me_smart_servo_8h__incl.png differ diff --git a/doc/html/_me_smart_servo_8h_source.html b/doc/html/_me_smart_servo_8h_source.html new file mode 100644 index 00000000..3ed174fb --- /dev/null +++ b/doc/html/_me_smart_servo_8h_source.html @@ -0,0 +1,354 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSmartServo.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSmartServo.h
+
+
+Go to the documentation of this file.
1
+
64#ifndef MeSmartServo_H
+
65#define MeSmartServo_H
+
66
+
67#include <stdint.h>
+
68#include <stdbool.h>
+
69#include <Arduino.h>
+
70#include "MeConfig.h"
+
71#include "MeSerial.h"
+
72
+
73#ifdef ME_PORT_DEFINED
+
74#include "MePort.h"
+
75#endif /* ME_PORT_DEFINED */
+
76
+
77#define ALL_DEVICE 0xff // Broadcast command identifies
+
78#define CUSTOM_TYPE 0x00 // 0x00 indicates no external module
+
79
+
80#define CTL_ASSIGN_DEV_ID 0x10 // Assignment device ID
+
81#define CTL_SYSTEM_RESET 0x11 // reset from host
+
82#define CTL_READ_DEV_VERSION 0x12 // read the firmware version
+
83#define CTL_SET_BAUD_RATE 0x13 // Set the bandrate
+
84#define CTL_CMD_TEST 0x14 // Just for test
+
85#define CTL_ERROR_CODE 0x15 // error code
+
86
+
87#define SMART_SERVO 0x60
+
88 /* Secondary command */
+
89 #define SET_SERVO_PID 0x10
+
90 #define SET_SERVO_ABSOLUTE_POS 0x11
+
91 #define SET_SERVO_RELATIVE_POS 0x12
+
92 #define SET_SERVO_CONTINUOUS_ROTATION 0x13
+
93 #define SET_SERVO_MOTION_COMPENSATION 0x14
+
94 #define CLR_SERVO_MOTION_COMPENSATION 0x15
+
95 #define SET_SERVO_BREAK 0x16
+
96 #define SET_SERVO_RGB_LED 0x17
+
97 #define SERVO_SHARKE_HAND 0x18
+
98 #define SET_SERVO_CMD_MODE 0x19
+
99
+
100 #define GET_SERVO_STATUS 0x20
+
101 #define GET_SERVO_PID 0x21
+
102 #define GET_SERVO_CUR_POS 0x22
+
103 #define GET_SERVO_SPEED 0x23
+
104 #define GET_SERVO_MOTION_COMPENSATION 0x24
+
105 #define GET_SERVO_TEMPERATURE 0x25
+
106 #define GET_SERVO_ELECTRIC_CURRENT 0x26
+
107 #define GET_SERVO_VOLTAGE 0x27
+
108
+
109 #define SET_SERVO_CURRENT_ANGLE_ZERO_DEGREES 0x30
+
110 #define SET_SERVO_ABSOLUTE_ANGLE 0x31
+
111 #define SET_SERVO_RELATIVE_ANGLE 0x32
+
112 #define SET_SERVO_ABSOLUTE_ANGLE_LONG 0x33
+
113 #define SET_SERVO_RELATIVE_ANGLE_LONG 0x34
+
114 #define SET_SERVO_PWM_MOVE 0x35
+
115 #define GET_SERVO_CUR_ANGLE 0x36
+
116 #define SET_SERVO_INIT_ANGLE 0x37
+
117 #define REPORT_WHEN_REACH_THE_SET_POSITION 0x40
+
118
+
119#define START_SYSEX 0xF0 // start a MIDI Sysex message
+
120#define END_SYSEX 0xF7 // end a MIDI Sysex message
+
121
+
122/* report error code */
+
123#define PROCESS_SUC 0x0F
+
124#define PROCESS_BUSY 0x10
+
125#define PROCESS_ERROR 0x11
+
126#define WRONG_TYPE_OF_SERVICE 0x12
+
127
+
128#define DEFAULT_UART_BUF_SIZE 64
+
129
+
+
130typedef struct{
+
131 uint8_t dev_id;
+
132 uint8_t srv_id;
+
133 uint8_t value[DEFAULT_UART_BUF_SIZE - 2];
+ +
+
135
+
+
136typedef struct{
+
137 uint8_t service_id;
+
138 void (*request_fun)(void *arg);
+
139 void (*response_fun)(void *arg);
+ +
+
141
+
+ +
143 uint8_t storedInputData[DEFAULT_UART_BUF_SIZE];
+ +
145};
+
+
146
+
147union{
+
148 uint8_t byteVal[8];
+
149 double doubleVal;
+
150}val8byte;
+
151
+
152union{
+
153 uint8_t byteVal[4];
+
154 float floatVal;
+
155 long longVal;
+
156}val4byte;
+
157
+
158union{
+
159 uint8_t byteVal[2];
+
160 short shortVal;
+
161}val2byte;
+
162
+
163union{
+
164 uint8_t byteVal[1];
+
165 uint8_t charVal;
+
166}val1byte;
+
167
+
+
168typedef struct
+
169{
+
170 long angleValue;
+
171 float servoSpeed;
+
172 float voltage;
+
173 float temperature;
+
174 float current;
+ +
+
176
+
177typedef void (*smartServoCb)(uint8_t);
+
178
+
184#ifndef ME_PORT_DEFINED
+
185class MeSmartServo
+
186#else /* !ME_PORT_DEFINED */
+
+
187class MeSmartServo : public MeSerial
+
188#endif /* !ME_PORT_DEFINED */
+
189{
+
190public:
+
191#ifdef ME_PORT_DEFINED
+
198 MeSmartServo();
+
199
+
206 MeSmartServo(uint8_t port);
+
207#else // ME_PORT_DEFINED
+
218 MeSmartServo(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
219#endif // ME_PORT_DEFINED
+
220
+
237 uint8_t readByte(uint8_t *argv,int16_t idx);
+
238
+
257 short readShort(uint8_t *argv,int16_t idx,boolean ignore_high);
+
258
+
275 float readFloat(uint8_t *argv,int16_t idx);
+
276
+
293 long readLong(uint8_t *argv,int idx);
+
294
+
309 uint8_t sendByte(uint8_t val);
+
310
+
327 uint8_t sendShort(int16_t val,boolean ignore_high);
+
328
+
343 uint8_t sendFloat(float val);
+
344
+
359 uint8_t sendLong(long val);
+
360
+
375 boolean assignDevIdRequest(void);
+
376
+
397 boolean moveTo(uint8_t dev_id,long angle_value,float speed,smartServoCb callback = NULL);
+
398
+
419 boolean move(uint8_t dev_id,long angle_value,float speed,smartServoCb callback = NULL);
+
420
+
435 boolean setZero(uint8_t dev_id);
+
436
+
453 boolean setBreak(uint8_t dev_id, uint8_t breakStatus);
+
454
+
475 boolean setRGBLed(uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value);
+
476
+
491 boolean handSharke(uint8_t dev_id);
+
492
+
509 boolean setPwmMove(uint8_t dev_id, int16_t pwm_value);
+
510
+
529 boolean setInitAngle(uint8_t dev_id,uint8_t = 0,int16_t = 40);
+
530
+
545 long getAngleRequest(uint8_t devId);
+
546
+
561 float getSpeedRequest(uint8_t devId);
+
562
+
577 float getVoltageRequest(uint8_t devId);
+
578
+
593 float getTempRequest(uint8_t devId);
+
594
+
609 float getCurrentRequest(uint8_t devId);
+
610
+
625 void assignDevIdResponse(void *arg);
+
626
+
641 void errorCodeCheckResponse(void *arg);
+
642
+
657 void smartServoCmdResponse(void *arg);
+
658
+
673 void processSysexMessage(void);
+
674
+
689 void smartServoEventHandle(void);
+
690
+
691private:
+
692 union sysex_message sysex;
+
693 volatile int16_t sysexBytesRead;
+
694 volatile uint8_t servo_num_max;
+
695 volatile uint16_t resFlag;
+
696 volatile servo_device_type servo_dev_list[8];
+
697 volatile long cmdTimeOutValue;
+
698 volatile boolean parsingSysex;
+
699 smartServoCb _callback;
+
700};
+
+
701#endif
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for serial.
Definition MeSerial.h:67
+
Driver for Me Smart Servo device.
Definition MeSmartServo.h:189
+
float getSpeedRequest(uint8_t devId)
Definition MeSmartServo.cpp:879
+
uint8_t readByte(uint8_t *argv, int16_t idx)
Definition MeSmartServo.cpp:134
+
void smartServoEventHandle(void)
Definition MeSmartServo.cpp:1117
+
boolean setRGBLed(uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value)
Definition MeSmartServo.cpp:644
+
void processSysexMessage(void)
Definition MeSmartServo.cpp:1082
+
uint8_t sendByte(uint8_t val)
Definition MeSmartServo.cpp:268
+
void assignDevIdResponse(void *arg)
Definition MeSmartServo.cpp:1054
+
boolean setPwmMove(uint8_t dev_id, int16_t pwm_value)
Definition MeSmartServo.cpp:738
+
uint8_t sendLong(long val)
Definition MeSmartServo.cpp:367
+
uint8_t sendFloat(float val)
Definition MeSmartServo.cpp:333
+
MeSmartServo()
Definition MeSmartServo.cpp:76
+
short readShort(uint8_t *argv, int16_t idx, boolean ignore_high)
Definition MeSmartServo.cpp:161
+
void smartServoCmdResponse(void *arg)
Definition MeSmartServo.cpp:1194
+
boolean handSharke(uint8_t dev_id)
Definition MeSmartServo.cpp:692
+
boolean moveTo(uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)
Definition MeSmartServo.cpp:445
+
float getTempRequest(uint8_t devId)
Definition MeSmartServo.cpp:966
+
boolean setZero(uint8_t dev_id)
Definition MeSmartServo.cpp:547
+
void errorCodeCheckResponse(void *arg)
Definition MeSmartServo.cpp:1166
+
boolean move(uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)
Definition MeSmartServo.cpp:499
+
uint8_t sendShort(int16_t val, boolean ignore_high)
Definition MeSmartServo.cpp:298
+
boolean assignDevIdRequest(void)
Definition MeSmartServo.cpp:401
+
long getAngleRequest(uint8_t devId)
Definition MeSmartServo.cpp:835
+
float getCurrentRequest(uint8_t devId)
Definition MeSmartServo.cpp:1010
+
long readLong(uint8_t *argv, int idx)
Definition MeSmartServo.cpp:232
+
float getVoltageRequest(uint8_t devId)
Definition MeSmartServo.cpp:923
+
float readFloat(uint8_t *argv, int16_t idx)
Definition MeSmartServo.cpp:194
+
boolean setBreak(uint8_t dev_id, uint8_t breakStatus)
Definition MeSmartServo.cpp:593
+
boolean setInitAngle(uint8_t dev_id, uint8_t=0, int16_t=40)
Definition MeSmartServo.cpp:788
+
Definition MeSmartServo.h:136
+
Definition MeSmartServo.h:169
+
Definition MeSmartServo.h:130
+
Definition MeSmartServo.h:142
+
+
+ + + + diff --git a/doc/html/_me_sound_sensor_8cpp.html b/doc/html/_me_sound_sensor_8cpp.html new file mode 100644 index 00000000..7e066ec0 --- /dev/null +++ b/doc/html/_me_sound_sensor_8cpp.html @@ -0,0 +1,144 @@ + + + + + + + +MakeBlock Drive Updated: src/MeSoundSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSoundSensor.cpp File Reference
+
+
+ +

Driver for Me sound sensor device. +More...

+
#include "MeSoundSensor.h"
+
+Include dependency graph for MeSoundSensor.cpp:
+
+
+ + + + + +
+

Detailed Description

+

Driver for Me sound sensor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/04
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me sound sensor device, It supports sound sensor V1.1 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeSoundSensor::setpin(uint8_t SoundSensorPin)
  2. +
  3. uint8_t MeSoundSensor::strength()
  4. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_sound_sensor_8cpp__incl.map b/doc/html/_me_sound_sensor_8cpp__incl.map new file mode 100644 index 00000000..775951b8 --- /dev/null +++ b/doc/html/_me_sound_sensor_8cpp__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_sound_sensor_8cpp__incl.md5 b/doc/html/_me_sound_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..6ea6fc42 --- /dev/null +++ b/doc/html/_me_sound_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +8688eeec64f2cb1af98274f092da7332 \ No newline at end of file diff --git a/doc/html/_me_sound_sensor_8cpp__incl.png b/doc/html/_me_sound_sensor_8cpp__incl.png new file mode 100644 index 00000000..1ba44c65 Binary files /dev/null and b/doc/html/_me_sound_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_stepper_8cpp.html b/doc/html/_me_stepper_8cpp.html new file mode 100644 index 00000000..577067be --- /dev/null +++ b/doc/html/_me_stepper_8cpp.html @@ -0,0 +1,240 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepper.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeStepper.cpp File Reference
+
+
+ +

Driver for Stepper device. +More...

+
#include "MeStepper.h"
+
+Include dependency graph for MeStepper.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +

+Enumerations

enum  Direction { DIRECTION_CCW = 0 +, DIRECTION_CW = 1 + }
 
+

Detailed Description

+

Driver for Stepper device.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/01/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Stepper device.
+
Method List:
+
    +
  1. void MeStepper::setpin(uint8_t dir_data, uint8_t step_data);
  2. +
  3. void MeStepper::moveTo(long absolute);
  4. +
  5. void MeStepper::move(long relative);
  6. +
  7. boolean MeStepper::run();
  8. +
  9. boolean MeStepper::runSpeed();
  10. +
  11. void MeStepper::setMaxSpeed(float speed);
  12. +
  13. void MeStepper::setAcceleration(float acceleration);
  14. +
  15. void MeStepper::setSpeed(float speed);
  16. +
  17. float MeStepper::speed();
  18. +
  19. long MeStepper::distanceToGo();
  20. +
  21. long MeStepper::targetPosition();
  22. +
  23. long MeStepper::currentPosition();
    +
  24. +
  25. void MeStepper::setCurrentPosition(long position);
    +
  26. +
  27. void MeStepper::runToPosition();
  28. +
  29. boolean MeStepper::runSpeedToPosition();
  30. +
  31. void MeStepper::runToNewPosition(long position);
  32. +
  33. void MeStepper::disableOutputs();
  34. +
  35. void MeStepper::enableOutputs();
  36. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/10/09     1.0.0            Bulid the new
+Mark Yan        2015/10/29     1.0.1            Fix minor errors in format
+forfish         2015/11/11     1.0.2            Add description.
+Mark Yan        2016/01/20     1.0.3            Fix minor errors in comment.
+
+

DERIVED FROM // AccelStepper.h // // Copyright (C) 2009-2013 Mike McCauley //

Id
AccelStepper.cpp,v 1.23 2016/08/09 00:39:10 mikem Exp
+

Enumeration Type Documentation

+ +

◆ Direction

+ +
+
+ + + + +
enum Direction
+
+ + + +
Enumerator
DIRECTION_CCW 

Clockwise.

+
DIRECTION_CW 

Counter-Clockwise.

+
+ +
+
+
+
+ + + + diff --git a/doc/html/_me_stepper_8cpp.js b/doc/html/_me_stepper_8cpp.js new file mode 100644 index 00000000..4590ea9c --- /dev/null +++ b/doc/html/_me_stepper_8cpp.js @@ -0,0 +1,7 @@ +var _me_stepper_8cpp = +[ + [ "Direction", "_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa", [ + [ "DIRECTION_CCW", "_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2", null ], + [ "DIRECTION_CW", "_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6", null ] + ] ] +]; \ No newline at end of file diff --git a/doc/html/_me_stepper_8cpp__incl.map b/doc/html/_me_stepper_8cpp__incl.map new file mode 100644 index 00000000..a3edd996 --- /dev/null +++ b/doc/html/_me_stepper_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_stepper_8cpp__incl.md5 b/doc/html/_me_stepper_8cpp__incl.md5 new file mode 100644 index 00000000..bad6e210 --- /dev/null +++ b/doc/html/_me_stepper_8cpp__incl.md5 @@ -0,0 +1 @@ +587a88dd89fad5da61392b982ae5b121 \ No newline at end of file diff --git a/doc/html/_me_stepper_8cpp__incl.png b/doc/html/_me_stepper_8cpp__incl.png new file mode 100644 index 00000000..352ae767 Binary files /dev/null and b/doc/html/_me_stepper_8cpp__incl.png differ diff --git a/doc/html/_me_stepper_8h.html b/doc/html/_me_stepper_8h.html new file mode 100644 index 00000000..7991cfc6 --- /dev/null +++ b/doc/html/_me_stepper_8h.html @@ -0,0 +1,245 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepper.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeStepper.h File Reference
+
+
+ +

Header for MeStepper.cpp module. +More...

+
#include "MePort.h"
+#include "WProgram.h"
+#include "stdlib.h"
+#include "wiring.h"
+
+Include dependency graph for MeStepper.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeStepper
 Driver for Me Stepper device. More...
 
+

Detailed Description

+

Header for MeStepper.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2016/01/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Stepper device.
+
Method List:
+
    +
  1. void MeStepper::setpin(uint8_t dir_data, uint8_t step_data);
  2. +
  3. void MeStepper::moveTo(long absolute);
  4. +
  5. void MeStepper::move(long relative);
  6. +
  7. boolean MeStepper::run();
  8. +
  9. boolean MeStepper::runSpeed();
  10. +
  11. void MeStepper::setMaxSpeed(float speed);
  12. +
  13. void MeStepper::setAcceleration(float acceleration);
  14. +
  15. void MeStepper::setSpeed(float speed);
  16. +
  17. float MeStepper::speed();
  18. +
  19. long MeStepper::distanceToGo();
  20. +
  21. long MeStepper::targetPosition();
  22. +
  23. long MeStepper::currentPosition();
    +
  24. +
  25. void MeStepper::setCurrentPosition(long position);
    +
  26. +
  27. void MeStepper::runToPosition();
  28. +
  29. boolean MeStepper::runSpeedToPosition();
  30. +
  31. void MeStepper::runToNewPosition(long position);
  32. +
  33. void MeStepper::disableOutputs();
  34. +
  35. void MeStepper::enableOutputs();
  36. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2015/10/09     1.0.0            Bulid the new
+Mark Yan        2015/10/29     1.0.1            Fix minor errors in format
+forfish         2015/11/11     1.0.2            Add description.
+Mark Yan        2016/01/20     1.0.3            Fix minor errors in comment.
+
+

DERIVED FROM // AccelStepper.cpp // // Copyright (C) 2009-2013 Mike McCauley //

Id
AccelStepper.cpp,v 1.23 2016/08/09 00:39:10 mikem Exp
+
+
+ + + + diff --git a/doc/html/_me_stepper_8h.js b/doc/html/_me_stepper_8h.js new file mode 100644 index 00000000..e309361b --- /dev/null +++ b/doc/html/_me_stepper_8h.js @@ -0,0 +1,4 @@ +var _me_stepper_8h = +[ + [ "MeStepper", "class_me_stepper.html", "class_me_stepper" ] +]; \ No newline at end of file diff --git a/doc/html/_me_stepper_8h__dep__incl.map b/doc/html/_me_stepper_8h__dep__incl.map new file mode 100644 index 00000000..444e81ed --- /dev/null +++ b/doc/html/_me_stepper_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_stepper_8h__dep__incl.md5 b/doc/html/_me_stepper_8h__dep__incl.md5 new file mode 100644 index 00000000..d7a98c46 --- /dev/null +++ b/doc/html/_me_stepper_8h__dep__incl.md5 @@ -0,0 +1 @@ +c209d58c202254f045806ff937e625ec \ No newline at end of file diff --git a/doc/html/_me_stepper_8h__dep__incl.png b/doc/html/_me_stepper_8h__dep__incl.png new file mode 100644 index 00000000..a0d06840 Binary files /dev/null and b/doc/html/_me_stepper_8h__dep__incl.png differ diff --git a/doc/html/_me_stepper_8h__incl.map b/doc/html/_me_stepper_8h__incl.map new file mode 100644 index 00000000..b9c4f985 --- /dev/null +++ b/doc/html/_me_stepper_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_stepper_8h__incl.md5 b/doc/html/_me_stepper_8h__incl.md5 new file mode 100644 index 00000000..c5922ebc --- /dev/null +++ b/doc/html/_me_stepper_8h__incl.md5 @@ -0,0 +1 @@ +821e44aa4b59c592922f0a130d3de84e \ No newline at end of file diff --git a/doc/html/_me_stepper_8h__incl.png b/doc/html/_me_stepper_8h__incl.png new file mode 100644 index 00000000..39eb8af6 Binary files /dev/null and b/doc/html/_me_stepper_8h__incl.png differ diff --git a/doc/html/_me_stepper_8h_source.html b/doc/html/_me_stepper_8h_source.html new file mode 100644 index 00000000..2d875649 --- /dev/null +++ b/doc/html/_me_stepper_8h_source.html @@ -0,0 +1,220 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepper.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeStepper.h
+
+
+Go to the documentation of this file.
1
+
63#ifndef MeStepper_h
+
64#define MeStepper_h
+
65#include "MePort.h"
+
66
+
67#if ARDUINO >= 100
+
68 #include "Arduino.h"
+
69#else
+
70 #include "WProgram.h"
+
71 #include "stdlib.h"
+
72 #include "wiring.h"
+
73#endif
+
74
+
75
+
76// These defs cause trouble on some versions of Arduino
+
77#undef round
+
78
+
+
84class MeStepper:public MePort
+
85{
+
86public:
+
93 MeStepper();
+
94
+
101 MeStepper(uint8_t port);
+
102
+
119 void setpin(uint8_t dir_data, uint8_t step_data);
+
120
+
135 void moveTo(long absolute);
+
136
+
151 void move(long relative);
+
152
+
167 boolean run();
+
168
+
183 boolean runSpeed();
+
184
+
199 void setMaxSpeed(float speed);
+
200
+
215 void setAcceleration(float acceleration);
+
216
+
231 void setSpeed(float speed);
+
232
+
247 float speed();
+
248
+
263 long distanceToGo();
+
264
+
279 long targetPosition();
+
280
+
295 long currentPosition();
+
296
+
311 void setCurrentPosition(long position);
+
312
+
327 void runToPosition();
+
328
+
343 boolean runSpeedToPosition();
+
344
+
359 void runToNewPosition(long position);
+
360
+
361 void disableOutputs();
+
362 void enableOutputs();
+
363
+
364protected:
+
379 void computeNewSpeed();
+
380
+
395 virtual void step();
+
396private:
+
397 static volatile uint8_t _dir_data;
+
398 static volatile uint8_t _step_data;
+
399 uint8_t _dir; // 2 or 4
+
400 long _currentPos; // Steps
+
401 long _targetPos; // Steps
+
402 float _speed; // Steps per second
+
403 float _maxSpeed;
+
404 float _acceleration;
+
405 unsigned long _stepInterval;
+
406 unsigned long _lastStepTime;
+
408 long _n;
+
409
+
411 float _c0;
+
412
+
414 float _cn;
+
415
+
417 float _cmin; // at max speed
+
418 uint8_t _dirPin, _stpPin;
+
419};
+
+
420
+
421#endif
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for Me Stepper device.
Definition MeStepper.h:85
+
void computeNewSpeed()
Definition MeStepper.cpp:308
+
void moveTo(long absolute)
Definition MeStepper.cpp:144
+
MeStepper()
Definition MeStepper.cpp:77
+
void setCurrentPosition(long position)
Definition MeStepper.cpp:287
+
long targetPosition()
Definition MeStepper.cpp:249
+
void setpin(uint8_t dir_data, uint8_t step_data)
Definition MeStepper.cpp:117
+
void runToNewPosition(long position)
Definition MeStepper.cpp:623
+
void setMaxSpeed(float speed)
Definition MeStepper.cpp:428
+
virtual void step()
Definition MeStepper.cpp:541
+
void runToPosition()
Definition MeStepper.cpp:570
+
boolean runSpeedToPosition()
Definition MeStepper.cpp:592
+
long currentPosition()
Definition MeStepper.cpp:268
+
void move(long relative)
Definition MeStepper.cpp:167
+
void setSpeed(float speed)
Definition MeStepper.cpp:488
+
boolean run()
Definition MeStepper.cpp:400
+
void setAcceleration(float acceleration)
Definition MeStepper.cpp:457
+
long distanceToGo()
Definition MeStepper.cpp:230
+
boolean runSpeed()
Definition MeStepper.cpp:186
+
float speed()
Definition MeStepper.cpp:522
+
+
+ + + + diff --git a/doc/html/_me_stepper_on_board_8cpp.html b/doc/html/_me_stepper_on_board_8cpp.html new file mode 100644 index 00000000..f9587860 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8cpp.html @@ -0,0 +1,207 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepperOnBoard.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeStepperOnBoard.cpp File Reference
+
+
+ +

Driver for Stepper device. +More...

+
#include "MeStepperOnBoard.h"
+
+Include dependency graph for MeStepperOnBoard.cpp:
+
+
+ + + + + + + + + + + +
+
+ + + +

+Enumerations

enum  Direction { DIRECTION_CCW = 0 +, DIRECTION_CW = 1 + }
 
+

Detailed Description

+

Driver for Stepper device.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2018/01/03
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Stepper device.
+
Method List:
+
    +
  1. void MeStepperOnBoard::setMicroStep(int8_t value);
  2. +
  3. void MeStepperOnBoard::setpin(int slot);
  4. +
  5. void MeStepperOnBoard::moveTo(long absolute);
  6. +
  7. void MeStepperOnBoard::moveTo(long absolute, int16_t extId, cb callback);
  8. +
  9. void MeStepperOnBoard::move(long relative);
  10. +
  11. void MeStepperOnBoard::move(long relative, int16_t extId, cb callback);
  12. +
  13. boolean MeStepperOnBoard::run(void);
  14. +
  15. boolean MeStepperOnBoard::runSpeed(void);
  16. +
  17. void MeStepperOnBoard::setMaxSpeed(float speed);
  18. +
  19. void MeStepperOnBoard::setAcceleration(float acceleration);
  20. +
  21. void MeStepperOnBoard::setSpeed(float speed);
  22. +
  23. float MeStepperOnBoard::speed(void);
  24. +
  25. long MeStepperOnBoard::distanceToGo(void);
  26. +
  27. long MeStepperOnBoard::targetPosition(void);
  28. +
  29. long MeStepperOnBoard::currentPosition(void);
    +
  30. +
  31. void MeStepperOnBoard::setCurrentPosition(long position);
    +
  32. +
  33. void MeStepperOnBoard::runToPosition(void);
  34. +
  35. boolean MeStepperOnBoard::runSpeedToPosition(void);
  36. +
  37. void MeStepperOnBoard::runToNewPosition(long position);
  38. +
  39. void MeStepperOnBoard::disableOutputs(void);
  40. +
  41. void MeStepperOnBoard::enableOutputs(void);
  42. +
  43. void MeStepperOnBoard::update(void);
  44. +
  45. int16_t MeStepperOnBoard::getPort(void);
  46. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2016/03/05     1.0.0            Bulid the new
+Mark Yan        2016/05/06     1.0.1            Add function move and moveTo
+Zzipeng         2017/02/20     1.0.2            put the array megaPi_slots[4] to MegaPi.h/MegaPiPro.h
+Mark Yan        2018/01/03     1.0.3            Change the parameters order of moveTo/move
+
+

Enumeration Type Documentation

+ +

◆ Direction

+ +
+
+ + + + +
enum Direction
+
+ + + +
Enumerator
DIRECTION_CCW 

Clockwise.

+
DIRECTION_CW 

Counter-Clockwise.

+
+ +
+
+
+
+ + + + diff --git a/doc/html/_me_stepper_on_board_8cpp.js b/doc/html/_me_stepper_on_board_8cpp.js new file mode 100644 index 00000000..d35f4fe0 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8cpp.js @@ -0,0 +1,7 @@ +var _me_stepper_on_board_8cpp = +[ + [ "Direction", "_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa", [ + [ "DIRECTION_CCW", "_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2", null ], + [ "DIRECTION_CW", "_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6", null ] + ] ] +]; \ No newline at end of file diff --git a/doc/html/_me_stepper_on_board_8cpp__incl.map b/doc/html/_me_stepper_on_board_8cpp__incl.map new file mode 100644 index 00000000..e2bcdcc9 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8cpp__incl.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/_me_stepper_on_board_8cpp__incl.md5 b/doc/html/_me_stepper_on_board_8cpp__incl.md5 new file mode 100644 index 00000000..e906c4f1 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8cpp__incl.md5 @@ -0,0 +1 @@ +8b452cfaf66f52642bba70eb515c03d2 \ No newline at end of file diff --git a/doc/html/_me_stepper_on_board_8cpp__incl.png b/doc/html/_me_stepper_on_board_8cpp__incl.png new file mode 100644 index 00000000..2fc55913 Binary files /dev/null and b/doc/html/_me_stepper_on_board_8cpp__incl.png differ diff --git a/doc/html/_me_stepper_on_board_8h.html b/doc/html/_me_stepper_on_board_8h.html new file mode 100644 index 00000000..bfbbeb49 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h.html @@ -0,0 +1,230 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepperOnBoard.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeStepperOnBoard.h File Reference
+
+
+ +

Header for MeStepperOnBoard.cpp module. +More...

+
#include "WProgram.h"
+#include "stdlib.h"
+#include "wiring.h"
+
+Include dependency graph for MeStepperOnBoard.h:
+
+
+ + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + +

+Classes

struct  megaPi_slot
 
class  MeStepperOnBoard
 Driver for Me Stepper on MegaPi. More...
 
+ + + + + +

+Macros

+#define NUM_SLOTS   4
 
+#define SLOT_NUM_PINS   8
 
+ + + + + +

+Typedefs

+typedef struct megaPi_slot megaPi_slot_type
 
+typedef void(* cb) (int, int)
 
+ + + +

+Variables

+megaPi_slot_type megaPi_slots [NUM_SLOTS]
 
+

Detailed Description

+

Header for MeStepperOnBoard.cpp module.

+
Author
MakeBlock
+
Version
V1.0.3
+
Date
2018/01/03
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Stepper device.
+
Method List:
+
    +
  1. void MeStepperOnBoard::setMicroStep(int8_t value);
  2. +
  3. void MeStepperOnBoard::setpin(int slot);
  4. +
  5. void MeStepperOnBoard::moveTo(long absolute);
  6. +
  7. void MeStepperOnBoard::moveTo(long absolute, int16_t extId, cb callback);
  8. +
  9. void MeStepperOnBoard::move(long relative);
  10. +
  11. void MeStepperOnBoard::move(long relative, int16_t extId, cb callback);
  12. +
  13. boolean MeStepperOnBoard::run(void);
  14. +
  15. boolean MeStepperOnBoard::runSpeed(void);
  16. +
  17. void MeStepperOnBoard::setMaxSpeed(float speed);
  18. +
  19. void MeStepperOnBoard::setAcceleration(float acceleration);
  20. +
  21. void MeStepperOnBoard::setSpeed(float speed);
  22. +
  23. float MeStepperOnBoard::speed(void);
  24. +
  25. long MeStepperOnBoard::distanceToGo(void);
  26. +
  27. long MeStepperOnBoard::targetPosition(void);
  28. +
  29. long MeStepperOnBoard::currentPosition(void);
    +
  30. +
  31. void MeStepperOnBoard::setCurrentPosition(long position);
    +
  32. +
  33. void MeStepperOnBoard::runToPosition(void);
  34. +
  35. boolean MeStepperOnBoard::runSpeedToPosition(void);
  36. +
  37. void MeStepperOnBoard::runToNewPosition(long position);
  38. +
  39. void MeStepperOnBoard::disableOutputs(void);
  40. +
  41. void MeStepperOnBoard::enableOutputs(void);
  42. +
  43. void MeStepperOnBoard::update(void);
  44. +
  45. int16_t MeStepperOnBoard::getPort(void);
  46. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan        2016/03/05     1.0.0            Bulid the new
+Mark Yan        2016/05/06     1.0.1            Add function move and moveTo
+Zzipeng         2017/02/20     1.0.2            put the array megaPi_slots[4] to MegaPi.h/MegaPiPro.h
+Mark Yan        2018/01/03     1.0.3            Change the parameters order of moveTo/move
+
+
+
+ + + + diff --git a/doc/html/_me_stepper_on_board_8h.js b/doc/html/_me_stepper_on_board_8h.js new file mode 100644 index 00000000..b78442a0 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h.js @@ -0,0 +1,5 @@ +var _me_stepper_on_board_8h = +[ + [ "megaPi_slot", "structmega_pi__slot.html", null ], + [ "MeStepperOnBoard", "class_me_stepper_on_board.html", "class_me_stepper_on_board" ] +]; \ No newline at end of file diff --git a/doc/html/_me_stepper_on_board_8h__dep__incl.map b/doc/html/_me_stepper_on_board_8h__dep__incl.map new file mode 100644 index 00000000..55691564 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h__dep__incl.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/_me_stepper_on_board_8h__dep__incl.md5 b/doc/html/_me_stepper_on_board_8h__dep__incl.md5 new file mode 100644 index 00000000..42582a28 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h__dep__incl.md5 @@ -0,0 +1 @@ +085536fe94112be6fd313d4faeba4bcd \ No newline at end of file diff --git a/doc/html/_me_stepper_on_board_8h__dep__incl.png b/doc/html/_me_stepper_on_board_8h__dep__incl.png new file mode 100644 index 00000000..ad22682f Binary files /dev/null and b/doc/html/_me_stepper_on_board_8h__dep__incl.png differ diff --git a/doc/html/_me_stepper_on_board_8h__incl.map b/doc/html/_me_stepper_on_board_8h__incl.map new file mode 100644 index 00000000..0d9a36b9 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h__incl.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/_me_stepper_on_board_8h__incl.md5 b/doc/html/_me_stepper_on_board_8h__incl.md5 new file mode 100644 index 00000000..032ec242 --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h__incl.md5 @@ -0,0 +1 @@ +bac94eb5ec12e949fc85030d117c9f39 \ No newline at end of file diff --git a/doc/html/_me_stepper_on_board_8h__incl.png b/doc/html/_me_stepper_on_board_8h__incl.png new file mode 100644 index 00000000..f05ac73f Binary files /dev/null and b/doc/html/_me_stepper_on_board_8h__incl.png differ diff --git a/doc/html/_me_stepper_on_board_8h_source.html b/doc/html/_me_stepper_on_board_8h_source.html new file mode 100644 index 00000000..eb2bf2fa --- /dev/null +++ b/doc/html/_me_stepper_on_board_8h_source.html @@ -0,0 +1,256 @@ + + + + + + + +MakeBlock Drive Updated: src/MeStepperOnBoard.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeStepperOnBoard.h
+
+
+Go to the documentation of this file.
1
+
62#ifndef MeStepperOnBoard_h
+
63#define MeStepperOnBoard_h
+
64
+
65#if ARDUINO >= 100
+
66 #include "Arduino.h"
+
67#else
+
68 #include "WProgram.h"
+
69 #include "stdlib.h"
+
70 #include "wiring.h"
+
71#endif
+
72
+
73#define NUM_SLOTS 4
+
74#define SLOT_NUM_PINS 8
+
75
+
+
76 typedef struct megaPi_slot
+
77 {
+
78 uint8_t pin[SLOT_NUM_PINS];
+ +
+
80
+
81 extern megaPi_slot_type megaPi_slots[NUM_SLOTS];
+
82
+
83// These defs cause trouble on some versions of Arduino
+
84#undef round
+
85typedef void (*cb)(int,int);
+
+ +
92{
+
93public:
+ +
101
+
107 MeStepperOnBoard(int slot);
+
108
+
123void setMicroStep(int8_t value);
+
124
+
139 void setpin(int slot);
+
140
+
155 void moveTo(long absolute);
+
156
+
175 void moveTo(long absolute, int16_t extId, cb callback);
+
176
+
191 void move(long relative);
+
192
+
211 void move(long relative, int16_t extId, cb callback);
+
212
+
227 boolean run(void);
+
228
+
243 boolean runSpeed(void);
+
244
+
259 void setMaxSpeed(float speed);
+
260
+
275 void setAcceleration(float acceleration);
+
276
+
291 void setSpeed(float speed);
+
292
+
307 float speed(void);
+
308
+
323 long distanceToGo(void);
+
324
+
339 long targetPosition(void);
+
340
+
355 long currentPosition(void);
+
356
+
371 void setCurrentPosition(long position);
+
372
+
387 void runToPosition(void);
+
388
+
403 boolean runSpeedToPosition(void);
+
404
+
419 void runToNewPosition(long position);
+
420
+
435 void disableOutputs(void);
+
436
+
451 void enableOutputs(void);
+
452
+
467 void update(void);
+
482 virtual void step(void);
+
483
+
498 int16_t getPort(void);
+
499
+
500protected:
+
515 void computeNewSpeed();
+
516private:
+
517 uint8_t _dir_data;
+
518 uint8_t _step_data;
+
519 uint8_t _enable_pin;
+
520 uint8_t _micro_step_pin1;
+
521 uint8_t _micro_step_pin2;
+
522 uint8_t _micro_step_pin3;
+
523 uint8_t _reset_pin;
+
524 uint8_t _sleep_pin;
+
525 uint8_t _micro_step;
+
526 uint8_t _dir; // 2 or 4
+
527 long _currentPos; // Steps
+
528 long _targetPos; // Steps
+
529 float _speed; // Steps per second
+
530 float _maxSpeed;
+
531 float _acceleration;
+
532 unsigned long _stepInterval;
+
533 unsigned long _lastStepTime;
+
535 long _n;
+
536
+
538 float _c0;
+
539
+
541 float _cn;
+
542
+
544 float _cmin; // at max speed
+
545 cb _callback;
+
546 int16_t _slot;
+
547 int16_t _extId;
+
548 boolean _moving;
+
549 int16_t _mode;
+
550 boolean _enabled;
+
551};
+
+
552
+
553#endif
+
Driver for Me Stepper on MegaPi.
Definition MeStepperOnBoard.h:92
+
boolean runSpeed(void)
Definition MeStepperOnBoard.cpp:334
+
void update(void)
Definition MeStepperOnBoard.cpp:834
+
void runToNewPosition(long position)
Definition MeStepperOnBoard.cpp:774
+
long targetPosition(void)
Definition MeStepperOnBoard.cpp:397
+
virtual void step(void)
Definition MeStepperOnBoard.cpp:692
+
int16_t getPort(void)
Definition MeStepperOnBoard.cpp:872
+
boolean run(void)
Definition MeStepperOnBoard.cpp:548
+
void moveTo(long absolute)
Definition MeStepperOnBoard.cpp:239
+
void setAcceleration(float acceleration)
Definition MeStepperOnBoard.cpp:605
+
void setSpeed(float speed)
Definition MeStepperOnBoard.cpp:636
+
MeStepperOnBoard()
Definition MeStepperOnBoard.cpp:78
+
long currentPosition(void)
Definition MeStepperOnBoard.cpp:416
+
void setpin(int slot)
Definition MeStepperOnBoard.cpp:193
+
void setMicroStep(int8_t value)
Definition MeStepperOnBoard.cpp:136
+
void runToPosition(void)
Definition MeStepperOnBoard.cpp:721
+
float speed(void)
Definition MeStepperOnBoard.cpp:673
+
long distanceToGo(void)
Definition MeStepperOnBoard.cpp:378
+
void move(long relative)
Definition MeStepperOnBoard.cpp:292
+
void setMaxSpeed(float speed)
Definition MeStepperOnBoard.cpp:576
+
void computeNewSpeed()
Definition MeStepperOnBoard.cpp:456
+
void disableOutputs(void)
Definition MeStepperOnBoard.cpp:794
+
boolean runSpeedToPosition(void)
Definition MeStepperOnBoard.cpp:743
+
void enableOutputs(void)
Definition MeStepperOnBoard.cpp:814
+
void setCurrentPosition(long position)
Definition MeStepperOnBoard.cpp:435
+
Definition MeStepperOnBoard.h:77
+
+
+ + + + diff --git a/doc/html/_me_temperature_8cpp.html b/doc/html/_me_temperature_8cpp.html new file mode 100644 index 00000000..862c6347 --- /dev/null +++ b/doc/html/_me_temperature_8cpp.html @@ -0,0 +1,195 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTemperature.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTemperature.cpp File Reference
+
+
+ +

Driver for temperature sensor device. +More...

+
#include "MeTemperature.h"
+
+Include dependency graph for MeTemperature.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for temperature sensor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for temperature sensor device, It supports temperature sensor 18B20 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeTemperature::reset(uint8_t port)
  2. +
  3. void MeTemperature::reset(uint8_t port, uint8_t slot)
  4. +
  5. void MeTemperature::setpin(uint8_t port)
  6. +
  7. float MeTemperature::temperature(void)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_temperature_8cpp__incl.map b/doc/html/_me_temperature_8cpp__incl.map new file mode 100644 index 00000000..e2a18b2f --- /dev/null +++ b/doc/html/_me_temperature_8cpp__incl.map @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_temperature_8cpp__incl.md5 b/doc/html/_me_temperature_8cpp__incl.md5 new file mode 100644 index 00000000..6e9aab94 --- /dev/null +++ b/doc/html/_me_temperature_8cpp__incl.md5 @@ -0,0 +1 @@ +f8890a86c16672a88b77251845f4afe9 \ No newline at end of file diff --git a/doc/html/_me_temperature_8cpp__incl.png b/doc/html/_me_temperature_8cpp__incl.png new file mode 100644 index 00000000..8bcd635e Binary files /dev/null and b/doc/html/_me_temperature_8cpp__incl.png differ diff --git a/doc/html/_me_temperature_8h.html b/doc/html/_me_temperature_8h.html new file mode 100644 index 00000000..fa5d6eea --- /dev/null +++ b/doc/html/_me_temperature_8h.html @@ -0,0 +1,258 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTemperature.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeTemperature.h File Reference
+
+
+ +

Header for MeTemperature.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeOneWire.h"
+#include "MePort.h"
+
+Include dependency graph for MeTemperature.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeTemperature
 Driver for temperature sensor device. More...
 
+ + + + + + + + + + + + + + + +

+Macros

+#define STARTCONVO   0x44
 
+#define COPYSCRATCH   0x48
 
+#define READSCRATCH   0xBE
 
+#define WRITESCRATCH   0x4E
 
+#define RECALLSCRATCH   0xB8
 
+#define READPOWERSUPPLY   0xB4
 
+#define ALARMSEARCH   0xEC
 
+

Detailed Description

+

Header for MeTemperature.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/08
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for temperature sensor device, It supports temperature sensor 18B20 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeTemperature::reset(uint8_t port)
  2. +
  3. void MeTemperature::reset(uint8_t port, uint8_t slot)
  4. +
  5. void MeTemperature::setpin(uint8_t port)
  6. +
  7. float MeTemperature::temperature(void)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/08     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_temperature_8h.js b/doc/html/_me_temperature_8h.js new file mode 100644 index 00000000..353a1370 --- /dev/null +++ b/doc/html/_me_temperature_8h.js @@ -0,0 +1,4 @@ +var _me_temperature_8h = +[ + [ "MeTemperature", "class_me_temperature.html", "class_me_temperature" ] +]; \ No newline at end of file diff --git a/doc/html/_me_temperature_8h__dep__incl.map b/doc/html/_me_temperature_8h__dep__incl.map new file mode 100644 index 00000000..10fb3147 --- /dev/null +++ b/doc/html/_me_temperature_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_temperature_8h__dep__incl.md5 b/doc/html/_me_temperature_8h__dep__incl.md5 new file mode 100644 index 00000000..d79a35fe --- /dev/null +++ b/doc/html/_me_temperature_8h__dep__incl.md5 @@ -0,0 +1 @@ +f55c9e3eee9264411e9df3c9a6450052 \ No newline at end of file diff --git a/doc/html/_me_temperature_8h__dep__incl.png b/doc/html/_me_temperature_8h__dep__incl.png new file mode 100644 index 00000000..c5e24936 Binary files /dev/null and b/doc/html/_me_temperature_8h__dep__incl.png differ diff --git a/doc/html/_me_temperature_8h__incl.map b/doc/html/_me_temperature_8h__incl.map new file mode 100644 index 00000000..01af08dc --- /dev/null +++ b/doc/html/_me_temperature_8h__incl.map @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_temperature_8h__incl.md5 b/doc/html/_me_temperature_8h__incl.md5 new file mode 100644 index 00000000..9e32e2b9 --- /dev/null +++ b/doc/html/_me_temperature_8h__incl.md5 @@ -0,0 +1 @@ +29e5cc12c62ad63cb74f4577a001fc01 \ No newline at end of file diff --git a/doc/html/_me_temperature_8h__incl.png b/doc/html/_me_temperature_8h__incl.png new file mode 100644 index 00000000..3aab13e2 Binary files /dev/null and b/doc/html/_me_temperature_8h__incl.png differ diff --git a/doc/html/_me_temperature_8h_source.html b/doc/html/_me_temperature_8h_source.html new file mode 100644 index 00000000..1e843dd4 --- /dev/null +++ b/doc/html/_me_temperature_8h_source.html @@ -0,0 +1,176 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTemperature.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTemperature.h
+
+
+Go to the documentation of this file.
1
+
40#ifndef MeTemperature_H
+
41#define MeTemperature_H
+
42
+
43#include <stdint.h>
+
44#include <stdbool.h>
+
45#include <Arduino.h>
+
46#include "MeConfig.h"
+
47#include "MeOneWire.h"
+
48
+
49#ifdef ME_PORT_DEFINED
+
50#include "MePort.h"
+
51#endif /* ME_PORT_DEFINED */
+
52
+
53/* DS18B20 commands */
+
54#define STARTCONVO 0x44 // Tells device to take a temperature reading and put it on the scratchpad
+
55#define COPYSCRATCH 0x48 // Copy EEPROM
+
56#define READSCRATCH 0xBE // Read EEPROM
+
57#define WRITESCRATCH 0x4E // Write to EEPROM
+
58#define RECALLSCRATCH 0xB8 // Reload from last known
+
59#define READPOWERSUPPLY 0xB4 // Determine if device needs parasite power
+
60#define ALARMSEARCH 0xEC // Query bus for devices with an alarm condition
+
61
+
67#ifndef ME_PORT_DEFINED
+
68class MeTemperature
+
69#else // !ME_PORT_DEFINED
+
+
70class MeTemperature : public MePort
+
71#endif // !ME_PORT_DEFINED
+
72{
+
73public:
+
74#ifdef ME_PORT_DEFINED
+
81 MeTemperature(void);
+
82
+
89 MeTemperature(uint8_t port);
+
90
+
98 MeTemperature(uint8_t port, uint8_t slot);
+
99#else // ME_PORT_DEFINED
+
105 MeTemperature(uint8_t port);
+
106#endif // ME_PORT_DEFINED
+
122 void reset(uint8_t port);
+
123
+
140 void reset(uint8_t port, uint8_t slot);
+
141
+
156 void setpin(uint8_t port);
+
157
+
170 float temperature(void);
+
171private:
+
172 MeOneWire _ts;
+
173 volatile uint8_t _DataPin;
+
174};
+
+
175
+
176#endif
+
177
+
Configuration file of library.
+
Header for MeOneWire.cpp module.
+
Header for MePort.cpp module.
+
Driver for 1-wire protocol.
Definition MeOneWire.h:153
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for temperature sensor device.
Definition MeTemperature.h:72
+
MeTemperature(void)
Definition MeTemperature.cpp:51
+
void setpin(uint8_t port)
Definition MeTemperature.cpp:151
+
float temperature(void)
Definition MeTemperature.cpp:169
+
void reset(uint8_t port)
Definition MeTemperature.cpp:109
+
+
+ + + + diff --git a/doc/html/_me_touch_sensor_8cpp.html b/doc/html/_me_touch_sensor_8cpp.html new file mode 100644 index 00000000..9651d70d --- /dev/null +++ b/doc/html/_me_touch_sensor_8cpp.html @@ -0,0 +1,188 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTouchSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTouchSensor.cpp File Reference
+
+
+ +

Driver for Me touch sensor device. +More...

+
#include "MeTouchSensor.h"
+
+Include dependency graph for MeTouchSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me touch sensor device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me touch sensor device, It supports touch sensor provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeTouchSensor::setpin(uint8_t ShotPin, uint8_t FocusPin)
  2. +
  3. bool MeTouchSensor::touched()
  4. +
  5. void MeTouchSensor::SetTogMode(uint8_t TogMode)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/07     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_touch_sensor_8cpp__incl.map b/doc/html/_me_touch_sensor_8cpp__incl.map new file mode 100644 index 00000000..56d100f8 --- /dev/null +++ b/doc/html/_me_touch_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_touch_sensor_8cpp__incl.md5 b/doc/html/_me_touch_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..4add7cf4 --- /dev/null +++ b/doc/html/_me_touch_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +e60e82cc2adb035ab3a05917469cc2af \ No newline at end of file diff --git a/doc/html/_me_touch_sensor_8cpp__incl.png b/doc/html/_me_touch_sensor_8cpp__incl.png new file mode 100644 index 00000000..e7cef404 Binary files /dev/null and b/doc/html/_me_touch_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_touch_sensor_8h.html b/doc/html/_me_touch_sensor_8h.html new file mode 100644 index 00000000..b7aafea3 --- /dev/null +++ b/doc/html/_me_touch_sensor_8h.html @@ -0,0 +1,225 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTouchSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeTouchSensor.h File Reference
+
+
+ +

Header for for MeTouchSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeTouchSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeTouchSensor
 Driver for Me touch sensor device. More...
 
+

Detailed Description

+

Header for for MeTouchSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/07
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me touch sensor device, It supports touch sensor provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeTouchSensor::setpin(uint8_t ShotPin, uint8_t FocusPin)
  2. +
  3. bool MeTouchSensor::touched()
  4. +
  5. void MeTouchSensor::SetTogMode(uint8_t TogMode)
  6. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/07     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_touch_sensor_8h.js b/doc/html/_me_touch_sensor_8h.js new file mode 100644 index 00000000..4486ac81 --- /dev/null +++ b/doc/html/_me_touch_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_touch_sensor_8h = +[ + [ "MeTouchSensor", "class_me_touch_sensor.html", "class_me_touch_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_touch_sensor_8h__dep__incl.map b/doc/html/_me_touch_sensor_8h__dep__incl.map new file mode 100644 index 00000000..773095a5 --- /dev/null +++ b/doc/html/_me_touch_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_touch_sensor_8h__dep__incl.md5 b/doc/html/_me_touch_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..36a24443 --- /dev/null +++ b/doc/html/_me_touch_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +ceb42a32d2420b5a4ac33b13873c5ae4 \ No newline at end of file diff --git a/doc/html/_me_touch_sensor_8h__dep__incl.png b/doc/html/_me_touch_sensor_8h__dep__incl.png new file mode 100644 index 00000000..765815eb Binary files /dev/null and b/doc/html/_me_touch_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_touch_sensor_8h__incl.map b/doc/html/_me_touch_sensor_8h__incl.map new file mode 100644 index 00000000..747960b6 --- /dev/null +++ b/doc/html/_me_touch_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_touch_sensor_8h__incl.md5 b/doc/html/_me_touch_sensor_8h__incl.md5 new file mode 100644 index 00000000..9632d46c --- /dev/null +++ b/doc/html/_me_touch_sensor_8h__incl.md5 @@ -0,0 +1 @@ +d9595cb22de54918d774686074d43d68 \ No newline at end of file diff --git a/doc/html/_me_touch_sensor_8h__incl.png b/doc/html/_me_touch_sensor_8h__incl.png new file mode 100644 index 00000000..24d66246 Binary files /dev/null and b/doc/html/_me_touch_sensor_8h__incl.png differ diff --git a/doc/html/_me_touch_sensor_8h_source.html b/doc/html/_me_touch_sensor_8h_source.html new file mode 100644 index 00000000..5dfe975d --- /dev/null +++ b/doc/html/_me_touch_sensor_8h_source.html @@ -0,0 +1,159 @@ + + + + + + + +MakeBlock Drive Updated: src/MeTouchSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTouchSensor.h
+
+
+Go to the documentation of this file.
1
+
40#ifndef MeTouchSensor_H
+
41#define MeTouchSensor_H
+
42
+
43#include <stdint.h>
+
44#include <stdbool.h>
+
45#include <Arduino.h>
+
46#include "MeConfig.h"
+
47
+
48#ifdef ME_PORT_DEFINED
+
49#include "MePort.h"
+
50#endif /* ME_PORT_DEFINED */
+
51
+
57#ifndef ME_PORT_DEFINED
+
58class MeTouchSensor
+
59#else /* !ME_PORT_DEFINED */
+
+
60class MeTouchSensor : public MePort
+
61#endif // !ME_PORT_DEFINED
+
62{
+
63public:
+
64#ifdef ME_PORT_DEFINED
+
71 MeTouchSensor(void);
+
72
+
78 MeTouchSensor(uint8_t port);
+
79#else // ME_PORT_DEFINED
+
88 MeTouchSensor(uint8_t TogPin, uint8_t OutputPin);
+
89#endif // ME_PORT_DEFINED
+
106 void setpin(uint8_t TogPin, uint8_t OutputPin);
+
107
+
120 bool touched(void);
+
121
+
136 void SetTogMode(uint8_t TogMode);
+
137private:
+
138 volatile uint8_t _TogPin;
+
139 volatile uint8_t _OutputPin;
+
140};
+
+
141
+
142#endif
+
143
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for Me touch sensor device.
Definition MeTouchSensor.h:62
+
MeTouchSensor(void)
Definition MeTouchSensor.cpp:51
+
void SetTogMode(uint8_t TogMode)
Definition MeTouchSensor.cpp:147
+
bool touched(void)
Definition MeTouchSensor.cpp:124
+
+
+ + + + diff --git a/doc/html/_me_u_s_b_host_8cpp.html b/doc/html/_me_u_s_b_host_8cpp.html new file mode 100644 index 00000000..c94a77d3 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8cpp.html @@ -0,0 +1,238 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUSBHost.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeUSBHost.cpp File Reference
+
+
+ +

Driver for Me USB Host module. +More...

+
#include "MeUSBHost.h"
+
+Include dependency graph for MeUSBHost.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + +

+Macros

+#define p_dev_descr   ((PUSB_DEV_DESCR)RECV_BUFFER)
 
+#define p_cfg_descr   ((PUSB_CFG_DESCR_LONG)RECV_BUFFER)
 
+ + + + + + + + + + + + + + + + + +

+Variables

+uint8_t endp_out_addr
 
+uint8_t endp_out_size
 
+uint8_t endp_in_addr
 
+uint8_t endp6_mode
 
+uint8_t endp7_mode
 
+uint8_t * cmd_buf
 
+uint8_t * ret_buf
 
+PUSB_ENDP_DESCR tmpEp
 
+

Detailed Description

+

Driver for Me USB Host module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/01/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me Bluetooth device, The bluetooth inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeUSBHost::init(int8_t type);
  2. +
  3. int16_t MeUSBHost::initHIDDevice();
  4. +
  5. int16_t MeUSBHost::probeDevice();
  6. +
  7. void MeUSBHost::resetBus();
  8. +
  9. uint8_t MeUSBHost::host_recv();
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/10     1.0.0            Add description
+Mark Yan        2016/01/20     1.0.1            Support hardware serial automatic Identification
+
+
+
+ + + + diff --git a/doc/html/_me_u_s_b_host_8cpp__incl.map b/doc/html/_me_u_s_b_host_8cpp__incl.map new file mode 100644 index 00000000..1dfbd922 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8cpp__incl.map @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_u_s_b_host_8cpp__incl.md5 b/doc/html/_me_u_s_b_host_8cpp__incl.md5 new file mode 100644 index 00000000..647d0d53 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8cpp__incl.md5 @@ -0,0 +1 @@ +aeace38a23a31ecabe6a1177a51e72b6 \ No newline at end of file diff --git a/doc/html/_me_u_s_b_host_8cpp__incl.png b/doc/html/_me_u_s_b_host_8cpp__incl.png new file mode 100644 index 00000000..ba61a3ca Binary files /dev/null and b/doc/html/_me_u_s_b_host_8cpp__incl.png differ diff --git a/doc/html/_me_u_s_b_host_8h.html b/doc/html/_me_u_s_b_host_8h.html new file mode 100644 index 00000000..12247a1d --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h.html @@ -0,0 +1,572 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUSBHost.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeUSBHost.h File Reference
+
+
+ +

Header for MeUSBHost.cpp module. +More...

+
#include <Arduino.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include "MeConfig.h"
+#include "MePort.h"
+#include "MeSerial.h"
+
+Include dependency graph for MeUSBHost.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + +

+Classes

struct  _USB_DEVICE_DEscriptOR
 
struct  _USB_CONFIG_DEscriptOR
 
struct  _USB_INTERF_DEscriptOR
 
struct  _USB_ENDPOINT_DEscriptOR
 
struct  _USB_CONFIG_DEscriptOR_LONG
 
class  MeUSBHost
 Driver for Me USB Host module. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

+#define USB2_0   1
 
+#define USB1_0   0
 
+#define CH375_MAX_DATA_LEN   0x40 /* max package length */
 
+#define CMD_RESET_ALL   0x05 /* Reset Device */
 
+#define CMD_CHECK_EXIST   0x06 /* Chip check */
 
+#define CMD_SET_USB_ID   0x12 /* Device Mode: Setup the VID and PID in device mode */
 
+#define CMD_SET_USB_ADDR   0x13 /* Setup the usb address */
 
+#define CMD_SET_USB_MODE   0x15 /* Setup the module work mode, with enable or disable state */
 
+#define CMD_SET_ENDP2   0x18 /* Device Mode: setup endpoint 0 receiver */
 
+#define CMD_SET_ENDP3   0x19 /* Device Mode: setup endpoint 0 transmitter */
 
+#define CMD_SET_ENDP4   0x1A /* Device Mode: setup endpoint 1 receiver */
 
+#define CMD_SET_ENDP5   0x1B /* Device Mode: setup endpoint 1 transmitter */
 
+#define CMD_SET_ENDP6   0x1C /* Device Mode: setup endpoint 2 receiver */
 
+#define CMD_SET_ENDP7   0x1D /* Device Mode: setup endpoint 2 transmitter */
 
+#define CMD_GET_TOGGLE   0x0A /* get the out token sync state */
 
+#define CMD_GET_STATUS   0x22 /* Get interrupt state */
 
+#define CMD_UNLOCK_USB   0x23 /* Device Mode: release buffer */
 
+#define CMD_RD_USB_DATA   0x28 /* block read from usb device, and release buffer */
 
+#define CMD_WR_USB_DATA3   0x29 /* Device Mode: write to usb endpoint 0 */
 
+#define CMD_WR_USB_DATA5   0x2A /* Device Mode: write to usb endpoint 1 */
 
+#define CMD_WR_USB_DATA7   0x2B /* write to usb endpoint 2 */
 
+#define CMD_SET_BAUDRATE   0x02 /* Serial Mode: setup serial baudrate */
 
+#define CMD_ABORT_NAK   0x17 /* Host Mode: abort nak retry */
 
+#define CMD_SET_RETRY   0x0B /* Host Mode: setup usb token retry times */
 
+#define CMD_ISSUE_TOKEN   0x4F /* Host Mode: issue the token */
 
+#define CMD_CLR_STALL   0x41 /* Host Mode: clear the endpoint Error */
 
+#define CMD_SET_ADDRESS   0x45 /* Host Mode: Control-setup usb address */
 
+#define CMD_GET_DESCR   0x46 /* Host Mode: Control-get descriptor */
 
+#define CMD_SET_CONFIG   0x49 /* Host Mode: Control-config and enable the device */
 
+#define CMD_DISK_INIT   0x51 /* Host Mode: init usb storage device */
 
+#define CMD_DISK_RESET   0x52 /* Host Mode: reset usb storage device */
 
+#define CMD_DISK_SIZE   0x53 /* Host Mode: get the capacity of usb storage device */
 
+#define CMD_DISK_READ   0x54 /* Host Mode: read from usb storage device(512byte) */
 
+#define CMD_DISK_RD_GO   0x55 /* Host Mode: continus read */
 
+#define CMD_DISK_WRITE   0x56 /* Host Mode: write to usb storage device(512byte) */
 
+#define CMD_DISK_WR_GO   0x57 /* Host Mode: continus write */
 
+#define CMD_GET_IC_VER   0x01 /* get chip version */
 
+#define CMD_ENTER_SLEEP   0x03 /* into sleep mode */
 
+#define CMD_RD_USB_DATA0   0x27 /* read from usb endpoint */
 
+#define CMD_DELAY_100US   0x0F /* Parallel : delay 100uS */
 
+#define CMD_CHK_SUSPEND   0x0B /* Device Mode: check usb bus hung */
 
+#define CMD_SET_SYS_FREQ   0x04 /* setup system working frequency */
 
+#define CMD_TEST_CONNECT   0x16 /* Host Mode: check usb device connection */
 
+#define CMD_AUTO_SETUP   0x4D /* Host Mode: auto setup usb device */
 
+#define CMD_ISSUE_TKN_X   0x4E /* Host Mode: issue sync token */
 
+#define CMD_RET_SUCCESS   0x51 /* success */
 
+#define CMD_RET_ABORT   0x5F /* fail */
 
+#define USB_INT_USB_SUSPEND   0x05 /* usb bus susspend */
 
+#define USB_INT_WAKE_UP   0x06 /* wake up */
 
+#define USB_INT_EP0_SETUP   0x0C /* USB ep0 SETUP */
 
+#define USB_INT_EP0_OUT   0x00 /* USB ep0 OUT */
 
+#define USB_INT_EP0_IN   0x08 /* USB ep0 IN */
 
+#define USB_INT_EP1_OUT   0x01 /* USB ep1 OUT */
 
+#define USB_INT_EP1_IN   0x09 /* USB ep1 IN */
 
+#define USB_INT_EP2_OUT   0x02 /* USB ep2 OUT */
 
+#define USB_INT_EP2_IN   0x0A /* USB ep2 IN */
 
+#define USB_INT_BUS_RESET1   0x03 /* USB BUS RESET */
 
+#define USB_INT_BUS_RESET2   0x07 /* USB BUS RESET */
 
+#define USB_INT_BUS_RESET3   0x0B /* USB BUS RESET */
 
+#define USB_INT_BUS_RESET4   0x0F /* USB BUS RESET */
 
+#define USB_INT_SUCCESS   0x14 /* token successful sent */
 
+#define USB_INT_CONNECT   0x15 /* detect usb device plug in */
 
+#define USB_INT_DISCONNECT   0x16 /* detect usb device plug out */
 
+#define USB_INT_BUF_OVER   0x17 /* USB control buffer overflow */
 
+#define USB_INT_DISK_READ   0x1D /* USB storage, read request */
 
+#define USB_INT_DISK_WRITE   0x1E /* USB storage, write request */
 
+#define USB_INT_DISK_ERR   0x1F /* USB storage, fail */
 
+#define DEF_USB_PID_NULL   0x00 /* reserve PID, not defined */
 
+#define DEF_USB_PID_SOF   0x05
 
+#define DEF_USB_PID_SETUP   0x0D
 
+#define DEF_USB_PID_IN   0x09
 
+#define DEF_USB_PID_OUT   0x01
 
+#define DEF_USB_PID_ACK   0x02
 
+#define DEF_USB_PID_NAK   0x0A
 
+#define DEF_USB_PID_STALL   0x0E
 
+#define DEF_USB_PID_DATA0   0x03
 
+#define DEF_USB_PID_DATA1   0x0B
 
+#define DEF_USB_PID_PRE   0x0C
 
+#define DEF_USB_REQ_READ   0x80 /* control read request */
 
+#define DEF_USB_REQ_WRITE   0x00 /* control write request */
 
+#define DEF_USB_REQ_TYPE   0x60 /* control type request */
 
+#define DEF_USB_REQ_STAND   0x00 /* standard request */
 
+#define DEF_USB_REQ_CLASS   0x20 /* device class request */
 
+#define DEF_USB_REQ_VENDOR   0x40 /* vendor request */
 
+#define DEF_USB_REQ_RESERVE   0x60 /* reserved request */
 
+#define DEF_USB_CLR_FEATURE   0x01
 
+#define DEF_USB_SET_FEATURE   0x03
 
+#define DEF_USB_GET_STATUS   0x00
 
+#define DEF_USB_SET_ADDRESS   0x05
 
+#define DEF_USB_GET_DESCR   0x06
 
+#define DEF_USB_SET_DESCR   0x07
 
+#define DEF_USB_GET_CONFIG   0x08
 
+#define DEF_USB_SET_CONFIG   0x09
 
+#define DEF_USB_GET_INTERF   0x0A
 
+#define DEF_USB_SET_INTERF   0x0B
 
+#define DEF_USB_SYNC_FRAME   0x0C
 
+ + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef struct _USB_DEVICE_DEscriptOR USB_DEV_DESCR
 
+typedef struct _USB_DEVICE_DEscriptORPUSB_DEV_DESCR
 
+typedef struct _USB_CONFIG_DEscriptOR USB_CFG_DESCR
 
+typedef struct _USB_CONFIG_DEscriptORPUSB_CFG_DESCR
 
+typedef struct _USB_INTERF_DEscriptOR USB_ITF_DESCR
 
+typedef struct _USB_INTERF_DEscriptORPUSB_ITF_DESCR
 
+typedef struct _USB_ENDPOINT_DEscriptOR USB_ENDP_DESCR
 
+typedef struct _USB_ENDPOINT_DEscriptORPUSB_ENDP_DESCR
 
+typedef struct _USB_CONFIG_DEscriptOR_LONG USB_CFG_DESCR_LONG
 
+typedef struct _USB_CONFIG_DEscriptOR_LONGPUSB_CFG_DESCR_LONG
 
+

Detailed Description

+

Header for MeUSBHost.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/01/20
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me USB Host device, The USB Host inherited the MeSerial class from SoftwareSerial.
+
Method List:
+
    +
  1. void MeUSBHost::init(int8_t type);
  2. +
  3. int16_t MeUSBHost::initHIDDevice();
  4. +
  5. int16_t MeUSBHost::probeDevice();
  6. +
  7. void MeUSBHost::resetBus();
  8. +
  9. uint8_t MeUSBHost::host_recv();
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+forfish         2015/11/10     1.0.0            Add description
+Mark Yan        2016/01/20     1.0.1            Support hardware serial automatic Identification
+
+
+
+ + + + diff --git a/doc/html/_me_u_s_b_host_8h.js b/doc/html/_me_u_s_b_host_8h.js new file mode 100644 index 00000000..82d3aa81 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h.js @@ -0,0 +1,9 @@ +var _me_u_s_b_host_8h = +[ + [ "_USB_DEVICE_DEscriptOR", "struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html", null ], + [ "_USB_CONFIG_DEscriptOR", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html", null ], + [ "_USB_INTERF_DEscriptOR", "struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html", null ], + [ "_USB_ENDPOINT_DEscriptOR", "struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html", null ], + [ "_USB_CONFIG_DEscriptOR_LONG", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html", null ], + [ "MeUSBHost", "class_me_u_s_b_host.html", "class_me_u_s_b_host" ] +]; \ No newline at end of file diff --git a/doc/html/_me_u_s_b_host_8h__dep__incl.map b/doc/html/_me_u_s_b_host_8h__dep__incl.map new file mode 100644 index 00000000..77ae4798 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_u_s_b_host_8h__dep__incl.md5 b/doc/html/_me_u_s_b_host_8h__dep__incl.md5 new file mode 100644 index 00000000..521522ba --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h__dep__incl.md5 @@ -0,0 +1 @@ +a1deaa939c5df744344dd7abad2e2df1 \ No newline at end of file diff --git a/doc/html/_me_u_s_b_host_8h__dep__incl.png b/doc/html/_me_u_s_b_host_8h__dep__incl.png new file mode 100644 index 00000000..a2f08a79 Binary files /dev/null and b/doc/html/_me_u_s_b_host_8h__dep__incl.png differ diff --git a/doc/html/_me_u_s_b_host_8h__incl.map b/doc/html/_me_u_s_b_host_8h__incl.map new file mode 100644 index 00000000..3b7f848e --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_u_s_b_host_8h__incl.md5 b/doc/html/_me_u_s_b_host_8h__incl.md5 new file mode 100644 index 00000000..74576e20 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h__incl.md5 @@ -0,0 +1 @@ +b4382ef0d86c28ddcf81e476bbf8656e \ No newline at end of file diff --git a/doc/html/_me_u_s_b_host_8h__incl.png b/doc/html/_me_u_s_b_host_8h__incl.png new file mode 100644 index 00000000..85d9820f Binary files /dev/null and b/doc/html/_me_u_s_b_host_8h__incl.png differ diff --git a/doc/html/_me_u_s_b_host_8h_source.html b/doc/html/_me_u_s_b_host_8h_source.html new file mode 100644 index 00000000..5e81e1d5 --- /dev/null +++ b/doc/html/_me_u_s_b_host_8h_source.html @@ -0,0 +1,517 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUSBHost.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeUSBHost.h
+
+
+Go to the documentation of this file.
1
+
45#ifndef MeUSBHost_H
+
46#define MeUSBHost_H
+
47
+
48#include <Arduino.h>
+
49#include <stdint.h>
+
50#include <stdbool.h>
+
51#include "MeConfig.h"
+
52#include "MePort.h"
+
53#include "MeSerial.h"
+
54#define USB2_0 1
+
55#define USB1_0 0
+
56
+
57#define CH375_MAX_DATA_LEN 0x40 /* max package length */
+
58
+
59 /* ********************************************************************************************************************* */
+
60 /* Commands */
+
61
+
62#define CMD_RESET_ALL 0x05 /* Reset Device */
+
63
+
64#define CMD_CHECK_EXIST 0x06 /* Chip check */
+
65 /* Input: any (ep:0x12)*/
+
66 /* Output: output inverse of input (ep:0x21) */
+
67
+
68#define CMD_SET_USB_ID 0x12 /* Device Mode: Setup the VID and PID in device mode */
+
69 /* Input: VID lower byte, VID higher byte, PID lower byte, PID higher byte */
+
70
+
71#define CMD_SET_USB_ADDR 0x13 /* Setup the usb address */
+
72 /* Input: address value */
+
73
+
74#define CMD_SET_USB_MODE 0x15 /* Setup the module work mode, with enable or disable state */
+
75 /* Input: mode */
+
76 /* 00H=Device mode disabled, 01H=Device mode enabled with external firmware, 02H=Device mode enabled with internal firmware, 03H=Device mode enabled with internal firmware and interrupt endpoint */
+
77 /* 04H=Host Mode disabled, 05H=Host Mode enabled, 06H=Host Mode enabled with SOF package, 07H=Host Mode enabled and reset USB bus */
+
78 /* Output: status( CMD_RET_SUCCESS or CMD_RET_ABORT, otherswise unfinished ) */
+
79
+
80#define CMD_SET_ENDP2 0x18 /* Device Mode: setup endpoint 0 receiver */
+
81 /* Input: Workmode */
+
82 /* Bit 7~6: 1x set sync trigger flag to x, 0x don't change the sync flag */
+
83 /* Bit3~0 token ack type: 0000-Ready ACK, 1110-Busy NAK, 1111-Error STALL */
+
84
+
85#define CMD_SET_ENDP3 0x19 /* Device Mode: setup endpoint 0 transmitter */
+
86
+
87#define CMD_SET_ENDP4 0x1A /* Device Mode: setup endpoint 1 receiver */
+
88
+
89#define CMD_SET_ENDP5 0x1B /* Device Mode: setup endpoint 1 transmitter */
+
90
+
91#define CMD_SET_ENDP6 0x1C /* Device Mode: setup endpoint 2 receiver */
+
92
+
93#define CMD_SET_ENDP7 0x1D /* Device Mode: setup endpoint 2 transmitter */
+
94
+
95
+
96#define CMD_GET_TOGGLE 0x0A /* get the out token sync state */
+
97 /* Input: 0x1A */
+
98 /* Output: sync state */
+
99 /* bit4: 1:OUT token synced, 0:OUT token unsync */
+
100
+
101#define CMD_GET_STATUS 0x22 /* Get interrupt state */
+
102 /* Output: interrupt state */
+
103
+
104#define CMD_UNLOCK_USB 0x23 /* Device Mode: release buffer */
+
105
+
106#define CMD_RD_USB_DATA 0x28 /* block read from usb device, and release buffer */
+
107 /* Output: length, data stream */
+
108
+
109#define CMD_WR_USB_DATA3 0x29 /* Device Mode: write to usb endpoint 0 */
+
110 /* Input: length, data stream */
+
111
+
112#define CMD_WR_USB_DATA5 0x2A /* Device Mode: write to usb endpoint 1 */
+
113 /* Input: length, data stream */
+
114
+
115#define CMD_WR_USB_DATA7 0x2B /* write to usb endpoint 2 */
+
116 /* Input: length, data stream */
+
117
+
118 /* ************************************************************************** */
+
119 /* Host Mode, only for CH375 */
+
120
+
121#define CMD_SET_BAUDRATE 0x02 /* Serial Mode: setup serial baudrate */
+
122 /* Input: baudrate pll divider */
+
123 /* Output: State( CMD_RET_SUCCESS or CMD_RET_ABORT, otherswise unfinished ) */
+
124
+
125#define CMD_ABORT_NAK 0x17 /* Host Mode: abort nak retry */
+
126
+
127#define CMD_SET_RETRY 0x0B /* Host Mode: setup usb token retry times */
+
128 /* Input: 0x25, setup retry times */
+
129 /* bit7=1 for infinite retry, bit3~0 retry times*/
+
130
+
131#define CMD_ISSUE_TOKEN 0x4F /* Host Mode: issue the token */
+
132 /* Input: token */
+
133 /* bit3~0:token type, bit7~4:endpoint */
+
134 /* Output interrupt state */
+
135
+
136#define CMD_CLR_STALL 0x41 /* Host Mode: clear the endpoint Error */
+
137 /* Input: endpoint index */
+
138 /* Output interrupt state */
+
139
+
140#define CMD_SET_ADDRESS 0x45 /* Host Mode: Control-setup usb address */
+
141 /* Input: address */
+
142 /* Output interrupt state */
+
143
+
144#define CMD_GET_DESCR 0x46 /* Host Mode: Control-get descriptor */
+
145 /* Input: descriptor type 0:config 1:device */
+
146 /* Output interrupt state */
+
147
+
148#define CMD_SET_CONFIG 0x49 /* Host Mode: Control-config and enable the device */
+
149 /* Input: config */
+
150 /* Output interrupt state */
+
151
+
152#define CMD_DISK_INIT 0x51 /* Host Mode: init usb storage device */
+
153 /* Output interrupt state */
+
154
+
155#define CMD_DISK_RESET 0x52 /* Host Mode: reset usb storage device */
+
156 /* Output interrupt state */
+
157
+
158#define CMD_DISK_SIZE 0x53 /* Host Mode: get the capacity of usb storage device */
+
159 /* Output interrupt state */
+
160
+
161#define CMD_DISK_READ 0x54 /* Host Mode: read from usb storage device(512byte) */
+
162 /* Input: LBA sector address(32bit, LSB), Sector(01H~FFH) */
+
163 /* Output interrupt state */
+
164
+
165#define CMD_DISK_RD_GO 0x55 /* Host Mode: continus read */
+
166 /* Output interrupt state */
+
167
+
168#define CMD_DISK_WRITE 0x56 /* Host Mode: write to usb storage device(512byte) */
+
169 /* Input: LBA sector address(32bit, LSB), Sector(01H~FFH) */
+
170 /* Output interrupt state */
+
171
+
172#define CMD_DISK_WR_GO 0x57 /* Host Mode: continus write */
+
173 /* Output interrupt state */
+
174
+
175 /* ************************************************************************** */
+
176 /* only for CH372A/CH375A */
+
177
+
178#define CMD_GET_IC_VER 0x01 /* get chip version */
+
179 /* Output: Version( bit7:1, bit6:0, bit5~0:Version ) */
+
180 /* CH375:5FH(invalid), CH375A:0A2H */
+
181
+
182#define CMD_ENTER_SLEEP 0x03 /* into sleep mode */
+
183
+
184#define CMD_RD_USB_DATA0 0x27 /* read from usb endpoint */
+
185 /* Output: length, data stream */
+
186
+
187#define CMD_DELAY_100US 0x0F /* Parallel : delay 100uS */
+
188 /* Output: 0 during delay, none zero after delay */
+
189
+
190#define CMD_CHK_SUSPEND 0x0B /* Device Mode: check usb bus hung */
+
191 /* Input: 10H, TYPE */
+
192 /* TYPE:00H=don't check usb hung, 04H=check hung every 50ms, 05H=check hung every 10ms */
+
193
+
194#define CMD_SET_SYS_FREQ 0x04 /* setup system working frequency */
+
195 /* Input: frequency */
+
196 /* 00H=12MHz, 01H=1.5MHz */
+
197
+
198 /* ************************************************************************** */
+
199 /* only for CH375A */
+
200
+
201#define CMD_TEST_CONNECT 0x16 /* Host Mode: check usb device connection */
+
202 /* Output: state( USB_INT_CONNECT of USB_INT_DISCONNECT, otherswise unfinished ) */
+
203
+
204#define CMD_AUTO_SETUP 0x4D /* Host Mode: auto setup usb device */
+
205 /* Output interrupt state */
+
206
+
207#define CMD_ISSUE_TKN_X 0x4E /* Host Mode: issue sync token */
+
208 /* Input: sync flag, token */
+
209 /* sync flag: bit7:IN endpoint sync flag, OUT endpoint sync flag, bit5~0:should be zero */
+
210 /* token:bit3~0:token type, bit7~4:endpoint */
+
211 /* Output interrupt state */
+
212
+
213
+
214 /* ********************************************************************************************************************* */
+
215 /* operate mode */
+
216
+
217#define CMD_RET_SUCCESS 0x51 /* success */
+
218#define CMD_RET_ABORT 0x5F /* fail */
+
219
+
220 /* ********************************************************************************************************************* */
+
221 /* USB interrupt state */
+
222
+
223 /* special interrupt state, only for CH372A/CH375A */
+
224#define USB_INT_USB_SUSPEND 0x05 /* usb bus susspend */
+
225#define USB_INT_WAKE_UP 0x06 /* wake up */
+
226
+
227 /* 0XH for USBDevice Mode */
+
228#define USB_INT_EP0_SETUP 0x0C /* USB ep0 SETUP */
+
229#define USB_INT_EP0_OUT 0x00 /* USB ep0 OUT */
+
230#define USB_INT_EP0_IN 0x08 /* USB ep0 IN */
+
231#define USB_INT_EP1_OUT 0x01 /* USB ep1 OUT */
+
232#define USB_INT_EP1_IN 0x09 /* USB ep1 IN */
+
233#define USB_INT_EP2_OUT 0x02 /* USB ep2 OUT */
+
234#define USB_INT_EP2_IN 0x0A /* USB ep2 IN */
+
235 /* USB_INT_BUS_RESET 0x0000XX11B */ /* USB BUS RESET */
+
236#define USB_INT_BUS_RESET1 0x03 /* USB BUS RESET */
+
237#define USB_INT_BUS_RESET2 0x07 /* USB BUS RESET */
+
238#define USB_INT_BUS_RESET3 0x0B /* USB BUS RESET */
+
239#define USB_INT_BUS_RESET4 0x0F /* USB BUS RESET */
+
240
+
241 /* 2XH-3XH fail state response, only for CH375/CH375A */
+
242 /* bit7~6 00 */
+
243 /* bit5 1 */
+
244 /* bit4 if package sync */
+
245 /* bit3~0 fail response from usb device: 0010=ACK, 1010=NAK, 1110=STALL, 0011=DATA0, 1011=DATA1, XX00=TimeOut */
+
246 /* USB_INT_RET_ACK 0x001X0010B */ /* Error:Ack to IN token */
+
247 /* USB_INT_RET_NAK 0x001X1010B */ /* Error:NAK */
+
248 /* USB_INT_RET_STALL 0x001X1110B */ /* Error:STALL */
+
249 /* USB_INT_RET_DATA0 0x001X0011B */ /* Error:DATA0 to OUT/SETUP*/
+
250 /* USB_INT_RET_DATA1 0x001X1011B */ /* Error:DATA1 to OUT/SETUP */
+
251 /* USB_INT_RET_TOUT 0x001XXX00B */ /* Error:TimeOut */
+
252 /* USB_INT_RET_TOGX 0x0010X011B */ /* Error:Unsync to IN */
+
253 /* USB_INT_RET_PID 0x001XXXXXB */ /* Error:refer to PID */
+
254
+
255 /* 0x1X control state, only for CH375/CH375A */
+
256
+
257#define USB_INT_SUCCESS 0x14 /* token successful sent */
+
258#define USB_INT_CONNECT 0x15 /* detect usb device plug in */
+
259#define USB_INT_DISCONNECT 0x16 /* detect usb device plug out */
+
260#define USB_INT_BUF_OVER 0x17 /* USB control buffer overflow */
+
261#define USB_INT_DISK_READ 0x1D /* USB storage, read request */
+
262#define USB_INT_DISK_WRITE 0x1E /* USB storage, write request */
+
263#define USB_INT_DISK_ERR 0x1F /* USB storage, fail */
+
264
+
265 /* ********************************************************************************************************************* */
+
266 /* USB package identifer PID, for host mode */
+
267#define DEF_USB_PID_NULL 0x00 /* reserve PID, not defined */
+
268#define DEF_USB_PID_SOF 0x05
+
269#define DEF_USB_PID_SETUP 0x0D
+
270#define DEF_USB_PID_IN 0x09
+
271#define DEF_USB_PID_OUT 0x01
+
272#define DEF_USB_PID_ACK 0x02
+
273#define DEF_USB_PID_NAK 0x0A
+
274#define DEF_USB_PID_STALL 0x0E
+
275#define DEF_USB_PID_DATA0 0x03
+
276#define DEF_USB_PID_DATA1 0x0B
+
277#define DEF_USB_PID_PRE 0x0C
+
278
+
279 /* USB request type, for external firmware mode */
+
280#define DEF_USB_REQ_READ 0x80 /* control read request */
+
281#define DEF_USB_REQ_WRITE 0x00 /* control write request */
+
282#define DEF_USB_REQ_TYPE 0x60 /* control type request */
+
283#define DEF_USB_REQ_STAND 0x00 /* standard request */
+
284#define DEF_USB_REQ_CLASS 0x20 /* device class request */
+
285#define DEF_USB_REQ_VENDOR 0x40 /* vendor request */
+
286#define DEF_USB_REQ_RESERVE 0x60 /* reserved request */
+
287
+
288 /* USB standard device request, RequestType bit6~5=00(Standard), for external firmware mode */
+
289#define DEF_USB_CLR_FEATURE 0x01
+
290#define DEF_USB_SET_FEATURE 0x03
+
291#define DEF_USB_GET_STATUS 0x00
+
292#define DEF_USB_SET_ADDRESS 0x05
+
293#define DEF_USB_GET_DESCR 0x06
+
294#define DEF_USB_SET_DESCR 0x07
+
295#define DEF_USB_GET_CONFIG 0x08
+
296#define DEF_USB_SET_CONFIG 0x09
+
297#define DEF_USB_GET_INTERF 0x0A
+
298#define DEF_USB_SET_INTERF 0x0B
+
299#define DEF_USB_SYNC_FRAME 0x0C
+
300
+
301//Define struct
+
302/* ********************************************************************************************************************* */
+
+ +
304 uint8_t bLength;
+
305 uint8_t bDescriptorType;
+
306 unsigned short bcdUSB;
+
307 uint8_t bDeviceClass;
+
308 uint8_t bDeviceSubClass;
+
309 uint8_t bDeviceProtocol;
+
310 uint8_t bMaxPacketSize0;
+
311 unsigned short idVendor;
+
312 unsigned short idProduct;
+
313 unsigned short bcdDevice;
+
314 uint8_t iManufacturer;
+
315 uint8_t iProduct;
+
316 uint8_t iSerialNumber;
+
317 uint8_t bNumConfigurations;
+ +
+
319
+
+ +
321 uint8_t bLength;
+
322 uint8_t bDescriptorType;
+
323 unsigned short wTotalLength;
+
324 uint8_t bNumInterfaces;
+
325 uint8_t bConfigurationvalue;
+
326 uint8_t iConfiguration;
+
327 uint8_t bmAttributes;
+
328 uint8_t MaxPower;
+ +
+
330
+
+ +
332 uint8_t bLength;
+
333 uint8_t bDescriptorType;
+
334 uint8_t bInterfaceNumber;
+
335 uint8_t bAlternateSetting;
+
336 uint8_t bNumEndpoints;
+
337 uint8_t bInterfaceClass;
+
338 uint8_t bInterfaceSubClass;
+
339 uint8_t bInterfaceProtocol;
+
340 uint8_t iInterface;
+ +
+
342
+
+ +
344 uint8_t bLength;
+
345 uint8_t bDescriptorType;
+
346 uint8_t bEndpointAddress;
+
347 uint8_t bmAttributes;
+
348 unsigned short wMaxPacketSize;
+
349 uint8_t bInterval;
+ +
+
351
+
+ +
353 USB_CFG_DESCR cfg_descr;
+
354 USB_ITF_DESCR itf_descr;
+
355 USB_ENDP_DESCR endp_descr[4];
+ +
+
357
+
+
363class MeUSBHost : public MePort
+
364{
+
365public:
+
366 bool ch375_online;
+
367 bool device_online;
+
368 bool device_ready;
+
369 uint8_t RECV_BUFFER[ CH375_MAX_DATA_LEN ];
+
370
+
377 MeUSBHost();
+
378
+
379 MeUSBHost(uint8_t s1, uint8_t s2);
+
380
+
387 MeUSBHost(uint8_t port);
+
388
+
403 void init(int8_t type);
+
404
+
419 int16_t initHIDDevice();
+
420
+
435 int16_t probeDevice();
+
436
+
451 void resetBus();
+
452
+
467 uint8_t host_recv();
+
468
+
469private:
+
470 MeSerial *HSerial;
+
471 int16_t stallCount;
+
472 int8_t usbtype;
+
473
+
488 uint8_t CH375_RD();
+
489
+
504 void CH375_WR(uint8_t c);
+
505
+
520 int16_t set_usb_mode(int16_t mode);
+
521
+
536 uint8_t getIrq();
+
537
+
552 void toggle_send();
+
553
+
568 void toggle_recv();
+
569
+
584 uint8_t issue_token( uint8_t endp_and_pid );
+
585
+
602 void wr_usb_data( uint8_t len, uint8_t *buf );
+
603
+
620 uint8_t rd_usb_data( uint8_t *buf );
+
621
+
636 int16_t get_version();
+
637
+
652 void set_freq(void);
+
653
+
668 uint8_t set_addr( uint8_t addr );
+
669
+
684 uint8_t set_config(uint8_t cfg);
+
685
+
700 uint8_t clr_stall6(void);
+
701
+
716 uint8_t get_desr(uint8_t type);
+
717};
+
+
718#endif
+
719
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
uint8_t s2
Definition MePort.h:444
+
uint8_t s1
Definition MePort.h:438
+
Driver for serial.
Definition MeSerial.h:67
+
Driver for Me USB Host module.
Definition MeUSBHost.h:364
+
MeUSBHost()
Definition MeUSBHost.cpp:77
+
void resetBus()
Definition MeUSBHost.cpp:535
+
int16_t probeDevice()
Definition MeUSBHost.cpp:693
+
void init(int8_t type)
Definition MeUSBHost.cpp:568
+
int16_t initHIDDevice()
Definition MeUSBHost.cpp:597
+
uint8_t host_recv()
Definition MeUSBHost.cpp:479
+
Definition MeUSBHost.h:352
+
Definition MeUSBHost.h:320
+
Definition MeUSBHost.h:303
+
Definition MeUSBHost.h:343
+
Definition MeUSBHost.h:331
+
+
+ + + + diff --git a/doc/html/_me_ultrasonic_sensor_8cpp.html b/doc/html/_me_ultrasonic_sensor_8cpp.html new file mode 100644 index 00000000..2a91fbc9 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8cpp.html @@ -0,0 +1,192 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUltrasonicSensor.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeUltrasonicSensor.cpp File Reference
+
+
+ +

Driver for Me ultrasonic sensor device. +More...

+
+Include dependency graph for MeUltrasonicSensor.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me ultrasonic sensor device.

+
Author
MakeBlock
+
Version
V1.0.2
+
Date
2016/06/25
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me ultrasonic sensor device, It supports ultrasonic sensor V3.0 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeUltrasonicSensor::setpin(uint8_t SignalPin)
  2. +
  3. double MeUltrasonicSensor::distanceCm(uint16_t MAXcm)
  4. +
  5. double MeUltrasonicSensor::distanceInch(uint16_t MAXinch)
  6. +
  7. long MeUltrasonicSensor::measure(unsigned long timeout)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+Mark Yan         2015/11/16     1.0.1            Increase 100us delay, avoid ultrasonic read exception.
+Mark Yan         2016/06/25     1.0.2            Modify Read mechanism of ultrasonic waves.
+Vincent He       2019/03/28     1.0.3            Fix the bug that ultrasonic module ranging can only measure the maximum of 376cm.
+
+
+
+ + + + diff --git a/doc/html/_me_ultrasonic_sensor_8cpp__incl.map b/doc/html/_me_ultrasonic_sensor_8cpp__incl.map new file mode 100644 index 00000000..137b4285 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8cpp__incl.map @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_ultrasonic_sensor_8cpp__incl.md5 b/doc/html/_me_ultrasonic_sensor_8cpp__incl.md5 new file mode 100644 index 00000000..bb61949b --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8cpp__incl.md5 @@ -0,0 +1 @@ +306089516edcbe724af62255a648496f \ No newline at end of file diff --git a/doc/html/_me_ultrasonic_sensor_8cpp__incl.png b/doc/html/_me_ultrasonic_sensor_8cpp__incl.png new file mode 100644 index 00000000..4c173bde Binary files /dev/null and b/doc/html/_me_ultrasonic_sensor_8cpp__incl.png differ diff --git a/doc/html/_me_ultrasonic_sensor_8h.html b/doc/html/_me_ultrasonic_sensor_8h.html new file mode 100644 index 00000000..e5337f04 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h.html @@ -0,0 +1,236 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUltrasonicSensor.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeUltrasonicSensor.h File Reference
+
+
+ +

Header for for MeUltrasonicSensor.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MePort.h"
+
+Include dependency graph for MeUltrasonicSensor.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeUltrasonicSensor
 Driver for Me ultrasonic sensor device. More...
 
+

Detailed Description

+

Header for for MeUltrasonicSensor.cpp module.

+
Author
MakeBlock
+
Version
V1.0.1
+
Date
2016/06/25
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Copyright
This software is Copyright (C), 2012-2015, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me ultrasonic sensor device, It supports ultrasonic sensor V3.0 provided by the MakeBlock.
+
Method List:
+
    +
  1. void MeUltrasonicSensor::setpin(uint8_t SignalPin)
  2. +
  3. double MeUltrasonicSensor::distanceCm(uint16_t MAXcm)
  4. +
  5. double MeUltrasonicSensor::distanceInch(uint16_t MAXinch)
  6. +
  7. long MeUltrasonicSensor::measure(unsigned long timeout)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/04     1.0.0            Rebuild the old lib.
+Mark Yan         2016/06/25     1.0.2            Modify Read mechanism of ultrasonic waves.
+
+
+
+ + + + diff --git a/doc/html/_me_ultrasonic_sensor_8h.js b/doc/html/_me_ultrasonic_sensor_8h.js new file mode 100644 index 00000000..70a37116 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h.js @@ -0,0 +1,4 @@ +var _me_ultrasonic_sensor_8h = +[ + [ "MeUltrasonicSensor", "class_me_ultrasonic_sensor.html", "class_me_ultrasonic_sensor" ] +]; \ No newline at end of file diff --git a/doc/html/_me_ultrasonic_sensor_8h__dep__incl.map b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.map new file mode 100644 index 00000000..ff9225dc --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_ultrasonic_sensor_8h__dep__incl.md5 b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.md5 new file mode 100644 index 00000000..81ae87d0 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.md5 @@ -0,0 +1 @@ +07d531ba56ec2107108e16ebcc7f5899 \ No newline at end of file diff --git a/doc/html/_me_ultrasonic_sensor_8h__dep__incl.png b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.png new file mode 100644 index 00000000..ee04eb29 Binary files /dev/null and b/doc/html/_me_ultrasonic_sensor_8h__dep__incl.png differ diff --git a/doc/html/_me_ultrasonic_sensor_8h__incl.map b/doc/html/_me_ultrasonic_sensor_8h__incl.map new file mode 100644 index 00000000..7fa3ab2e --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h__incl.map @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_ultrasonic_sensor_8h__incl.md5 b/doc/html/_me_ultrasonic_sensor_8h__incl.md5 new file mode 100644 index 00000000..b17e5e8e --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h__incl.md5 @@ -0,0 +1 @@ +1772f45386ec0f809a8d581d065a19ea \ No newline at end of file diff --git a/doc/html/_me_ultrasonic_sensor_8h__incl.png b/doc/html/_me_ultrasonic_sensor_8h__incl.png new file mode 100644 index 00000000..1e4e1c15 Binary files /dev/null and b/doc/html/_me_ultrasonic_sensor_8h__incl.png differ diff --git a/doc/html/_me_ultrasonic_sensor_8h_source.html b/doc/html/_me_ultrasonic_sensor_8h_source.html new file mode 100644 index 00000000..4080a829 --- /dev/null +++ b/doc/html/_me_ultrasonic_sensor_8h_source.html @@ -0,0 +1,166 @@ + + + + + + + +MakeBlock Drive Updated: src/MeUltrasonicSensor.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeUltrasonicSensor.h
+
+
+Go to the documentation of this file.
1
+
53#ifndef MeUltrasonicSensor_H
+
54#define MeUltrasonicSensor_H
+
55
+
56#include <stdint.h>
+
57#include <stdbool.h>
+
58#include <Arduino.h>
+
59#include "MeConfig.h"
+
60
+
61#ifdef ME_PORT_DEFINED
+
62#include "MePort.h"
+
63#endif // ME_PORT_DEFINED
+
64
+
70#ifndef ME_PORT_DEFINED
+ +
72#else // !ME_PORT_DEFINED
+
+ +
74#endif // !ME_PORT_DEFINED
+
75{
+
76public:
+
77#ifdef ME_PORT_DEFINED
+ +
85
+
91 MeUltrasonicSensor(uint8_t port);
+
92#else // ME_PORT_DEFINED
+
99 MeUltrasonicSensor(uint8_t port);
+
100#endif // ME_PORT_DEFINED
+
101
+
116 void setpin(uint8_t SignalPin);
+
117
+
132 double distanceCm(uint16_t = 400);
+
133
+
148 double distanceInch(uint16_t = 180);
+
149
+
165 long measure(unsigned long = 30000);
+
166private:
+
167 volatile uint8_t _SignalPin;
+
168 volatile bool _measureFlag;
+
169 volatile long _lastEnterTime;
+
170 volatile float _measureValue;
+
171};
+
+
172
+
173#endif
+
174
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Port Mapping for RJ25.
Definition MePort.h:128
+
Driver for Me ultrasonic sensor device.
Definition MeUltrasonicSensor.h:75
+
double distanceInch(uint16_t=180)
Definition MeUltrasonicSensor.cpp:151
+
MeUltrasonicSensor(void)
Definition MeUltrasonicSensor.cpp:54
+
double distanceCm(uint16_t=400)
Definition MeUltrasonicSensor.cpp:123
+
long measure(unsigned long=30000)
Definition MeUltrasonicSensor.cpp:180
+
void setpin(uint8_t SignalPin)
Definition MeUltrasonicSensor.cpp:98
+
+
+ + + + diff --git a/doc/html/_me_voice_8cpp.html b/doc/html/_me_voice_8cpp.html new file mode 100644 index 00000000..ca969d21 --- /dev/null +++ b/doc/html/_me_voice_8cpp.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: src/MeVoice.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeVoice.cpp File Reference
+
+
+ +

Driver for Me voice device. +More...

+
#include "MeVoice.h"
+
+Include dependency graph for MeVoice.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me voice device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/12/15
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
Description: this file is a drive for Me voice device, It supports The voice device provided by the MakeBlock company.
+
Method List:
+
    +
  1. void MeVoice::begin(long speed)
  2. +
  3. int16_t MeVoice::read(void)
  4. +
  5. uint8_t MeVoice::getCode(void)
  6. +
  7. void MeVoice::loop(void)
  8. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/12/15     1.0.0            Build the new.
+
+
+
+ + + + diff --git a/doc/html/_me_voice_8cpp__incl.map b/doc/html/_me_voice_8cpp__incl.map new file mode 100644 index 00000000..43915d3d --- /dev/null +++ b/doc/html/_me_voice_8cpp__incl.map @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_voice_8cpp__incl.md5 b/doc/html/_me_voice_8cpp__incl.md5 new file mode 100644 index 00000000..8586d243 --- /dev/null +++ b/doc/html/_me_voice_8cpp__incl.md5 @@ -0,0 +1 @@ +65048f716d9b8f326e9b2a4af092edeb \ No newline at end of file diff --git a/doc/html/_me_voice_8cpp__incl.png b/doc/html/_me_voice_8cpp__incl.png new file mode 100644 index 00000000..593dd81e Binary files /dev/null and b/doc/html/_me_voice_8cpp__incl.png differ diff --git a/doc/html/_me_voice_8h.html b/doc/html/_me_voice_8h.html new file mode 100644 index 00000000..46e9c6c0 --- /dev/null +++ b/doc/html/_me_voice_8h.html @@ -0,0 +1,244 @@ + + + + + + + +MakeBlock Drive Updated: src/MeVoice.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeVoice.h File Reference
+
+
+ +

Header for for MeVoice.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MeVoice.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeVoice
 Driver for Me voice device. More...
 
+ + + + + + + + + + + + + +

+Macros

+#define CMD_FORWARD   (11)
 
+#define CMD_BACK   (13)
 
+#define CMD_LEFT   (7)
 
+#define CMD_RIGHT   (9)
 
+#define CMD_DIS_ON   (3)
 
+#define CMD_DIS_OFF   (5)
 
+

Detailed Description

+

Header for for MeVoice.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Description
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+

Description: this file is a drive for Me voice device, It supports the voice device provided by the MakeBlock company.

+
Method List:
+
    +
  1. void MeVoice::begin(long speed)
  2. +
  3. int16_t MeVoice::read(void)
  4. +
  5. bool MeVoice::buttonState(void)
  6. +
  7. uint8_t MeVoice::getCode(void)
  8. +
  9. void MeVoice::loop(void)
  10. +
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/12/15     1.0.0            Bulid the new .
+
+
+
+ + + + diff --git a/doc/html/_me_voice_8h.js b/doc/html/_me_voice_8h.js new file mode 100644 index 00000000..4897eb41 --- /dev/null +++ b/doc/html/_me_voice_8h.js @@ -0,0 +1,4 @@ +var _me_voice_8h = +[ + [ "MeVoice", "class_me_voice.html", "class_me_voice" ] +]; \ No newline at end of file diff --git a/doc/html/_me_voice_8h__dep__incl.map b/doc/html/_me_voice_8h__dep__incl.map new file mode 100644 index 00000000..26302e3d --- /dev/null +++ b/doc/html/_me_voice_8h__dep__incl.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/_me_voice_8h__dep__incl.md5 b/doc/html/_me_voice_8h__dep__incl.md5 new file mode 100644 index 00000000..6c736f14 --- /dev/null +++ b/doc/html/_me_voice_8h__dep__incl.md5 @@ -0,0 +1 @@ +7584ae2bd659ba6c83cce63a806047bf \ No newline at end of file diff --git a/doc/html/_me_voice_8h__dep__incl.png b/doc/html/_me_voice_8h__dep__incl.png new file mode 100644 index 00000000..7b97982d Binary files /dev/null and b/doc/html/_me_voice_8h__dep__incl.png differ diff --git a/doc/html/_me_voice_8h__incl.map b/doc/html/_me_voice_8h__incl.map new file mode 100644 index 00000000..ab8a455c --- /dev/null +++ b/doc/html/_me_voice_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_voice_8h__incl.md5 b/doc/html/_me_voice_8h__incl.md5 new file mode 100644 index 00000000..ccc2b715 --- /dev/null +++ b/doc/html/_me_voice_8h__incl.md5 @@ -0,0 +1 @@ +4d012d253e8b3ca1c2f631e04b672a8d \ No newline at end of file diff --git a/doc/html/_me_voice_8h__incl.png b/doc/html/_me_voice_8h__incl.png new file mode 100644 index 00000000..69ba9d94 Binary files /dev/null and b/doc/html/_me_voice_8h__incl.png differ diff --git a/doc/html/_me_voice_8h_source.html b/doc/html/_me_voice_8h_source.html new file mode 100644 index 00000000..a0130397 --- /dev/null +++ b/doc/html/_me_voice_8h_source.html @@ -0,0 +1,176 @@ + + + + + + + +MakeBlock Drive Updated: src/MeVoice.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeVoice.h
+
+
+Go to the documentation of this file.
1
+
43#ifndef MeVoice_H
+
44#define MeVoice_H
+
45
+
46#include <stdint.h>
+
47#include <stdbool.h>
+
48#include <Arduino.h>
+
49#include "MeConfig.h"
+
50#include "MeSerial.h"
+
51
+
52/* NEC Code table */
+
53#define CMD_FORWARD (11)
+
54#define CMD_BACK (13)
+
55#define CMD_LEFT (7)
+
56#define CMD_RIGHT (9)
+
57#define CMD_DIS_ON (3)
+
58#define CMD_DIS_OFF (5)
+
59
+
60#ifdef ME_PORT_DEFINED
+
61#include "MePort.h"
+
62#endif /* ME_PORT_DEFINED */
+
63
+
69#ifndef ME_PORT_DEFINED
+
70class MeVoice
+
71#else // !ME_PORT_DEFINED
+
+
72class MeVoice : public MeSerial
+
73#endif // !ME_PORT_DEFINED
+
74{
+
75public:
+
76#ifdef ME_PORT_DEFINED
+
83 MeVoice(void);
+
84
+
91 MeVoice(uint8_t port);
+
92#else // ME_PORT_DEFINED
+
103 MeVoice(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
104#endif // ME_PORT_DEFINED
+
105
+
119 void begin(long = 9600);
+
120
+
135 int16_t read(void);
+
136
+
149 uint8_t getCode(void);
+
150
+
163 void loop(void);
+
164private:
+
165 static volatile uint8_t _RxPin;
+
166 static volatile uint8_t _TxPin;
+
167 static volatile unsigned long last_time;
+
168 uint8_t _irCode;
+
169};
+
+
170
+
171#endif
+
172
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for serial.
Definition MeSerial.h:67
+
Driver for Me voice device.
Definition MeVoice.h:74
+
uint8_t getCode(void)
Definition MeVoice.cpp:148
+
void begin(long=9600)
Definition MeVoice.cpp:102
+
int16_t read(void)
Definition MeVoice.cpp:128
+
void loop(void)
Definition MeVoice.cpp:165
+
MeVoice(void)
Definition MeVoice.cpp:55
+
+
+ + + + diff --git a/doc/html/_me_voice_test_8ino-example.html b/doc/html/_me_voice_test_8ino-example.html new file mode 100644 index 00000000..948fe76a --- /dev/null +++ b/doc/html/_me_voice_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeVoiceTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeVoiceTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_me_wifi_8cpp.html b/doc/html/_me_wifi_8cpp.html new file mode 100644 index 00000000..8ed8ef8b --- /dev/null +++ b/doc/html/_me_wifi_8cpp.html @@ -0,0 +1,192 @@ + + + + + + + +MakeBlock Drive Updated: src/MeWifi.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeWifi.cpp File Reference
+
+
+ +

Driver for Me wifi device. +More...

+
#include "MeWifi.h"
+#include "MeSerial.h"
+
+Include dependency graph for MeWifi.cpp:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Detailed Description

+

Driver for Me wifi device.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me wifi device, The wifi inherited the MeSerial class from SoftwareSerial.
+
Method List:
inherited from MeSerial
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_wifi_8cpp__incl.map b/doc/html/_me_wifi_8cpp__incl.map new file mode 100644 index 00000000..1c9a50d9 --- /dev/null +++ b/doc/html/_me_wifi_8cpp__incl.map @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_wifi_8cpp__incl.md5 b/doc/html/_me_wifi_8cpp__incl.md5 new file mode 100644 index 00000000..adcb0502 --- /dev/null +++ b/doc/html/_me_wifi_8cpp__incl.md5 @@ -0,0 +1 @@ +e973cfd860cdb1a49fd7607e3fde0d5d \ No newline at end of file diff --git a/doc/html/_me_wifi_8cpp__incl.png b/doc/html/_me_wifi_8cpp__incl.png new file mode 100644 index 00000000..a84111e6 Binary files /dev/null and b/doc/html/_me_wifi_8cpp__incl.png differ diff --git a/doc/html/_me_wifi_8h.html b/doc/html/_me_wifi_8h.html new file mode 100644 index 00000000..38c0f709 --- /dev/null +++ b/doc/html/_me_wifi_8h.html @@ -0,0 +1,228 @@ + + + + + + + +MakeBlock Drive Updated: src/MeWifi.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeWifi.h File Reference
+
+
+ +

Header for for MeWifi.cpp module. +More...

+
#include <stdint.h>
+#include <stdbool.h>
+#include <Arduino.h>
+#include "MeConfig.h"
+#include "MeSerial.h"
+#include "MePort.h"
+
+Include dependency graph for MeWifi.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  MeWifi
 Driver for Me wifi device. More...
 
+

Detailed Description

+

Header for for MeWifi.cpp module.

+
Author
MakeBlock
+
Version
V1.0.0
+
Date
2015/09/09
+
Copyright
This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+
+
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
Description
This file is a drive for Me wifi device, The wifi inherited the MeSerial class from SoftwareSerial.
+
Method List:
inherited from MeSerial
+
History:
+`<Author>`         `<Time>`        `<Version>`        `<Descr>`
+Mark Yan         2015/09/09     1.0.0            Rebuild the old lib.
+
+
+
+ + + + diff --git a/doc/html/_me_wifi_8h.js b/doc/html/_me_wifi_8h.js new file mode 100644 index 00000000..ba829504 --- /dev/null +++ b/doc/html/_me_wifi_8h.js @@ -0,0 +1,4 @@ +var _me_wifi_8h = +[ + [ "MeWifi", "class_me_wifi.html", "class_me_wifi" ] +]; \ No newline at end of file diff --git a/doc/html/_me_wifi_8h__dep__incl.map b/doc/html/_me_wifi_8h__dep__incl.map new file mode 100644 index 00000000..ac5f9c54 --- /dev/null +++ b/doc/html/_me_wifi_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_wifi_8h__dep__incl.md5 b/doc/html/_me_wifi_8h__dep__incl.md5 new file mode 100644 index 00000000..b38c06e7 --- /dev/null +++ b/doc/html/_me_wifi_8h__dep__incl.md5 @@ -0,0 +1 @@ +5bfe8f6b98604e9e809e3fc07833fbcf \ No newline at end of file diff --git a/doc/html/_me_wifi_8h__dep__incl.png b/doc/html/_me_wifi_8h__dep__incl.png new file mode 100644 index 00000000..ae1036cb Binary files /dev/null and b/doc/html/_me_wifi_8h__dep__incl.png differ diff --git a/doc/html/_me_wifi_8h__incl.map b/doc/html/_me_wifi_8h__incl.map new file mode 100644 index 00000000..6a6b80cc --- /dev/null +++ b/doc/html/_me_wifi_8h__incl.map @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/_me_wifi_8h__incl.md5 b/doc/html/_me_wifi_8h__incl.md5 new file mode 100644 index 00000000..9364bc6a --- /dev/null +++ b/doc/html/_me_wifi_8h__incl.md5 @@ -0,0 +1 @@ +96b37afdd01dfb41a6be19950f872348 \ No newline at end of file diff --git a/doc/html/_me_wifi_8h__incl.png b/doc/html/_me_wifi_8h__incl.png new file mode 100644 index 00000000..c3348a30 Binary files /dev/null and b/doc/html/_me_wifi_8h__incl.png differ diff --git a/doc/html/_me_wifi_8h_source.html b/doc/html/_me_wifi_8h_source.html new file mode 100644 index 00000000..631522b8 --- /dev/null +++ b/doc/html/_me_wifi_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +MakeBlock Drive Updated: src/MeWifi.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeWifi.h
+
+
+Go to the documentation of this file.
1
+
38#ifndef MeWifi_H
+
39#define MeWifi_H
+
40
+
41#include <stdint.h>
+
42#include <stdbool.h>
+
43#include <Arduino.h>
+
44#include "MeConfig.h"
+
45#include "MeSerial.h"
+
46
+
47#ifdef ME_PORT_DEFINED
+
48#include "MePort.h"
+
49#endif /* ME_PORT_DEFINED */
+
50
+
56#ifndef ME_PORT_DEFINED
+
57class MeWifi
+
58#else /* !ME_PORT_DEFINED */
+
+
59class MeWifi : public MeSerial
+
60#endif /* !ME_PORT_DEFINED */
+
61{
+
62public:
+
63#ifdef ME_PORT_DEFINED
+
70 MeWifi();
+
71
+
78 MeWifi(uint8_t port);
+
79#else // ME_PORT_DEFINED
+
90 MeWifi(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic);
+
91#endif // ME_PORT_DEFINED
+
92};
+
+
93#endif
+
94
+
Configuration file of library.
+
Header for MePort.cpp module.
+
Header for for MeSerial.cpp module.
+
Driver for serial.
Definition MeSerial.h:67
+
Driver for Me wifi device.
Definition MeWifi.h:61
+
MeWifi()
Definition MeWifi.cpp:49
+
+
+ + + + diff --git a/doc/html/_me_wifi_8ino-example.html b/doc/html/_me_wifi_8ino-example.html new file mode 100644 index 00000000..5e73239b --- /dev/null +++ b/doc/html/_me_wifi_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MeWifi.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeWifi.ino
+
+
+
+
+ + + + diff --git a/doc/html/_mega_pi_on_board_stepper_test_8ino-example.html b/doc/html/_mega_pi_on_board_stepper_test_8ino-example.html new file mode 100644 index 00000000..fa3e47cf --- /dev/null +++ b/doc/html/_mega_pi_on_board_stepper_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: MegaPiOnBoardStepperTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MegaPiOnBoardStepperTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_number_display_8ino-example.html b/doc/html/_number_display_8ino-example.html new file mode 100644 index 00000000..d48c59ab --- /dev/null +++ b/doc/html/_number_display_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: NumberDisplay.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NumberDisplay.ino
+
+
+
+
+ + + + diff --git a/doc/html/_number_flow_8ino-example.html b/doc/html/_number_flow_8ino-example.html new file mode 100644 index 00000000..d2d5882a --- /dev/null +++ b/doc/html/_number_flow_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: NumberFlow.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NumberFlow.ino
+
+
+
+
+ + + + diff --git a/doc/html/_p_i_r_motion_sensor_test_8ino-example.html b/doc/html/_p_i_r_motion_sensor_test_8ino-example.html new file mode 100644 index 00000000..c8829001 --- /dev/null +++ b/doc/html/_p_i_r_motion_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: PIRMotionSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PIRMotionSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_pm25_sensor_8ino-example.html b/doc/html/_pm25_sensor_8ino-example.html new file mode 100644 index 00000000..b5cbca44 --- /dev/null +++ b/doc/html/_pm25_sensor_8ino-example.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: Pm25Sensor.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Pm25Sensor.ino
+
+
+

@Orion PORT3 PORT4 PORT5

+
+
+ + + + diff --git a/doc/html/_potentiometer_test_8ino-example.html b/doc/html/_potentiometer_test_8ino-example.html new file mode 100644 index 00000000..aaeb95b6 --- /dev/null +++ b/doc/html/_potentiometer_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: PotentiometerTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
PotentiometerTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_s_p_i_8h_source.html b/doc/html/_s_p_i_8h_source.html new file mode 100644 index 00000000..af36dabf --- /dev/null +++ b/doc/html/_s_p_i_8h_source.html @@ -0,0 +1,441 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/SPI.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SPI.h
+
+
+
1/*
+
2 * Copyright (c) 2010 by Cristian Maglie <c.maglie@arduino.cc>
+
3 * Copyright (c) 2014 by Paul Stoffregen <paul@pjrc.com> (Transaction API)
+
4 * Copyright (c) 2014 by Matthijs Kooijman <matthijs@stdin.nl> (SPISettings AVR)
+
5 * Copyright (c) 2014 by Andrew J. Kroll <xxxajk@gmail.com> (atomicity fixes)
+
6 * SPI Master library for arduino.
+
7 *
+
8 * This file is free software; you can redistribute it and/or modify
+
9 * it under the terms of either the GNU General Public License version 2
+
10 * or the GNU Lesser General Public License version 2.1, both as
+
11 * published by the Free Software Foundation.
+
12 */
+
13
+
14#ifndef _SPI_H_INCLUDED
+
15#define _SPI_H_INCLUDED
+
16
+
17#include <Arduino.h>
+
18
+
19// SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(),
+
20// usingInterrupt(), and SPISetting(clock, bitOrder, dataMode)
+
21#define SPI_HAS_TRANSACTION 1
+
22
+
23// SPI_HAS_NOTUSINGINTERRUPT means that SPI has notUsingInterrupt() method
+
24#define SPI_HAS_NOTUSINGINTERRUPT 1
+
25
+
26// SPI_ATOMIC_VERSION means that SPI has atomicity fixes and what version.
+
27// This way when there is a bug fix you can check this define to alert users
+
28// of your code if it uses better version of this library.
+
29// This also implies everything that SPI_HAS_TRANSACTION as documented above is
+
30// available too.
+
31#define SPI_ATOMIC_VERSION 1
+
32
+
33// Uncomment this line to add detection of mismatched begin/end transactions.
+
34// A mismatch occurs if other libraries fail to use SPI.endTransaction() for
+
35// each SPI.beginTransaction(). Connect an LED to this pin. The LED will turn
+
36// on if any mismatch is ever detected.
+
37//#define SPI_TRANSACTION_MISMATCH_LED 5
+
38
+
39#ifndef LSBFIRST
+
40#define LSBFIRST 0
+
41#endif
+
42#ifndef MSBFIRST
+
43#define MSBFIRST 1
+
44#endif
+
45
+
46#define SPI_CLOCK_DIV4 0x00
+
47#define SPI_CLOCK_DIV16 0x01
+
48#define SPI_CLOCK_DIV64 0x02
+
49#define SPI_CLOCK_DIV128 0x03
+
50#define SPI_CLOCK_DIV2 0x04
+
51#define SPI_CLOCK_DIV8 0x05
+
52#define SPI_CLOCK_DIV32 0x06
+
53
+
54#define SPI_MODE0 0x00
+
55#define SPI_MODE1 0x04
+
56#define SPI_MODE2 0x08
+
57#define SPI_MODE3 0x0C
+
58
+
59#define SPI_MODE_MASK 0x0C // CPOL = bit 3, CPHA = bit 2 on SPCR
+
60#define SPI_CLOCK_MASK 0x03 // SPR1 = bit 1, SPR0 = bit 0 on SPCR
+
61#define SPI_2XCLOCK_MASK 0x01 // SPI2X = bit 0 on SPSR
+
62
+
63// define SPI_AVR_EIMSK for AVR boards with external interrupt pins
+
64#if defined(EIMSK)
+
65 #define SPI_AVR_EIMSK EIMSK
+
66#elif defined(GICR)
+
67 #define SPI_AVR_EIMSK GICR
+
68#elif defined(GIMSK)
+
69 #define SPI_AVR_EIMSK GIMSK
+
70#endif
+
71
+
+ +
73public:
+
74 SPISettings(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) {
+
75 if (__builtin_constant_p(clock)) {
+
76 init_AlwaysInline(clock, bitOrder, dataMode);
+
77 } else {
+
78 init_MightInline(clock, bitOrder, dataMode);
+
79 }
+
80 }
+
81 SPISettings() {
+
82 init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0);
+
83 }
+
84private:
+
85 void init_MightInline(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) {
+
86 init_AlwaysInline(clock, bitOrder, dataMode);
+
87 }
+
88 void init_AlwaysInline(uint32_t clock, uint8_t bitOrder, uint8_t dataMode)
+
89 __attribute__((__always_inline__)) {
+
90 // Clock settings are defined as follows. Note that this shows SPI2X
+
91 // inverted, so the bits form increasing numbers. Also note that
+
92 // fosc/64 appears twice
+
93 // SPR1 SPR0 ~SPI2X Freq
+
94 // 0 0 0 fosc/2
+
95 // 0 0 1 fosc/4
+
96 // 0 1 0 fosc/8
+
97 // 0 1 1 fosc/16
+
98 // 1 0 0 fosc/32
+
99 // 1 0 1 fosc/64
+
100 // 1 1 0 fosc/64
+
101 // 1 1 1 fosc/128
+
102
+
103 // We find the fastest clock that is less than or equal to the
+
104 // given clock rate. The clock divider that results in clock_setting
+
105 // is 2 ^^ (clock_div + 1). If nothing is slow enough, we'll use the
+
106 // slowest (128 == 2 ^^ 7, so clock_div = 6).
+
107 uint8_t clockDiv;
+
108
+
109 // When the clock is known at compiletime, use this if-then-else
+
110 // cascade, which the compiler knows how to completely optimize
+
111 // away. When clock is not known, use a loop instead, which generates
+
112 // shorter code.
+
113 if (__builtin_constant_p(clock)) {
+
114 if (clock >= F_CPU / 2) {
+
115 clockDiv = 0;
+
116 } else if (clock >= F_CPU / 4) {
+
117 clockDiv = 1;
+
118 } else if (clock >= F_CPU / 8) {
+
119 clockDiv = 2;
+
120 } else if (clock >= F_CPU / 16) {
+
121 clockDiv = 3;
+
122 } else if (clock >= F_CPU / 32) {
+
123 clockDiv = 4;
+
124 } else if (clock >= F_CPU / 64) {
+
125 clockDiv = 5;
+
126 } else {
+
127 clockDiv = 6;
+
128 }
+
129 } else {
+
130 uint32_t clockSetting = F_CPU / 2;
+
131 clockDiv = 0;
+
132 while (clockDiv < 6 && clock < clockSetting) {
+
133 clockSetting /= 2;
+
134 clockDiv++;
+
135 }
+
136 }
+
137
+
138 // Compensate for the duplicate fosc/64
+
139 if (clockDiv == 6)
+
140 clockDiv = 7;
+
141
+
142 // Invert the SPI2X bit
+
143 clockDiv ^= 0x1;
+
144
+
145 // Pack into the SPISettings class
+
146 spcr = _BV(SPE) | _BV(MSTR) | ((bitOrder == LSBFIRST) ? _BV(DORD) : 0) |
+
147 (dataMode & SPI_MODE_MASK) | ((clockDiv >> 1) & SPI_CLOCK_MASK);
+
148 spsr = clockDiv & SPI_2XCLOCK_MASK;
+
149 }
+
150 uint8_t spcr;
+
151 uint8_t spsr;
+
152 friend class SPIClass;
+
153};
+
+
154
+
155
+
+
156class SPIClass {
+
157public:
+
158 // Initialize the SPI library
+
159 static void begin();
+
160
+
161 // If SPI is used from within an interrupt, this function registers
+
162 // that interrupt with the SPI library, so beginTransaction() can
+
163 // prevent conflicts. The input interruptNumber is the number used
+
164 // with attachInterrupt. If SPI is used from a different interrupt
+
165 // (eg, a timer), interruptNumber should be 255.
+
166 static void usingInterrupt(uint8_t interruptNumber);
+
167 // And this does the opposite.
+
168 static void notUsingInterrupt(uint8_t interruptNumber);
+
169 // Note: the usingInterrupt and notUsingInterrupt functions should
+
170 // not to be called from ISR context or inside a transaction.
+
171 // For details see:
+
172 // https://github.com/arduino/Arduino/pull/2381
+
173 // https://github.com/arduino/Arduino/pull/2449
+
174
+
175 // Before using SPI.transfer() or asserting chip select pins,
+
176 // this function is used to gain exclusive access to the SPI bus
+
177 // and configure the correct settings.
+
178 inline static void beginTransaction(SPISettings settings) {
+
179 if (interruptMode > 0) {
+
180 uint8_t sreg = SREG;
+
181 noInterrupts();
+
182
+
183 #ifdef SPI_AVR_EIMSK
+
184 if (interruptMode == 1) {
+
185 interruptSave = SPI_AVR_EIMSK;
+
186 SPI_AVR_EIMSK &= ~interruptMask;
+
187 SREG = sreg;
+
188 } else
+
189 #endif
+
190 {
+
191 interruptSave = sreg;
+
192 }
+
193 }
+
194
+
195 #ifdef SPI_TRANSACTION_MISMATCH_LED
+
196 if (inTransactionFlag) {
+
197 pinMode(SPI_TRANSACTION_MISMATCH_LED, OUTPUT);
+
198 digitalWrite(SPI_TRANSACTION_MISMATCH_LED, HIGH);
+
199 }
+
200 inTransactionFlag = 1;
+
201 #endif
+
202
+
203 SPCR = settings.spcr;
+
204 SPSR = settings.spsr;
+
205 }
+
206
+
207 // Write to the SPI bus (MOSI pin) and also receive (MISO pin)
+
208 inline static uint8_t transfer(uint8_t data) {
+
209 SPDR = data;
+
210 /*
+
211 * The following NOP introduces a small delay that can prevent the wait
+
212 * loop form iterating when running at the maximum speed. This gives
+
213 * about 10% more speed, even if it seems counter-intuitive. At lower
+
214 * speeds it is unnoticed.
+
215 */
+
216 asm volatile("nop");
+
217 while (!(SPSR & _BV(SPIF))) ; // wait
+
218 return SPDR;
+
219 }
+
220 inline static uint16_t transfer16(uint16_t data) {
+
221 union { uint16_t val; struct { uint8_t lsb; uint8_t msb; }; } in, out;
+
222 in.val = data;
+
223 if (!(SPCR & _BV(DORD))) {
+
224 SPDR = in.msb;
+
225 asm volatile("nop"); // See transfer(uint8_t) function
+
226 while (!(SPSR & _BV(SPIF))) ;
+
227 out.msb = SPDR;
+
228 SPDR = in.lsb;
+
229 asm volatile("nop");
+
230 while (!(SPSR & _BV(SPIF))) ;
+
231 out.lsb = SPDR;
+
232 } else {
+
233 SPDR = in.lsb;
+
234 asm volatile("nop");
+
235 while (!(SPSR & _BV(SPIF))) ;
+
236 out.lsb = SPDR;
+
237 SPDR = in.msb;
+
238 asm volatile("nop");
+
239 while (!(SPSR & _BV(SPIF))) ;
+
240 out.msb = SPDR;
+
241 }
+
242 return out.val;
+
243 }
+
244 inline static void transfer(void *buf, size_t count) {
+
245 if (count == 0) return;
+
246 uint8_t *p = (uint8_t *)buf;
+
247 SPDR = *p;
+
248 while (--count > 0) {
+
249 uint8_t out = *(p + 1);
+
250 while (!(SPSR & _BV(SPIF))) ;
+
251 uint8_t in = SPDR;
+
252 SPDR = out;
+
253 *p++ = in;
+
254 }
+
255 while (!(SPSR & _BV(SPIF))) ;
+
256 *p = SPDR;
+
257 }
+
258 // After performing a group of transfers and releasing the chip select
+
259 // signal, this function allows others to access the SPI bus
+
260 inline static void endTransaction(void) {
+
261 #ifdef SPI_TRANSACTION_MISMATCH_LED
+
262 if (!inTransactionFlag) {
+
263 pinMode(SPI_TRANSACTION_MISMATCH_LED, OUTPUT);
+
264 digitalWrite(SPI_TRANSACTION_MISMATCH_LED, HIGH);
+
265 }
+
266 inTransactionFlag = 0;
+
267 #endif
+
268
+
269 if (interruptMode > 0) {
+
270 #ifdef SPI_AVR_EIMSK
+
271 uint8_t sreg = SREG;
+
272 #endif
+
273 noInterrupts();
+
274 #ifdef SPI_AVR_EIMSK
+
275 if (interruptMode == 1) {
+
276 SPI_AVR_EIMSK = interruptSave;
+
277 SREG = sreg;
+
278 } else
+
279 #endif
+
280 {
+
281 SREG = interruptSave;
+
282 }
+
283 }
+
284 }
+
285
+
286 // Disable the SPI bus
+
287 static void end();
+
288
+
289 // This function is deprecated. New applications should use
+
290 // beginTransaction() to configure SPI settings.
+
291 inline static void setBitOrder(uint8_t bitOrder) {
+
292 if (bitOrder == LSBFIRST) SPCR |= _BV(DORD);
+
293 else SPCR &= ~(_BV(DORD));
+
294 }
+
295 // This function is deprecated. New applications should use
+
296 // beginTransaction() to configure SPI settings.
+
297 inline static void setDataMode(uint8_t dataMode) {
+
298 SPCR = (SPCR & ~SPI_MODE_MASK) | dataMode;
+
299 }
+
300 // This function is deprecated. New applications should use
+
301 // beginTransaction() to configure SPI settings.
+
302 inline static void setClockDivider(uint8_t clockDiv) {
+
303 SPCR = (SPCR & ~SPI_CLOCK_MASK) | (clockDiv & SPI_CLOCK_MASK);
+
304 SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((clockDiv >> 2) & SPI_2XCLOCK_MASK);
+
305 }
+
306 // These undocumented functions should not be used. SPI.transfer()
+
307 // polls the hardware flag which is automatically cleared as the
+
308 // AVR responds to SPI's interrupt
+
309 inline static void attachInterrupt() { SPCR |= _BV(SPIE); }
+
310 inline static void detachInterrupt() { SPCR &= ~_BV(SPIE); }
+
311
+
312private:
+
313 static uint8_t initialized;
+
314 static uint8_t interruptMode; // 0=none, 1=mask, 2=global
+
315 static uint8_t interruptMask; // which interrupts to mask
+
316 static uint8_t interruptSave; // temp storage, to restore state
+
317 #ifdef SPI_TRANSACTION_MISMATCH_LED
+
318 static uint8_t inTransactionFlag;
+
319 #endif
+
320};
+
+
321
+
322extern SPIClass SPI;
+
323
+
324#endif
+
Definition SPI.h:156
+
Definition SPI.h:72
+
+
+ + + + diff --git a/doc/html/_servo_8h_source.html b/doc/html/_servo_8h_source.html new file mode 100644 index 00000000..0a9d8505 --- /dev/null +++ b/doc/html/_servo_8h_source.html @@ -0,0 +1,232 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/Servo.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Servo.h
+
+
+
1/*
+
2 Servo.h - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2
+
3 Copyright (c) 2009 Michael Margolis. All right reserved.
+
4
+
5 This library is free software; you can redistribute it and/or
+
6 modify it under the terms of the GNU Lesser General Public
+
7 License as published by the Free Software Foundation; either
+
8 version 2.1 of the License, or (at your option) any later version.
+
9
+
10 This library is distributed in the hope that it will be useful,
+
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
+
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
13 Lesser General Public License for more details.
+
14
+
15 You should have received a copy of the GNU Lesser General Public
+
16 License along with this library; if not, write to the Free Software
+
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
18*/
+
19
+
20/*
+
21 A servo is activated by creating an instance of the Servo class passing
+
22 the desired pin to the attach() method.
+
23 The servos are pulsed in the background using the value most recently
+
24 written using the write() method.
+
25
+
26 Note that analogWrite of PWM on pins associated with the timer are
+
27 disabled when the first servo is attached.
+
28 Timers are seized as needed in groups of 12 servos - 24 servos use two
+
29 timers, 48 servos will use four.
+
30 The sequence used to sieze timers is defined in timers.h
+
31
+
32 The methods are:
+
33
+
34 Servo - Class for manipulating servo motors connected to Arduino pins.
+
35
+
36 attach(pin ) - Attaches a servo motor to an i/o pin.
+
37 attach(pin, min, max ) - Attaches to a pin setting min and max values in microseconds
+
38 default min is 544, max is 2400
+
39
+
40 write() - Sets the servo angle in degrees. (invalid angle that is valid as pulse in microseconds is treated as microseconds)
+
41 writeMicroseconds() - Sets the servo pulse width in microseconds
+
42 read() - Gets the last written servo pulse width as an angle between 0 and 180.
+
43 readMicroseconds() - Gets the last written servo pulse width in microseconds. (was read_us() in first release)
+
44 attached() - Returns true if there is a servo attached.
+
45 detach() - Stops an attached servos from pulsing its i/o pin.
+
46 */
+
47
+
48#ifndef Servo_h
+
49#define Servo_h
+
50
+
51#include <inttypes.h>
+
52
+
53/*
+
54 * Defines for 16 bit timers used with Servo library
+
55 *
+
56 * If _useTimerX is defined then TimerX is a 16 bit timer on the current board
+
57 * timer16_Sequence_t enumerates the sequence that the timers should be allocated
+
58 * _Nbr_16timers indicates how many 16 bit timers are available.
+
59 */
+
60
+
61// Architecture specific include
+
62#if defined(ARDUINO_ARCH_AVR)
+
63#include "avr/ServoTimers.h"
+
64#elif defined(ARDUINO_ARCH_SAM)
+
65#include "sam/ServoTimers.h"
+
66#elif defined(ARDUINO_ARCH_SAMD)
+
67#include "samd/ServoTimers.h"
+
68#else
+
69#error "This library only supports boards with an AVR, SAM or SAMD processor."
+
70#endif
+
71
+
72#define Servo_VERSION 2 // software version of this library
+
73
+
74#define MIN_PULSE_WIDTH 544 // the shortest pulse sent to a servo
+
75#define MAX_PULSE_WIDTH 2350 // the longest pulse sent to a servo
+
76#define DEFAULT_PULSE_WIDTH 1500 // default pulse width when servo is attached
+
77#define REFRESH_INTERVAL 20000 // minumim time to refresh servos in microseconds
+
78
+
79#define SERVOS_PER_TIMER 12 // the maximum number of servos controlled by one timer
+
80#define MAX_SERVOS (_Nbr_16timers * SERVOS_PER_TIMER)
+
81
+
82#define INVALID_SERVO 255 // flag indicating an invalid servo index
+
83
+
+
84typedef struct {
+
85 uint8_t nbr :7 ; // a pin number from 0 to 127
+
86 uint8_t isActive :1 ; // true if this channel is enabled, pin not pulsed if false
+
87} ServoPin_t ;
+
+
88
+
+
89typedef struct {
+
90 ServoPin_t Pin;
+
91 volatile unsigned int ticks;
+
92} servo_t;
+
+
93
+
+
94class Servo
+
95{
+
96public:
+
97 Servo();
+
98 uint8_t attach(int pin); // attach the given pin to the next free channel, sets pinMode, returns channel number or 0 if failure
+
99 uint8_t attach(int pin, int min, int max); // as above but also sets min and max values for writes.
+
100 void detach();
+
101 void write(int value); // if value is < 200 its treated as an angle, otherwise as pulse width in microseconds
+
102 void writeMicroseconds(int value); // Write pulse width in microseconds
+
103 int read(); // returns current pulse width as an angle between 0 and 180 degrees
+
104 int readMicroseconds(); // returns current pulse width in microseconds for this servo (was read_us() in first release)
+
105 bool attached(); // return true if this servo is attached, otherwise false
+
106private:
+
107 uint8_t servoIndex; // index into the channel data for this servo
+
108 int8_t min; // minimum is this value times 4 added to MIN_PULSE_WIDTH
+
109 int8_t max; // maximum is this value times 4 added to MAX_PULSE_WIDTH
+
110};
+
+
111
+
112#endif
+
Definition Servo.h:95
+
Definition Servo.h:84
+
Definition Servo.h:89
+
+
+ + + + diff --git a/doc/html/_servo_timers_8h_source.html b/doc/html/_servo_timers_8h_source.html new file mode 100644 index 00000000..eb92e68d --- /dev/null +++ b/doc/html/_servo_timers_8h_source.html @@ -0,0 +1,165 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/avr/ServoTimers.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
ServoTimers.h
+
+
+
1/*
+
2 Servo.h - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2
+
3 Copyright (c) 2009 Michael Margolis. All right reserved.
+
4
+
5 This library is free software; you can redistribute it and/or
+
6 modify it under the terms of the GNU Lesser General Public
+
7 License as published by the Free Software Foundation; either
+
8 version 2.1 of the License, or (at your option) any later version.
+
9
+
10 This library is distributed in the hope that it will be useful,
+
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
+
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
13 Lesser General Public License for more details.
+
14
+
15 You should have received a copy of the GNU Lesser General Public
+
16 License along with this library; if not, write to the Free Software
+
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
18*/
+
19
+
20/*
+
21 * Defines for 16 bit timers used with Servo library
+
22 *
+
23 * If _useTimerX is defined then TimerX is a 16 bit timer on the current board
+
24 * timer16_Sequence_t enumerates the sequence that the timers should be allocated
+
25 * _Nbr_16timers indicates how many 16 bit timers are available.
+
26 */
+
27
+
33// Say which 16 bit timers can be used and in what order
+
34#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
+
35#define _useTimer5
+
36#define _useTimer1
+
37#define _useTimer3
+
38#define _useTimer4
+
39typedef enum { _timer5, _timer1, _timer3, _timer4, _Nbr_16timers } timer16_Sequence_t;
+
40
+
41#elif defined(__AVR_ATmega32U4__)
+
42#define _useTimer1
+
43typedef enum { _timer1, _Nbr_16timers } timer16_Sequence_t;
+
44
+
45#elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)
+
46#define _useTimer3
+
47#define _useTimer1
+
48typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t;
+
49
+
50#elif defined(__AVR_ATmega128__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega2561__)
+
51#define _useTimer3
+
52#define _useTimer1
+
53typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t;
+
54
+
55#else // everything else
+
56#define _useTimer1
+
57typedef enum { _timer1, _Nbr_16timers } timer16_Sequence_t;
+
58#endif
+
59
+
+
+ + + + diff --git a/doc/html/_slave_bluetooth_by_soft_serial_test_8ino-example.html b/doc/html/_slave_bluetooth_by_soft_serial_test_8ino-example.html new file mode 100644 index 00000000..82392f37 --- /dev/null +++ b/doc/html/_slave_bluetooth_by_soft_serial_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: SlaveBluetoothBySoftSerialTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SlaveBluetoothBySoftSerialTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_smart_servo_test_8ino-example.html b/doc/html/_smart_servo_test_8ino-example.html new file mode 100644 index 00000000..4d5ef207 --- /dev/null +++ b/doc/html/_smart_servo_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: SmartServoTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SmartServoTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_software_serial_8h_source.html b/doc/html/_software_serial_8h_source.html new file mode 100644 index 00000000..e197c9a3 --- /dev/null +++ b/doc/html/_software_serial_8h_source.html @@ -0,0 +1,234 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/SoftwareSerial.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SoftwareSerial.h
+
+
+
1/*
+
2SoftwareSerial.h (formerly NewSoftSerial.h) -
+
3Multi-instance software serial library for Arduino/Wiring
+
4-- Interrupt-driven receive and other improvements by ladyada
+
5 (http://ladyada.net)
+
6-- Tuning, circular buffer, derivation from class Print/Stream,
+
7 multi-instance support, porting to 8MHz processors,
+
8 various optimizations, PROGMEM delay tables, inverse logic and
+
9 direct port writing by Mikal Hart (http://www.arduiniana.org)
+
10-- Pin change interrupt macros by Paul Stoffregen (http://www.pjrc.com)
+
11-- 20MHz processor support by Garrett Mace (http://www.macetech.com)
+
12-- ATmega1280/2560 support by Brett Hagman (http://www.roguerobotics.com/)
+
13
+
14This library is free software; you can redistribute it and/or
+
15modify it under the terms of the GNU Lesser General Public
+
16License as published by the Free Software Foundation; either
+
17version 2.1 of the License, or (at your option) any later version.
+
18
+
19This library is distributed in the hope that it will be useful,
+
20but WITHOUT ANY WARRANTY; without even the implied warranty of
+
21MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
22Lesser General Public License for more details.
+
23
+
24You should have received a copy of the GNU Lesser General Public
+
25License along with this library; if not, write to the Free Software
+
26Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
27
+
28The latest version of this library can always be found at
+
29http://arduiniana.org.
+
30*/
+
31
+
32#ifndef SoftwareSerial_h
+
33#define SoftwareSerial_h
+
34
+
35#include <inttypes.h>
+
36#include <Stream.h>
+
37
+
38/******************************************************************************
+
39* Definitions
+
40******************************************************************************/
+
41
+
42#define _SS_MAX_RX_BUFF 64 // RX buffer size
+
43#ifndef GCC_VERSION
+
44#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
+
45#endif
+
46
+
+
47class SoftwareSerial : public Stream
+
48{
+
49private:
+
50 // per object data
+
51 uint8_t _receivePin;
+
52 uint8_t _receiveBitMask;
+
53 volatile uint8_t *_receivePortRegister;
+
54 uint8_t _transmitBitMask;
+
55 volatile uint8_t *_transmitPortRegister;
+
56 volatile uint8_t *_pcint_maskreg;
+
57 uint8_t _pcint_maskvalue;
+
58
+
59 // Expressed as 4-cycle delays (must never be 0!)
+
60 uint16_t _rx_delay_centering;
+
61 uint16_t _rx_delay_intrabit;
+
62 uint16_t _rx_delay_stopbit;
+
63 uint16_t _tx_delay;
+
64
+
65 uint16_t _buffer_overflow:1;
+
66 uint16_t _inverse_logic:1;
+
67
+
68 // static data
+
69 static char _receive_buffer[_SS_MAX_RX_BUFF];
+
70 static volatile uint8_t _receive_buffer_tail;
+
71 static volatile uint8_t _receive_buffer_head;
+
72 static SoftwareSerial *active_object;
+
73
+
74 // private methods
+
75 inline void recv() __attribute__((__always_inline__));
+
76 uint8_t rx_pin_read();
+
77 void setTX(uint8_t transmitPin);
+
78 void setRX(uint8_t receivePin);
+
79 inline void setRxIntMsk(bool enable) __attribute__((__always_inline__));
+
80
+
81 // Return num - sub, or 1 if the result would be < 1
+
82 static uint16_t subtract_cap(uint16_t num, uint16_t sub);
+
83
+
84 // private static method for timing
+
85 static inline void tunedDelay(uint16_t delay);
+
86
+
87public:
+
88 // public methods
+
89 SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic = false);
+ +
91 void begin(long speed);
+
92 bool listen();
+
93 void end();
+
94 bool isListening() { return this == active_object; }
+
95 bool stopListening();
+
96 bool overflow() { bool ret = _buffer_overflow; if (ret) _buffer_overflow = false; return ret; }
+
97 int peek();
+
98
+
99 virtual size_t write(uint8_t byte);
+
100 virtual int read();
+
101 virtual int available();
+
102 virtual void flush();
+
103 operator bool() { return true; }
+
104
+
105 using Print::write;
+
106
+
107 // public only for easy access by interrupt handlers
+
108 static inline void handle_interrupt() __attribute__((__always_inline__));
+
109};
+
+
110
+
111// Arduino 0012 workaround
+
112#undef int
+
113#undef char
+
114#undef long
+
115#undef byte
+
116#undef float
+
117#undef abs
+
118#undef round
+
119
+
120#endif
+
Definition SoftwareSerial.h:48
+
+
+ + + + diff --git a/doc/html/_sound_sensor_test_8ino-example.html b/doc/html/_sound_sensor_test_8ino-example.html new file mode 100644 index 00000000..476a4993 --- /dev/null +++ b/doc/html/_sound_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: SoundSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SoundSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_temperature_test_8ino-example.html b/doc/html/_temperature_test_8ino-example.html new file mode 100644 index 00000000..f2218126 --- /dev/null +++ b/doc/html/_temperature_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: TemperatureTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TemperatureTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_test_u_s_b_hsot_8ino-example.html b/doc/html/_test_u_s_b_hsot_8ino-example.html new file mode 100644 index 00000000..b55c47bf --- /dev/null +++ b/doc/html/_test_u_s_b_hsot_8ino-example.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: TestUSBHsot.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TestUSBHsot.ino
+
+
+

Inspired by /* 2004.03.05, 2004.8.18, 2005.12.29


+

** Copyright (C) W.ch 1999-2005 ** ** Web: http://www.winchiphead.com **


+

** USB 1.1 Host Examples for CH375 ** ** KC7.0@MCS-51 **


+
+
+ + + + diff --git a/doc/html/_time_display_8ino-example.html b/doc/html/_time_display_8ino-example.html new file mode 100644 index 00000000..1bd73588 --- /dev/null +++ b/doc/html/_time_display_8ino-example.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: TimeDisplay.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TimeDisplay.ino
+
+
+

DERIVED FROM // Author:Frankie.Chu // Date:9 April,2012 // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

+
+
+ + + + diff --git a/doc/html/_touch_sensor_test_8ino-example.html b/doc/html/_touch_sensor_test_8ino-example.html new file mode 100644 index 00000000..a90ec240 --- /dev/null +++ b/doc/html/_touch_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: TouchSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TouchSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_ultrasonic_sensor_test_8ino-example.html b/doc/html/_ultrasonic_sensor_test_8ino-example.html new file mode 100644 index 00000000..1d11bf6d --- /dev/null +++ b/doc/html/_ultrasonic_sensor_test_8ino-example.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: UltrasonicSensorTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
UltrasonicSensorTest.ino
+
+
+
+
+ + + + diff --git a/doc/html/_white_breath_light_test_8ino-example.html b/doc/html/_white_breath_light_test_8ino-example.html new file mode 100644 index 00000000..f8c09ea4 --- /dev/null +++ b/doc/html/_white_breath_light_test_8ino-example.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: WhiteBreathLightTest.ino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
WhiteBreathLightTest.ino
+
+
+

DERIVED FROM light weight WS2812 lib V2.1 - Arduino support

+

Controls WS2811/WS2812/WS2812B RGB-LEDs Author: Tim (cpldc.nosp@m.pu@g.nosp@m.mail..nosp@m.com)

+

Jan 18th, 2014 v2.0b Initial Version March 7th, 2014 v2.1 Added option to retarget the port register during runtime Removes inlining to allow compiling with c++

+

License: GNU GPL v2 (see License.txt)

+
+
+ + + + diff --git a/doc/html/_wire_8h_source.html b/doc/html/_wire_8h_source.html new file mode 100644 index 00000000..a5a1ba19 --- /dev/null +++ b/doc/html/_wire_8h_source.html @@ -0,0 +1,199 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/Wire.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Wire.h
+
+
+
1/*
+
2 TwoWire.h - TWI/I2C library for Arduino & Wiring
+
3 Copyright (c) 2006 Nicholas Zambetti. All right reserved.
+
4
+
5 This library is free software; you can redistribute it and/or
+
6 modify it under the terms of the GNU Lesser General Public
+
7 License as published by the Free Software Foundation; either
+
8 version 2.1 of the License, or (at your option) any later version.
+
9
+
10 This library is distributed in the hope that it will be useful,
+
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
+
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+
13 Lesser General Public License for more details.
+
14
+
15 You should have received a copy of the GNU Lesser General Public
+
16 License along with this library; if not, write to the Free Software
+
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
18
+
19 Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts
+
20*/
+
21
+
22#ifndef TwoWire_h
+
23#define TwoWire_h
+
24
+
25#include <inttypes.h>
+
26#include "Stream.h"
+
27
+
28#define BUFFER_LENGTH 32
+
29
+
30// WIRE_HAS_END means Wire has end()
+
31#define WIRE_HAS_END 1
+
32
+
+
33class TwoWire : public Stream
+
34{
+
35 private:
+
36 static uint8_t rxBuffer[];
+
37 static uint8_t rxBufferIndex;
+
38 static uint8_t rxBufferLength;
+
39
+
40 static uint8_t txAddress;
+
41 static uint8_t txBuffer[];
+
42 static uint8_t txBufferIndex;
+
43 static uint8_t txBufferLength;
+
44
+
45 static uint8_t transmitting;
+
46 static void (*user_onRequest)(void);
+
47 static void (*user_onReceive)(int);
+
48 static void onRequestService(void);
+
49 static void onReceiveService(uint8_t*, int);
+
50 public:
+
51 TwoWire();
+
52 void begin();
+
53 void begin(uint8_t);
+
54 void begin(int);
+
55 void end();
+
56 void setClock(uint32_t);
+
57 void beginTransmission(uint8_t);
+
58 void beginTransmission(int);
+
59 uint8_t endTransmission(void);
+
60 uint8_t endTransmission(uint8_t);
+
61 uint8_t requestFrom(uint8_t, uint8_t);
+
62 uint8_t requestFrom(uint8_t, uint8_t, uint8_t);
+
63 uint8_t requestFrom(uint8_t, uint8_t, uint32_t, uint8_t, uint8_t);
+
64 uint8_t requestFrom(int, int);
+
65 uint8_t requestFrom(int, int, int);
+
66 virtual size_t write(uint8_t);
+
67 virtual size_t write(const uint8_t *, size_t);
+
68 virtual int available(void);
+
69 virtual int read(void);
+
70 virtual int peek(void);
+
71 virtual void flush(void);
+
72 void onReceive( void (*)(int) );
+
73 void onRequest( void (*)(void) );
+
74
+
75 inline size_t write(unsigned long n) { return write((uint8_t)n); }
+
76 inline size_t write(long n) { return write((uint8_t)n); }
+
77 inline size_t write(unsigned int n) { return write((uint8_t)n); }
+
78 inline size_t write(int n) { return write((uint8_t)n); }
+
79 using Print::write;
+
80};
+
+
81
+
82extern TwoWire Wire;
+
83
+
84#endif
+
85
+
Definition Wire.h:34
+
+
+ + + + diff --git a/doc/html/annotated.html b/doc/html/annotated.html new file mode 100644 index 00000000..3cb47564 --- /dev/null +++ b/doc/html/annotated.html @@ -0,0 +1,190 @@ + + + + + + + +MakeBlock Drive Updated: Class List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 C_USB_CONFIG_DEscriptOR
 C_USB_CONFIG_DEscriptOR_LONG
 C_USB_DEVICE_DEscriptOR
 C_USB_ENDPOINT_DEscriptOR
 C_USB_INTERF_DEscriptOR
 CCmd_list_tab_type
 CCompass_Calibration_Parameter
 CcRGBClass for RGB Led Module
 CEEPROMClass
 CEEPtr
 CEERef
 CEncoder_port_type
 Cirparams_t
 CLED_Matrix_Clock_Number_Font_3x8_TypeDef
 CLED_Matrix_Font_6x8_TypeDef
 CMBotDCMotor
 CMe4ButtonDriver for Me 4 Button module
 CMe7SegmentDisplayClass for numeric display module
 CMe_Encoder_type
 CMeBluetoothDriver for Me Bluetooth device
 CMeBuzzerDriver for Me Buzzer module
 CMecolorDriver for MeColorSensor module
 CMeColorSensorDriver for MeColorSensor module
 CMeCompassDriver for MeCompass module
 CMeDCMotorDriver for Me DC motor device
 CMeEncoderMotorClass for Encoder Motor Driver
 CMeEncoderNewDriver for Me Encoder New module
 CMeEncoderOnBoardDriver for Encoder module on MeAuriga and MeMegaPi
 CMeFlameSensorDriver for Me flame snesor device
 Cmegapi_dc_type
 CmegaPi_slot
 Cmegapipro_esc_type
 CMeGasSensorDriver for Me gas snesor device
 CMeGyroDriver for MeGyro module
 CMeHostParserDriver for Me Host Parser module
 CMeHumitureDriver for humiture sensor device
 CMeInfraredReceiverDriver for Me Infrared Receiver device
 CMeIRDriver for Me IR module
 CMeJoystickDriver for Me Joystick module
 CMeLEDMatrixDriver for Me LED Matrix module
 CMeLightSensorDriver for Me-Light Sensor module
 CMeLimitSwitchDriver for Me_LimitSwitch module
 CMeLineFollowerDriver for Me line follwer device
 CMeMegaPiDCMotorDriver for Me Megapi DC motor device
 CMeMegaPiPro4DcMotorDriver for Me DC motor device
 CMeMegaPiProESCMotorDriver for Me Megapipro ESC motor device
 CMeOnBoardTempDriver for Auriga On Board Temperature device
 CMeOneWireDriver for 1-wire protocol
 CMePIRMotionSensorDriver for Me PIR Motion Sensor module
 CMePm25SensorDriver for Me PM2.5 sensor device
 CMePortPort Mapping for RJ25
 CMePort_Sig
 CMePotentiometerDriver for Me potentiometer module
 CMePressureSensor
 CMePS2Driver for MePS2 handle device
 CMeRGBLedDriver for W2812 full-color LED
 CMeSerialDriver for serial
 CMeShutterDriver for Me Shutter device
 CMeSmartServoDriver for Me Smart Servo device
 CMeSoundSensorDriver for Me sound sensor device
 CMeStepperDriver for Me Stepper device
 CMeStepperOnBoardDriver for Me Stepper on MegaPi
 CMeTemperatureDriver for temperature sensor device
 CMeTouchSensorDriver for Me touch sensor device
 CMeUltrasonicSensorDriver for Me ultrasonic sensor device
 CMeUSBHostDriver for Me USB Host module
 CMeVoiceDriver for Me voice device
 CMeWifiDriver for Me wifi device
 CPID_internal
 CPM25DATASTRUCT
 CPM25DATAUINO
 CServo
 Cservo_device_type
 Cservo_t
 CServoPin_t
 CSoftwareSerial
 CSPIClass
 CSPISettings
 Csysex_message
 Csysex_message_type
 CTwoWire
+
+
+
+ + + + diff --git a/doc/html/annotated_dup.js b/doc/html/annotated_dup.js new file mode 100644 index 00000000..92f582c6 --- /dev/null +++ b/doc/html/annotated_dup.js @@ -0,0 +1,84 @@ +var annotated_dup = +[ + [ "_USB_CONFIG_DEscriptOR", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html", null ], + [ "_USB_CONFIG_DEscriptOR_LONG", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html", null ], + [ "_USB_DEVICE_DEscriptOR", "struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html", null ], + [ "_USB_ENDPOINT_DEscriptOR", "struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html", null ], + [ "_USB_INTERF_DEscriptOR", "struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html", null ], + [ "Cmd_list_tab_type", "struct_cmd__list__tab__type.html", null ], + [ "Compass_Calibration_Parameter", "struct_compass___calibration___parameter.html", null ], + [ "cRGB", "structc_r_g_b.html", null ], + [ "EEPROMClass", "struct_e_e_p_r_o_m_class.html", null ], + [ "EEPtr", "struct_e_e_ptr.html", "struct_e_e_ptr" ], + [ "EERef", "struct_e_e_ref.html", "struct_e_e_ref" ], + [ "Encoder_port_type", "struct_encoder__port__type.html", null ], + [ "irparams_t", "structirparams__t.html", null ], + [ "LED_Matrix_Clock_Number_Font_3x8_TypeDef", "struct_l_e_d___matrix___clock___number___font__3x8___type_def.html", null ], + [ "LED_Matrix_Font_6x8_TypeDef", "struct_l_e_d___matrix___font__6x8___type_def.html", null ], + [ "MBotDCMotor", "class_m_bot_d_c_motor.html", "class_m_bot_d_c_motor" ], + [ "Me4Button", "class_me4_button.html", "class_me4_button" ], + [ "Me7SegmentDisplay", "class_me7_segment_display.html", "class_me7_segment_display" ], + [ "Me_Encoder_type", "struct_me___encoder__type.html", null ], + [ "MeBluetooth", "class_me_bluetooth.html", "class_me_bluetooth" ], + [ "MeBuzzer", "class_me_buzzer.html", "class_me_buzzer" ], + [ "Mecolor", "class_mecolor.html", null ], + [ "MeColorSensor", "class_me_color_sensor.html", "class_me_color_sensor" ], + [ "MeCompass", "class_me_compass.html", "class_me_compass" ], + [ "MeDCMotor", "class_me_d_c_motor.html", "class_me_d_c_motor" ], + [ "MeEncoderMotor", "class_me_encoder_motor.html", "class_me_encoder_motor" ], + [ "MeEncoderNew", "class_me_encoder_new.html", "class_me_encoder_new" ], + [ "MeEncoderOnBoard", "class_me_encoder_on_board.html", "class_me_encoder_on_board" ], + [ "MeFlameSensor", "class_me_flame_sensor.html", "class_me_flame_sensor" ], + [ "megapi_dc_type", "structmegapi__dc__type.html", null ], + [ "megaPi_slot", "structmega_pi__slot.html", null ], + [ "megapipro_esc_type", "structmegapipro__esc__type.html", null ], + [ "MeGasSensor", "class_me_gas_sensor.html", "class_me_gas_sensor" ], + [ "MeGyro", "class_me_gyro.html", "class_me_gyro" ], + [ "MeHostParser", "class_me_host_parser.html", "class_me_host_parser" ], + [ "MeHumiture", "class_me_humiture.html", "class_me_humiture" ], + [ "MeInfraredReceiver", "class_me_infrared_receiver.html", "class_me_infrared_receiver" ], + [ "MeIR", "class_me_i_r.html", "class_me_i_r" ], + [ "MeJoystick", "class_me_joystick.html", "class_me_joystick" ], + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html", "class_me_l_e_d_matrix" ], + [ "MeLightSensor", "class_me_light_sensor.html", "class_me_light_sensor" ], + [ "MeLimitSwitch", "class_me_limit_switch.html", "class_me_limit_switch" ], + [ "MeLineFollower", "class_me_line_follower.html", "class_me_line_follower" ], + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html", "class_me_mega_pi_d_c_motor" ], + [ "MeMegaPiPro4DcMotor", "class_me_mega_pi_pro4_dc_motor.html", "class_me_mega_pi_pro4_dc_motor" ], + [ "MeMegaPiProESCMotor", "class_me_mega_pi_pro_e_s_c_motor.html", "class_me_mega_pi_pro_e_s_c_motor" ], + [ "MeOnBoardTemp", "class_me_on_board_temp.html", "class_me_on_board_temp" ], + [ "MeOneWire", "class_me_one_wire.html", "class_me_one_wire" ], + [ "MePIRMotionSensor", "class_me_p_i_r_motion_sensor.html", "class_me_p_i_r_motion_sensor" ], + [ "MePm25Sensor", "class_me_pm25_sensor.html", "class_me_pm25_sensor" ], + [ "MePort", "class_me_port.html", "class_me_port" ], + [ "MePort_Sig", "struct_me_port___sig.html", null ], + [ "MePotentiometer", "class_me_potentiometer.html", "class_me_potentiometer" ], + [ "MePressureSensor", "class_me_pressure_sensor.html", null ], + [ "MePS2", "class_me_p_s2.html", "class_me_p_s2" ], + [ "MeRGBLed", "class_me_r_g_b_led.html", "class_me_r_g_b_led" ], + [ "MeSerial", "class_me_serial.html", "class_me_serial" ], + [ "MeShutter", "class_me_shutter.html", "class_me_shutter" ], + [ "MeSmartServo", "class_me_smart_servo.html", "class_me_smart_servo" ], + [ "MeSoundSensor", "class_me_sound_sensor.html", null ], + [ "MeStepper", "class_me_stepper.html", "class_me_stepper" ], + [ "MeStepperOnBoard", "class_me_stepper_on_board.html", "class_me_stepper_on_board" ], + [ "MeTemperature", "class_me_temperature.html", "class_me_temperature" ], + [ "MeTouchSensor", "class_me_touch_sensor.html", "class_me_touch_sensor" ], + [ "MeUltrasonicSensor", "class_me_ultrasonic_sensor.html", "class_me_ultrasonic_sensor" ], + [ "MeUSBHost", "class_me_u_s_b_host.html", "class_me_u_s_b_host" ], + [ "MeVoice", "class_me_voice.html", "class_me_voice" ], + [ "MeWifi", "class_me_wifi.html", "class_me_wifi" ], + [ "PID_internal", "struct_p_i_d__internal.html", null ], + [ "PM25DATASTRUCT", "struct_p_m25_d_a_t_a_s_t_r_u_c_t.html", null ], + [ "PM25DATAUINO", "union_p_m25_d_a_t_a_u_i_n_o.html", null ], + [ "Servo", "class_servo.html", null ], + [ "servo_device_type", "structservo__device__type.html", null ], + [ "servo_t", "structservo__t.html", null ], + [ "ServoPin_t", "struct_servo_pin__t.html", null ], + [ "SoftwareSerial", "class_software_serial.html", null ], + [ "SPIClass", "class_s_p_i_class.html", null ], + [ "SPISettings", "class_s_p_i_settings.html", null ], + [ "sysex_message", "unionsysex__message.html", null ], + [ "sysex_message_type", "structsysex__message__type.html", null ], + [ "TwoWire", "class_two_wire.html", null ] +]; \ No newline at end of file diff --git a/doc/html/bc_s.png b/doc/html/bc_s.png new file mode 100644 index 00000000..224b29aa Binary files /dev/null and b/doc/html/bc_s.png differ diff --git a/doc/html/bc_sd.png b/doc/html/bc_sd.png new file mode 100644 index 00000000..31ca888d Binary files /dev/null and b/doc/html/bc_sd.png differ diff --git a/doc/html/class_m_bot_d_c_motor-members.html b/doc/html/class_m_bot_d_c_motor-members.html new file mode 100644 index 00000000..eeac2aac --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor-members.html @@ -0,0 +1,140 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MBotDCMotor Member List
+
+
+ +

This is the complete list of members for MBotDCMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MBotDCMotor(uint8_t port)MBotDCMotor
MeDCMotor(void)MeDCMotor
MeDCMotor(uint8_t port)MeDCMotor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
move(int direction, int speed)MBotDCMotor
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeDCMotor
reset(uint8_t port, uint8_t slot)MeDCMotor
run(int16_t speed)MeDCMotor
s1MePortprotected
s2MePortprotected
setpin(uint8_t dir_pin, uint8_t pwm_pin)MeDCMotor
stop(void)MeDCMotor
+
+ + + + diff --git a/doc/html/class_m_bot_d_c_motor.html b/doc/html/class_m_bot_d_c_motor.html new file mode 100644 index 00000000..4fd4926c --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor.html @@ -0,0 +1,285 @@ + + + + + + + +MakeBlock Drive Updated: MBotDCMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MBotDCMotor Class Reference
+
+
+ +

#include <src/MeMbotDCMotor.h>

+
+Inheritance diagram for MBotDCMotor:
+
+
Inheritance graph
+ + + + + + + +
[legend]
+
+Collaboration diagram for MBotDCMotor:
+
+
Collaboration graph
+ + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MBotDCMotor (uint8_t port)
 
void move (int direction, int speed)
 
- Public Member Functions inherited from MeDCMotor
 MeDCMotor (void)
 
 MeDCMotor (uint8_t port)
 
void setpin (uint8_t dir_pin, uint8_t pwm_pin)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
void run (int16_t speed)
 
void stop (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Class: MBotDCMotor

Description
Declaration of Class MBotDCMotor.
+

Constructor & Destructor Documentation

+ +

◆ MBotDCMotor()

+ +
+
+ + + + + + + + +
MBotDCMotor::MBotDCMotor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MBot DCMotor to arduino port, the slot2 pin will be used here since specify slot is not be set.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ move()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MBotDCMotor::move (int direction,
int speed 
)
+
+
Function
move
+
Description
MBot DCMotor moves with the speed and direction.
+
Parameters
+ + + +
[in]direction- The direction of the MBot DCMotor's movement
[in]speed- The speed of MBot DCMotor's movement.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_m_bot_d_c_motor.js b/doc/html/class_m_bot_d_c_motor.js new file mode 100644 index 00000000..b3aadf08 --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor.js @@ -0,0 +1,5 @@ +var class_m_bot_d_c_motor = +[ + [ "MBotDCMotor", "class_m_bot_d_c_motor.html#ab2b0796707235c4c87656ac986906b9a", null ], + [ "move", "class_m_bot_d_c_motor.html#afe0b361462f7660fd767cd7e5a23ea77", null ] +]; \ No newline at end of file diff --git a/doc/html/class_m_bot_d_c_motor.png b/doc/html/class_m_bot_d_c_motor.png new file mode 100644 index 00000000..2713a154 Binary files /dev/null and b/doc/html/class_m_bot_d_c_motor.png differ diff --git a/doc/html/class_m_bot_d_c_motor__coll__graph.map b/doc/html/class_m_bot_d_c_motor__coll__graph.map new file mode 100644 index 00000000..a54e49e1 --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor__coll__graph.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/class_m_bot_d_c_motor__coll__graph.md5 b/doc/html/class_m_bot_d_c_motor__coll__graph.md5 new file mode 100644 index 00000000..2ab8d994 --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor__coll__graph.md5 @@ -0,0 +1 @@ +36e5f3f8efa710ac684ef001123d0ad6 \ No newline at end of file diff --git a/doc/html/class_m_bot_d_c_motor__coll__graph.png b/doc/html/class_m_bot_d_c_motor__coll__graph.png new file mode 100644 index 00000000..86a95d96 Binary files /dev/null and b/doc/html/class_m_bot_d_c_motor__coll__graph.png differ diff --git a/doc/html/class_m_bot_d_c_motor__inherit__graph.map b/doc/html/class_m_bot_d_c_motor__inherit__graph.map new file mode 100644 index 00000000..a54e49e1 --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor__inherit__graph.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/class_m_bot_d_c_motor__inherit__graph.md5 b/doc/html/class_m_bot_d_c_motor__inherit__graph.md5 new file mode 100644 index 00000000..2ab8d994 --- /dev/null +++ b/doc/html/class_m_bot_d_c_motor__inherit__graph.md5 @@ -0,0 +1 @@ +36e5f3f8efa710ac684ef001123d0ad6 \ No newline at end of file diff --git a/doc/html/class_m_bot_d_c_motor__inherit__graph.png b/doc/html/class_m_bot_d_c_motor__inherit__graph.png new file mode 100644 index 00000000..86a95d96 Binary files /dev/null and b/doc/html/class_m_bot_d_c_motor__inherit__graph.png differ diff --git a/doc/html/class_me4_button-members.html b/doc/html/class_me4_button-members.html new file mode 100644 index 00000000..271155a9 --- /dev/null +++ b/doc/html/class_me4_button-members.html @@ -0,0 +1,137 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me4Button Member List
+
+
+ +

This is the complete list of members for Me4Button, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
Me4Button(void)Me4Button
Me4Button(uint8_t port)Me4Button
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
pressed(void)Me4Button
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t port)Me4Button
+
+ + + + diff --git a/doc/html/class_me4_button.html b/doc/html/class_me4_button.html new file mode 100644 index 00000000..664bbaf5 --- /dev/null +++ b/doc/html/class_me4_button.html @@ -0,0 +1,319 @@ + + + + + + + +MakeBlock Drive Updated: Me4Button Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Me4Button Class Reference
+
+
+ +

Driver for Me 4 Button module. + More...

+ +

#include <src/Me4Button.h>

+
+Inheritance diagram for Me4Button:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for Me4Button:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Me4Button (void)
 
 Me4Button (uint8_t port)
 
void setpin (uint8_t port)
 
uint8_t pressed (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me 4 Button module.

+

Class: Me4Button

Description
Declaration of Class Me4Button
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ Me4Button() [1/2]

+ +
+
+ + + + + + + + +
Me4Button::Me4Button (void )
+
+

Alternate Constructor which can call your own function to map the Me4Button to arduino port,
+ no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ Me4Button() [2/2]

+ +
+
+ + + + + + + + +
Me4Button::Me4Button (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Me4Button to arduino port,
+ the slot2 pin will be used for key pin.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ pressed()

+ +
+
+ + + + + + + + +
uint8_t Me4Button::pressed (void )
+
+
Function
pressed
+
Description
Read key ADC value to a variable.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
Return the key vlaue, the value maybe KEY_1,KEY_2,KEY_3,KEY_4,KEY_NULL.
+
Others
The key should periodically read, if it was delayed, It will affect the sensitivity of the keys
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void Me4Button::setpin (uint8_t port)
+
+
Function
setpin
+
Description
Set the PIN for button module.
+
Parameters
+ + +
[in]port- arduino gpio number
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me4_button.js b/doc/html/class_me4_button.js new file mode 100644 index 00000000..8641107b --- /dev/null +++ b/doc/html/class_me4_button.js @@ -0,0 +1,7 @@ +var class_me4_button = +[ + [ "Me4Button", "class_me4_button.html#a084dc6572ea890e9c1e5d50cb60c11e1", null ], + [ "Me4Button", "class_me4_button.html#acf07832a6ad875d35f16ca31825ec8d5", null ], + [ "pressed", "class_me4_button.html#a51d9728459f5323d59d1543931ba2dc9", null ], + [ "setpin", "class_me4_button.html#a810aabfe9b826610c16d53a6506e7fcb", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me4_button.png b/doc/html/class_me4_button.png new file mode 100644 index 00000000..de48db8d Binary files /dev/null and b/doc/html/class_me4_button.png differ diff --git a/doc/html/class_me4_button__coll__graph.map b/doc/html/class_me4_button__coll__graph.map new file mode 100644 index 00000000..ef1652b9 --- /dev/null +++ b/doc/html/class_me4_button__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me4_button__coll__graph.md5 b/doc/html/class_me4_button__coll__graph.md5 new file mode 100644 index 00000000..e7eb04c8 --- /dev/null +++ b/doc/html/class_me4_button__coll__graph.md5 @@ -0,0 +1 @@ +25d8ca65f5ba33b456dc6da9d51f798b \ No newline at end of file diff --git a/doc/html/class_me4_button__coll__graph.png b/doc/html/class_me4_button__coll__graph.png new file mode 100644 index 00000000..5474b3ae Binary files /dev/null and b/doc/html/class_me4_button__coll__graph.png differ diff --git a/doc/html/class_me4_button__inherit__graph.map b/doc/html/class_me4_button__inherit__graph.map new file mode 100644 index 00000000..ef1652b9 --- /dev/null +++ b/doc/html/class_me4_button__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me4_button__inherit__graph.md5 b/doc/html/class_me4_button__inherit__graph.md5 new file mode 100644 index 00000000..e7eb04c8 --- /dev/null +++ b/doc/html/class_me4_button__inherit__graph.md5 @@ -0,0 +1 @@ +25d8ca65f5ba33b456dc6da9d51f798b \ No newline at end of file diff --git a/doc/html/class_me4_button__inherit__graph.png b/doc/html/class_me4_button__inherit__graph.png new file mode 100644 index 00000000..5474b3ae Binary files /dev/null and b/doc/html/class_me4_button__inherit__graph.png differ diff --git a/doc/html/class_me7_segment_display-members.html b/doc/html/class_me7_segment_display-members.html new file mode 100644 index 00000000..0be28454 --- /dev/null +++ b/doc/html/class_me7_segment_display-members.html @@ -0,0 +1,153 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Me7SegmentDisplay Member List
+
+
+ +

This is the complete list of members for Me7SegmentDisplay, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
checkNum(float v, int16_t b)Me7SegmentDisplay
clearDisplay(void)Me7SegmentDisplay
coding(uint8_t DispData[])Me7SegmentDisplay
coding(uint8_t DispData)Me7SegmentDisplay
display(uint16_t value)Me7SegmentDisplay
display(int16_t value)Me7SegmentDisplay
display(float value)Me7SegmentDisplay
display(long value)Me7SegmentDisplay
display(double value, uint8_t=1)Me7SegmentDisplay
display(uint8_t DispData[])Me7SegmentDisplay
display(uint8_t BitAddr, uint8_t DispData)Me7SegmentDisplay
display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on)Me7SegmentDisplay
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
init(void)Me7SegmentDisplay
Me7SegmentDisplay(void)Me7SegmentDisplay
Me7SegmentDisplay(uint8_t port)Me7SegmentDisplay
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)Me7SegmentDisplay
MePort::reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
set(uint8_t=BRIGHTNESS_2, uint8_t=ADDR_AUTO, uint8_t=STARTADDR)Me7SegmentDisplay
setBrightness(uint8_t brightness)Me7SegmentDisplay
setpin(uint8_t dataPin, uint8_t clkPin)Me7SegmentDisplay
write(uint8_t SegData[])Me7SegmentDisplay
write(uint8_t BitAddr, uint8_t SegData)Me7SegmentDisplay
+
+ + + + diff --git a/doc/html/class_me7_segment_display.html b/doc/html/class_me7_segment_display.html new file mode 100644 index 00000000..79f98dd7 --- /dev/null +++ b/doc/html/class_me7_segment_display.html @@ -0,0 +1,923 @@ + + + + + + + +MakeBlock Drive Updated: Me7SegmentDisplay Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Me7SegmentDisplay Class Reference
+
+
+ +

Class for numeric display module. + More...

+ +

#include <src/Me7SegmentDisplay.h>

+
+Inheritance diagram for Me7SegmentDisplay:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for Me7SegmentDisplay:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Me7SegmentDisplay (void)
 
 Me7SegmentDisplay (uint8_t port)
 
void reset (uint8_t port)
 
void init (void)
 
void set (uint8_t=BRIGHTNESS_2, uint8_t=ADDR_AUTO, uint8_t=STARTADDR)
 
void setpin (uint8_t dataPin, uint8_t clkPin)
 
void write (uint8_t SegData[])
 
void write (uint8_t BitAddr, uint8_t SegData)
 
void display (uint16_t value)
 
void display (int16_t value)
 
void display (float value)
 
void display (long value)
 
int16_t checkNum (float v, int16_t b)
 
void display (double value, uint8_t=1)
 
void display (uint8_t DispData[])
 
void display (uint8_t BitAddr, uint8_t DispData)
 
void display (uint8_t BitAddr, uint8_t DispData, uint8_t point_on)
 
void clearDisplay (void)
 
void setBrightness (uint8_t brightness)
 
void coding (uint8_t DispData[])
 
uint8_t coding (uint8_t DispData)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Class for numeric display module.

+

Driver for Me 7-Segment Serial Display module.

+

Class: Me7SegmentDisplay

Description
Declaration of Class Me7SegmentDisplay.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ Me7SegmentDisplay() [1/2]

+ +
+
+ + + + + + + + +
Me7SegmentDisplay::Me7SegmentDisplay (void )
+
+

Alternate Constructor which can call your own function to map the 7-Segment display to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ Me7SegmentDisplay() [2/2]

+ +
+
+ + + + + + + + +
Me7SegmentDisplay::Me7SegmentDisplay (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the 7-Segment display to arduino port, the slot1 will be used for data pin and slot2 will used for clk pin.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ checkNum()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int16_t Me7SegmentDisplay::checkNum (float v,
int16_t b 
)
+
+
Function
checkNum
+
Description
Extraction values to be displayed of float data
+
Parameters
+ + + +
[in]v- Value to display.
[in]b- Value to display.
+
+
+
Output
None
+
Returns
The data removal of the decimal point
+
Others
None
+ +
+
+ +

◆ clearDisplay()

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::clearDisplay (void )
+
+

\Function clearDisplay \Description Clear display.

Output
None
+
Return
None
+
Others
None
+

\Function clearDisplay \Description Clear display.

Output
None
+
Return
None
+
Others
+ +
+
+ +

◆ coding() [1/2]

+ +
+
+ + + + + + + + +
uint8_t Me7SegmentDisplay::coding (uint8_t DispData)
+
+
Function
coding
+
Description
Return display data from look up table.
+
Parameters
+ + +
[in]DispData- Data need be transcoded.
+
+
+
Output
None
+
Returns
Return the value of transcoding
+
Others
None
+ +
+
+ +

◆ coding() [2/2]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::coding (uint8_t DispData[])
+
+
Function
coding
+
Description
Set display data using look up table.
+
Parameters
+ + +
[in]DispData[]- DataArray to display.
+
+
+
Output
DispData[] - DataArray be transcoded.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [1/8]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::display (double value,
uint8_t digits = 1 
)
+
+
Function
display
+
Description
Display double number.
+
Parameters
+ + + +
[in]value- Value to display.
[in]digits- Number of digits to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [2/8]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::display (float value)
+
+
Function
display
+
Description
Display certain value, and this value type is float
+
Parameters
+ + +
[in]value- Value to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [3/8]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::display (int16_t value)
+
+
Function
display
+
Description
Display certain value, and this value type is int16_t
+
Parameters
+ + +
[in]value- Value to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [4/8]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::display (long value)
+
+
Function
display
+
Description
Display certain value, and this value type is long
+
Parameters
+ + +
[in]value- Value to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [5/8]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::display (uint16_t value)
+
+
Function
display
+
Description
Display certain value, and this value type is uint16_t
+
Parameters
+ + +
[in]value- Value to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [6/8]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::display (uint8_t BitAddr,
uint8_t DispData 
)
+
+
Function
display
+
Description
Display data to certain digit.
+
Parameters
+ + + +
[in]BitAddr- Address to display.
[in]DispData- Data to display.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [7/8]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::display (uint8_t BitAddr,
uint8_t DispData,
uint8_t point_on 
)
+
+
Function
display
+
Description
Display data to certain digit.
+
Parameters
+ + + + +
[in]BitAddr- Address to display.
[in]DispData- Data to display.
[in]point_on- Display the point or not.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ display() [8/8]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::display (uint8_t DispData[])
+
+
Function
display
+
Description
Display 8 bit number array.
+
Parameters
+ + +
[in]DispData[]- The data that needs to be displayed store in this array.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::init (void )
+
+
Function
init
+
Description
Initialization the display, here just call function clearDisplay.
+
Output
None
+
Returns
None \others None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the port for Seven-Segment LED module, the prot here is RJ25 port from PORT_1 to M2.
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Return
None
+
Others
Set global variable _dataPin and _clkPin
+ +
+
+ +

◆ set()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::set (uint8_t brightness = BRIGHTNESS_2,
uint8_t SetData = ADDR_AUTO,
uint8_t SetAddr = STARTADDR 
)
+
+
Function
set
+
Description
Set brightness, data and address.
+
Parameters
+ + + + +
[in]brightness- Brightness, defined in Me7SegmentDisplay.h from BRIGHTNESS_0 to BRIGHTNESS_7.
[in]SetData- First address for display data
[in]SetAddr- First address for display
+
+
+
Output
Cmd_SetData - Private variable Cmd_SetData of class Me7SegmentDisplay. Cmd_SetAddr - Private variable Cmd_SetAddr of class Me7SegmentDisplay. Cmd_DispCtrl - Control command for Me 7 Segment Serial Display module.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setBrightness()

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::setBrightness (uint8_t brightness)
+
+
Function
setBrightness
+
Description
Set brightness.
+
Parameters
+ + +
[in]brightness- Brightness, defined in Me7SegmentDisplay.h from BRIGHTNESS_0 to BRIGHTNESS_7.
+
+
+
Output
Cmd_DispCtrl - Control command for Me 7 Segment Serial Display module.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::setpin (uint8_t dataPin,
uint8_t clkPin 
)
+
+
Function
setpin
+
Description
Reset Seven-Segment LED module's data pin and its clock pin then clear display.
+
Parameters
+ + + +
[in]dataPin- The DATA pin for Seven-Segment LED module(arduino port).
[in]clkPin- The CLK pin for Seven-Segment LED module(arduino port).
+
+
+
Output
None
+
Return
None
+
Others
Set global variable _KeyPin and _clkPin
+ +
+
+ +

◆ write() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Me7SegmentDisplay::write (uint8_t BitAddr,
uint8_t SegData 
)
+
+
Function
write
+
Description
Write data to certain address.
+
Parameters
+ + + +
[in]BitAddr- Bit address of data.
[in]SegData- Data to display.
+
+
+
Output
None
+
Returns
None \others None
+ +
+
+ +

◆ write() [2/2]

+ +
+
+ + + + + + + + +
void Me7SegmentDisplay::write (uint8_t SegData[])
+
+
Function
write
+
Description
White data array to certain address.
+
Parameters
+ + +
[in]SegData[]- Data array to write to module.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me7_segment_display.js b/doc/html/class_me7_segment_display.js new file mode 100644 index 00000000..e9745bb0 --- /dev/null +++ b/doc/html/class_me7_segment_display.js @@ -0,0 +1,24 @@ +var class_me7_segment_display = +[ + [ "Me7SegmentDisplay", "class_me7_segment_display.html#a0c19f7b481f2f4be039b1eee70b5057d", null ], + [ "Me7SegmentDisplay", "class_me7_segment_display.html#aa6bf9e53244dbd5b4432dbe96041cade", null ], + [ "checkNum", "class_me7_segment_display.html#a50109f40f87591fbe2a907768b03678c", null ], + [ "clearDisplay", "class_me7_segment_display.html#aa7cf32e953eae84bde132cc38e1b91db", null ], + [ "coding", "class_me7_segment_display.html#a496b175e3deca8df9709233b09194673", null ], + [ "coding", "class_me7_segment_display.html#ad19ac6b355cc8da9e77c2fee4a908814", null ], + [ "display", "class_me7_segment_display.html#a9a45a56ed65a1ecdcc10066825db0130", null ], + [ "display", "class_me7_segment_display.html#afb865fca3b56cec660fc78315d5a9268", null ], + [ "display", "class_me7_segment_display.html#aa35ed6811fb58e993044cce7ce0e24d6", null ], + [ "display", "class_me7_segment_display.html#a2152dcfb004b08bb5a2c04b7b2ad99c5", null ], + [ "display", "class_me7_segment_display.html#ac1d7b706bf23e38fbdf60b1caad42a4e", null ], + [ "display", "class_me7_segment_display.html#a2eb95cdb42445ae3f07b4c8bb586e24e", null ], + [ "display", "class_me7_segment_display.html#aef9737e226fe1158098c3cc35329f2cf", null ], + [ "display", "class_me7_segment_display.html#a763ccddf8a9fa6469713451505518808", null ], + [ "init", "class_me7_segment_display.html#a47525c61c0cdc531272eb50395df3ed1", null ], + [ "reset", "class_me7_segment_display.html#ac8d890fddfbd86a221d2d990ff8a405a", null ], + [ "set", "class_me7_segment_display.html#a761c4852237699b3504f901c3a30166c", null ], + [ "setBrightness", "class_me7_segment_display.html#a7761bf8b50f0a91a3c2b27b1230b1132", null ], + [ "setpin", "class_me7_segment_display.html#a76d0b14ce4e0146ab1620dd462014caa", null ], + [ "write", "class_me7_segment_display.html#a1057d40d5daa2f12170c95be7412bdb8", null ], + [ "write", "class_me7_segment_display.html#a4b5cfc6eea577542021edf8f812bff2f", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me7_segment_display.png b/doc/html/class_me7_segment_display.png new file mode 100644 index 00000000..790cb17b Binary files /dev/null and b/doc/html/class_me7_segment_display.png differ diff --git a/doc/html/class_me7_segment_display__coll__graph.map b/doc/html/class_me7_segment_display__coll__graph.map new file mode 100644 index 00000000..f76d17a5 --- /dev/null +++ b/doc/html/class_me7_segment_display__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me7_segment_display__coll__graph.md5 b/doc/html/class_me7_segment_display__coll__graph.md5 new file mode 100644 index 00000000..7ad08bf7 --- /dev/null +++ b/doc/html/class_me7_segment_display__coll__graph.md5 @@ -0,0 +1 @@ +5d1f8f2f884f98fa5cc05684d7a45004 \ No newline at end of file diff --git a/doc/html/class_me7_segment_display__coll__graph.png b/doc/html/class_me7_segment_display__coll__graph.png new file mode 100644 index 00000000..6b1ca4eb Binary files /dev/null and b/doc/html/class_me7_segment_display__coll__graph.png differ diff --git a/doc/html/class_me7_segment_display__inherit__graph.map b/doc/html/class_me7_segment_display__inherit__graph.map new file mode 100644 index 00000000..f76d17a5 --- /dev/null +++ b/doc/html/class_me7_segment_display__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me7_segment_display__inherit__graph.md5 b/doc/html/class_me7_segment_display__inherit__graph.md5 new file mode 100644 index 00000000..7ad08bf7 --- /dev/null +++ b/doc/html/class_me7_segment_display__inherit__graph.md5 @@ -0,0 +1 @@ +5d1f8f2f884f98fa5cc05684d7a45004 \ No newline at end of file diff --git a/doc/html/class_me7_segment_display__inherit__graph.png b/doc/html/class_me7_segment_display__inherit__graph.png new file mode 100644 index 00000000..6b1ca4eb Binary files /dev/null and b/doc/html/class_me7_segment_display__inherit__graph.png differ diff --git a/doc/html/class_me_bluetooth-members.html b/doc/html/class_me_bluetooth-members.html new file mode 100644 index 00000000..bee0540b --- /dev/null +++ b/doc/html/class_me_bluetooth-members.html @@ -0,0 +1,173 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBluetooth Member List
+
+
+ +

This is the complete list of members for MeBluetooth, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
MeBluetooth()MeBluetooth
MeBluetooth(uint8_t port)MeBluetooth
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeSerialvirtual
readDataLine(void) (defined in MeSerial)MeSerial
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_bluetooth.html b/doc/html/class_me_bluetooth.html new file mode 100644 index 00000000..2614d370 --- /dev/null +++ b/doc/html/class_me_bluetooth.html @@ -0,0 +1,378 @@ + + + + + + + +MakeBlock Drive Updated: MeBluetooth Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBluetooth Class Reference
+
+
+ +

Driver for Me Bluetooth device. + More...

+ +

#include <src/MeBluetooth.h>

+
+Inheritance diagram for MeBluetooth:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeBluetooth:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeBluetooth ()
 
 MeBluetooth (uint8_t port)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Bluetooth device.

+

Class: MeBluetooth

Description
Declaration of Class MeBluetooth.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeBluetooth() [1/2]

+ +
+
+ + + + + + + +
MeBluetooth::MeBluetooth ()
+
+

Alternate Constructor which can call your own function to map the Bluetooth to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeBluetooth() [2/2]

+ +
+
+ + + + + + + + +
MeBluetooth::MeBluetooth (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Bluetooth to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_bluetooth.js b/doc/html/class_me_bluetooth.js new file mode 100644 index 00000000..5db156c5 --- /dev/null +++ b/doc/html/class_me_bluetooth.js @@ -0,0 +1,5 @@ +var class_me_bluetooth = +[ + [ "MeBluetooth", "class_me_bluetooth.html#a178daf00e8d835bf72327d67816c6863", null ], + [ "MeBluetooth", "class_me_bluetooth.html#afa9957e066a599bac84a4cd389bacc27", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_bluetooth.png b/doc/html/class_me_bluetooth.png new file mode 100644 index 00000000..8aceb1dd Binary files /dev/null and b/doc/html/class_me_bluetooth.png differ diff --git a/doc/html/class_me_bluetooth__coll__graph.map b/doc/html/class_me_bluetooth__coll__graph.map new file mode 100644 index 00000000..de81e8e0 --- /dev/null +++ b/doc/html/class_me_bluetooth__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_bluetooth__coll__graph.md5 b/doc/html/class_me_bluetooth__coll__graph.md5 new file mode 100644 index 00000000..7d335197 --- /dev/null +++ b/doc/html/class_me_bluetooth__coll__graph.md5 @@ -0,0 +1 @@ +d1293f480de585bb79e1a7ea6bfbc63e \ No newline at end of file diff --git a/doc/html/class_me_bluetooth__coll__graph.png b/doc/html/class_me_bluetooth__coll__graph.png new file mode 100644 index 00000000..7159878d Binary files /dev/null and b/doc/html/class_me_bluetooth__coll__graph.png differ diff --git a/doc/html/class_me_bluetooth__inherit__graph.map b/doc/html/class_me_bluetooth__inherit__graph.map new file mode 100644 index 00000000..de81e8e0 --- /dev/null +++ b/doc/html/class_me_bluetooth__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_bluetooth__inherit__graph.md5 b/doc/html/class_me_bluetooth__inherit__graph.md5 new file mode 100644 index 00000000..7d335197 --- /dev/null +++ b/doc/html/class_me_bluetooth__inherit__graph.md5 @@ -0,0 +1 @@ +d1293f480de585bb79e1a7ea6bfbc63e \ No newline at end of file diff --git a/doc/html/class_me_bluetooth__inherit__graph.png b/doc/html/class_me_bluetooth__inherit__graph.png new file mode 100644 index 00000000..7159878d Binary files /dev/null and b/doc/html/class_me_bluetooth__inherit__graph.png differ diff --git a/doc/html/class_me_buzzer-members.html b/doc/html/class_me_buzzer-members.html new file mode 100644 index 00000000..e2674fa3 --- /dev/null +++ b/doc/html/class_me_buzzer-members.html @@ -0,0 +1,141 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeBuzzer Member List
+
+
+ +

This is the complete list of members for MeBuzzer, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeBuzzer()MeBuzzer
MeBuzzer(uint8_t port)MeBuzzer
MeBuzzer(uint8_t port, uint8_t slot)MeBuzzer
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
noTone(int pin)MeBuzzer
noTone()MeBuzzer
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(int pin)MeBuzzer
tone(int pin, uint16_t frequency, uint32_t duration)MeBuzzer
tone(uint16_t frequency, uint32_t duration=0)MeBuzzer
+
+ + + + diff --git a/doc/html/class_me_buzzer.html b/doc/html/class_me_buzzer.html new file mode 100644 index 00000000..e2f60192 --- /dev/null +++ b/doc/html/class_me_buzzer.html @@ -0,0 +1,476 @@ + + + + + + + +MakeBlock Drive Updated: MeBuzzer Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeBuzzer Class Reference
+
+
+ +

Driver for Me Buzzer module. + More...

+ +

#include <src/MeBuzzer.h>

+
+Inheritance diagram for MeBuzzer:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeBuzzer:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeBuzzer ()
 
 MeBuzzer (uint8_t port)
 
 MeBuzzer (uint8_t port, uint8_t slot)
 
void setpin (int pin)
 
void tone (int pin, uint16_t frequency, uint32_t duration)
 
void tone (uint16_t frequency, uint32_t duration=0)
 
void noTone (int pin)
 
void noTone ()
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Buzzer module.

+

Class: MeBuzzer

Description
Declaration of Class MeBuzzer.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeBuzzer() [1/3]

+ +
+
+ + + + + + + +
MeBuzzer::MeBuzzer ()
+
+

Alternate Constructor which can call your own function to map the buzzer to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+

Alternate Constructor which can call your own function to map the Buzzer to arduino port, Buzzer pins are used and initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeBuzzer() [2/3]

+ +
+
+ + + + + + + + +
MeBuzzer::MeBuzzer (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Buzzer to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeBuzzer() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeBuzzer::MeBuzzer (uint8_t port,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the Buzzer to arduino port, you can set any slot for the buzzer device.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ noTone() [1/2]

+ +
+
+ + + + + + + +
void MeBuzzer::noTone ()
+
+
Function
noTone
+
Description
Do not playing the tones.
+
Parameters
+ + +
[in]None
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ noTone() [2/2]

+ +
+
+ + + + + + + + +
void MeBuzzer::noTone (int pin)
+
+
Function
noTone
+
Description
Do not playing the tones.
+
Parameters
+ + +
[in]pin- Which pin on board that buzzer is connecting to.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeBuzzer::setpin (int pin)
+
+
Function
setpin
+
Description
Reset the buzzer available pin by its arduino port.
+
Parameters
+ + +
[in]pin- arduino port for buzzer detect pin.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ tone() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeBuzzer::tone (int pin,
uint16_t frequency,
uint32_t duration 
)
+
+
Function
tone
+
Description
Playing the tones.
+
Parameters
+ + + + +
[in]pin- Which pin on board that buzzer is connecting to.
[in]frequency- The speed of buzzer's tone play.
[in]duration- Time of a tone play.
+
+
+
Output
None \Return None.
+
Others
Frequency (in hertz) and duration (in milliseconds).
+ +
+
+ +

◆ tone() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeBuzzer::tone (uint16_t frequency,
uint32_t duration = 0 
)
+
+
Function
tone
+
Description
Playing the tones.
+
Parameters
+ + + +
[in]frequency- The speed of buzzer's tone play.
[in]duration- Time of a tone play.
+
+
+
Output
None \Return None.
+
Others
Frequency (in hertz) and duration (in milliseconds).
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_buzzer.js b/doc/html/class_me_buzzer.js new file mode 100644 index 00000000..069daa5b --- /dev/null +++ b/doc/html/class_me_buzzer.js @@ -0,0 +1,11 @@ +var class_me_buzzer = +[ + [ "MeBuzzer", "class_me_buzzer.html#a227e3cc7515146d9f5951184f4c285fe", null ], + [ "MeBuzzer", "class_me_buzzer.html#a5af903da92e6142eae69ae7c12eebcbe", null ], + [ "MeBuzzer", "class_me_buzzer.html#a545e0f080ecc289e7d39aa81954e08d6", null ], + [ "noTone", "class_me_buzzer.html#a17f2d0a133f49125f2aa24dd970e926f", null ], + [ "noTone", "class_me_buzzer.html#a25ea6412895981c00bc9ff67dbacb7d0", null ], + [ "setpin", "class_me_buzzer.html#a5b6bba509b80d4239b1480822f2737dc", null ], + [ "tone", "class_me_buzzer.html#abac0ae73dab72895c956f2f11ca032ac", null ], + [ "tone", "class_me_buzzer.html#aa412cf2bc1512c389f4d729037e16ed0", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_buzzer.png b/doc/html/class_me_buzzer.png new file mode 100644 index 00000000..b34dcfee Binary files /dev/null and b/doc/html/class_me_buzzer.png differ diff --git a/doc/html/class_me_buzzer__coll__graph.map b/doc/html/class_me_buzzer__coll__graph.map new file mode 100644 index 00000000..92c01f41 --- /dev/null +++ b/doc/html/class_me_buzzer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_buzzer__coll__graph.md5 b/doc/html/class_me_buzzer__coll__graph.md5 new file mode 100644 index 00000000..b80dbb09 --- /dev/null +++ b/doc/html/class_me_buzzer__coll__graph.md5 @@ -0,0 +1 @@ +31f592bb7ee8d7cd853cc1691fc66eeb \ No newline at end of file diff --git a/doc/html/class_me_buzzer__coll__graph.png b/doc/html/class_me_buzzer__coll__graph.png new file mode 100644 index 00000000..c24d9230 Binary files /dev/null and b/doc/html/class_me_buzzer__coll__graph.png differ diff --git a/doc/html/class_me_buzzer__inherit__graph.map b/doc/html/class_me_buzzer__inherit__graph.map new file mode 100644 index 00000000..92c01f41 --- /dev/null +++ b/doc/html/class_me_buzzer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_buzzer__inherit__graph.md5 b/doc/html/class_me_buzzer__inherit__graph.md5 new file mode 100644 index 00000000..b80dbb09 --- /dev/null +++ b/doc/html/class_me_buzzer__inherit__graph.md5 @@ -0,0 +1 @@ +31f592bb7ee8d7cd853cc1691fc66eeb \ No newline at end of file diff --git a/doc/html/class_me_buzzer__inherit__graph.png b/doc/html/class_me_buzzer__inherit__graph.png new file mode 100644 index 00000000..c24d9230 Binary files /dev/null and b/doc/html/class_me_buzzer__inherit__graph.png differ diff --git a/doc/html/class_me_color_sensor-members.html b/doc/html/class_me_color_sensor-members.html new file mode 100644 index 00000000..03efa720 --- /dev/null +++ b/doc/html/class_me_color_sensor-members.html @@ -0,0 +1,159 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeColorSensor Member List
+
+
+ +

This is the complete list of members for MeColorSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
ColorDataRead(void)MeColorSensor
ColorDataReadOnebyOne(void)MeColorSensor
ColorIdentify(void)MeColorSensor
Device_Address (defined in MeColorSensor)MeColorSensor
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MAX(uint8_t r, uint8_t g, uint8_t b)MeColorSensor
MeColorSensor(void)MeColorSensor
MeColorSensor(uint8_t port)MeColorSensor
MeColorSensor(uint8_t port, uint8_t address)MeColorSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MIN(uint8_t r, uint8_t g, uint8_t b)MeColorSensor
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
readData(uint8_t start, uint8_t *buffer, uint8_t size)MeColorSensor
ReportId(void)MeColorSensor
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
ReturnBlueData(void)MeColorSensor
ReturnColorCode(void)MeColorSensor
ReturnColorData(void)MeColorSensor
ReturnColorhue(void)MeColorSensor
ReturnGrayscale(void)MeColorSensor
ReturnGreenData(void)MeColorSensor
ReturnRedData(void)MeColorSensor
Returnresult(void)MeColorSensor
s1MePortprotected
s2MePortprotected
SensorInit(void)MeColorSensor
TurnOffLight(void)MeColorSensor
TurnOffmodule(void)MeColorSensor
TurnOnLight(void)MeColorSensor
TurnOnmodule(void)MeColorSensor
writeData(uint8_t start, const uint8_t *pData, uint8_t size)MeColorSensor
writeReg(int16_t reg, uint8_t data)MeColorSensor
+
+ + + + diff --git a/doc/html/class_me_color_sensor.html b/doc/html/class_me_color_sensor.html new file mode 100644 index 00000000..547a578b --- /dev/null +++ b/doc/html/class_me_color_sensor.html @@ -0,0 +1,1182 @@ + + + + + + + +MakeBlock Drive Updated: MeColorSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeColorSensor Class Reference
+
+
+ +

Driver for MeColorSensor module. + More...

+
+Inheritance diagram for MeColorSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeColorSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeColorSensor (void)
 
 MeColorSensor (uint8_t port)
 
 MeColorSensor (uint8_t port, uint8_t address)
 
void SensorInit (void)
 
uint8_t ReportId (void)
 
void ColorDataRead (void)
 
uint8_t ColorDataReadOnebyOne (void)
 
long ReturnColorCode (void)
 
uint8_t ColorIdentify (void)
 
uint8_t Returnresult (void)
 
uint8_t ReturnGrayscale (void)
 
uint16_t ReturnColorhue (void)
 
uint16_t ReturnRedData (void)
 
uint16_t ReturnGreenData (void)
 
uint16_t ReturnBlueData (void)
 
uint16_t ReturnColorData (void)
 
void TurnOnLight (void)
 
void TurnOffLight (void)
 
void TurnOffmodule (void)
 
void TurnOnmodule (void)
 
int8_t writeReg (int16_t reg, uint8_t data)
 
int8_t readData (uint8_t start, uint8_t *buffer, uint8_t size)
 
int8_t writeData (uint8_t start, const uint8_t *pData, uint8_t size)
 
uint8_t MAX (uint8_t r, uint8_t g, uint8_t b)
 
uint8_t MIN (uint8_t r, uint8_t g, uint8_t b)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + +

+Public Attributes

+uint8_t Device_Address
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for MeColorSensor module.

+
Copyright (C), 2012-2017, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeColorSensor() [1/3]

+ +
+
+ + + + + + + + +
MeColorSensor::MeColorSensor (void )
+
+

Alternate Constructor which can call your own function to map the MeColorSensor to arduino port, no pins are used or initialized here

+ +
+
+ +

◆ MeColorSensor() [2/3]

+ +
+
+ + + + + + + + +
MeColorSensor::MeColorSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeColorSensor to arduino port.

Parameters
+ + +
[in]port- RJ25 port number
+
+
+

Alternate Constructor which can call your own function to map the MeColorSensor to arduino port,

Parameters
+ + +
[in]port- RJ25 port number
+
+
+ +
+
+ +

◆ MeColorSensor() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeColorSensor::MeColorSensor (uint8_t port,
uint8_t address 
)
+
+

Alternate Constructor which can call your own function to map the MeColorSensor to arduino port and change the i2c device address

Parameters
+ + + +
[in]port- RJ25 port number
[in]address- the i2c address you want to set
+
+
+ +
+
+

Member Function Documentation

+ +

◆ ColorDataRead()

+ +
+
+ + + + + + + + +
void MeColorSensor::ColorDataRead (void )
+
+
Function
ColorDataRead
+
Description
read the MeColorSensor module color data.
+
Parameters
+ + +
[in]None
+
+
+
Output
color RGB value
+
Returns
None
+
Others
None
+ +
+
+ +

◆ ColorDataReadOnebyOne()

+ +
+
+ + + + + + + + +
uint8_t MeColorSensor::ColorDataReadOnebyOne (void )
+
+
Function
ColorDataReadOnebyOne
+
Description
one by on to read the MeColorSensor module color data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ColorDataReadOnebyOne
+
Description
one by on to read the MeColorSensor module color data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return 0 is detected ID,else return Black
+
Others
None
+ +
+
+ +

◆ ColorIdentify()

+ +
+
+ + + + + + + + +
uint8_t MeColorSensor::ColorIdentify (void )
+
+
Function
ColorIdentify
+
Description
Identify Color for the Module.when you want to use two modules, you can use this methods to get data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ColorIdentify
+
Description
Identify Color for the Module.when you want to use two modules, you can use this methods to get data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return Color result
+
Others
None
+ +
+
+ +

◆ MAX()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint8_t MeColorSensor::MAX (uint8_t r,
uint8_t g,
uint8_t b 
)
+
+
Function
MAX
+
Description
find the max one from r g b.
+
Parameters
+ + +
[in]rg b
+
+
+
+
Output
None
+
Returns
Return the max one.
+
Others
+ +
+
+ +

◆ MIN()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
uint8_t MeColorSensor::MIN (uint8_t r,
uint8_t g,
uint8_t b 
)
+
+
Function
MIN
+
Description
find the min one from r g b.
+
Parameters
+ + +
[in]rg b
+
+
+
+
Output
None
+
Returns
Return the min one.
+
Others
+ +
+
+ +

◆ readData()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int8_t MeColorSensor::readData (uint8_t start,
uint8_t * buffer,
uint8_t size 
)
+
+
Function
readData
+
Description
Write the data to i2c device.
+
Parameters
+ + + + +
[in]start- the address which will write the data to.
[in]pData- the head address of data array.
[in]size- set the number of data will be written to the devide.
+
+
+
Output
None
+
Returns
Return the error code. the definition of the value of variable return_value: 0:success 1:BUFFER_LENGTH is shorter than size 2:address send, nack received 3:data send, nack received 4:other twi error refer to the arduino official library twi.c
+
Others
Calling the official i2c library to read data.
+ +
+
+ +

◆ ReportId()

+ +
+
+ + + + + + + + +
uint8_t MeColorSensor::ReportId (void )
+
+
Function
ReportId
+
Description
Report the MeColorSensor Module ID.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
default ID 0xE0
+
Others
None
+
Function
ReportId
+
Description
Report the MeColorSensor Module ID.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return default ID 0xE0
+
Others
None
+ +
+
+ +

◆ ReturnBlueData()

+ +
+
+ + + + + + + + +
uint16_t MeColorSensor::ReturnBlueData (void )
+
+
Function
ReturnBlueData
+
Description
Return Color Blue value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnBlueData
+
Description
Return Color Blue value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return blue value
+
Others
None
+ +
+
+ +

◆ ReturnColorCode()

+ +
+
+ + + + + + + + +
long MeColorSensor::ReturnColorCode (void )
+
+
Function
ReturnColorCode
+
Description
Return the MeColorSensor Color Code.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnColorCode
+
Description
Return the MeColorSensor Color Code.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return color RGB code
+
Others
None
+ +
+
+ +

◆ ReturnColorData()

+ +
+
+ + + + + + + + +
uint16_t MeColorSensor::ReturnColorData (void )
+
+
Function
ReturnColorData
+
Description
Return Color data value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnColorData
+
Description
Return Color data value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return color data value
+
Others
None
+ +
+
+ +

◆ ReturnColorhue()

+ +
+
+ + + + + + + + +
uint16_t MeColorSensor::ReturnColorhue (void )
+
+
Function
ReturnColorhue
+
Description
Return Color hue.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnColorhue
+
Description
Return Color hue.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return color hue
+
Others
None
+ +
+
+ +

◆ ReturnGrayscale()

+ +
+
+ + + + + + + + +
uint8_t MeColorSensor::ReturnGrayscale (void )
+
+
Function
ReturnGrayscale
+
Description
Return Color Grayscale.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
Gray = R*0.299 + G*0.587 + B*0.114 Gray = (r*38 + g*75 + b*15)>>7;
+
+
Function
ReturnGrayscale
+
Description
Return Color Grayscale.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return Color Grayscale value
+
Others
Gray = R*0.299 + G*0.587 + B*0.114 Gray = (r*38 + g*75 + b*15)>>7;
+
+ +
+
+ +

◆ ReturnGreenData()

+ +
+
+ + + + + + + + +
uint16_t MeColorSensor::ReturnGreenData (void )
+
+
Function
ReturnGreenData
+
Description
Return Color Green value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnGreenData
+
Description
Return Color Green value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return green value
+
Others
None
+ +
+
+ +

◆ ReturnRedData()

+ +
+
+ + + + + + + + +
uint16_t MeColorSensor::ReturnRedData (void )
+
+
Function
ReturnRedData
+
Description
Return Color Red value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
ReturnRedData
+
Description
Return Color Red value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return red value
+
Others
None
+ +
+
+ +

◆ Returnresult()

+ +
+
+ + + + + + + + +
uint8_t MeColorSensor::Returnresult (void )
+
+
Function
Returnresult
+
Description
Identify Color for the Module.when you use just one module, you can use this methods to get data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
Returnresult
+
Description
Identify Color for the Module.when you use just one module, you can use this methods to get data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
return color result
+
Others
None
+ +
+
+ +

◆ SensorInit()

+ +
+
+ + + + + + + + +
void MeColorSensor::SensorInit (void )
+
+
Function
SensorInit
+
Description
Initialize the MeColorSensor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
You can check the bh1745 datasheet for the registor address.
+ +
+
+ +

◆ TurnOffLight()

+ +
+
+ + + + + + + + +
void MeColorSensor::TurnOffLight (void )
+
+
Function
TurnOffLight
+
Description
Turn Off the MeColorSensor module Light.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ TurnOffmodule()

+ +
+
+ + + + + + + + +
void MeColorSensor::TurnOffmodule (void )
+
+
Function
TurnOffmodule
+
Description
Turn Off the MeColorSensor module.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ TurnOnLight()

+ +
+
+ + + + + + + + +
void MeColorSensor::TurnOnLight (void )
+
+
Function
TurnOnLight
+
Description
Turn On the MeColorSensor module Light.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ TurnOnmodule()

+ +
+
+ + + + + + + + +
void MeColorSensor::TurnOnmodule (void )
+
+
Function
TurnOnmodule
+
Description
Turn On the MeColorSensor module.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ writeData()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int8_t MeColorSensor::writeData (uint8_t start,
const uint8_t * pData,
uint8_t size 
)
+
+
Function
writeData
+
Description
Write the data to i2c device.
+
Parameters
+ + + + +
[in]start- the address which will write the data to.
[in]pData- the head address of data array.
[in]size- set the number of data will be written to the devide.
+
+
+
Output
None
+
Returns
Return the error code. the definition of the value of variable return_value: 0:success 1:BUFFER_LENGTH is shorter than size 2:address send, nack received 3:data send, nack received 4:other twi error refer to the arduino official library twi.c
+
Others
Calling the official i2c library to write data.
+ +
+
+ +

◆ writeReg()

+ +
+
+ + + + + + + + + + + + + + + + + + +
int8_t MeColorSensor::writeReg (int16_t reg,
uint8_t data 
)
+
+
Function
writeReg
+
Description
write the MeColorSensor module register.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
Return the error code. the definition of the value of variable return_value: 0:success 1:BUFFER_LENGTH is shorter than size 2:address send, nack received 3:data send, nack received 4:other twi error refer to the arduino official library twi.c
+
Others
To set the register for initializing.
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_color_sensor.js b/doc/html/class_me_color_sensor.js new file mode 100644 index 00000000..c8a16953 --- /dev/null +++ b/doc/html/class_me_color_sensor.js @@ -0,0 +1,28 @@ +var class_me_color_sensor = +[ + [ "MeColorSensor", "class_me_color_sensor.html#af5fe6429a8b59d988c0edb070cdf66ab", null ], + [ "MeColorSensor", "class_me_color_sensor.html#a0c82b287c01d688df13fadedf0737014", null ], + [ "MeColorSensor", "class_me_color_sensor.html#a09474c3805cbbff251af6699425d6742", null ], + [ "ColorDataRead", "class_me_color_sensor.html#aa033b29d7464ebcbcf74e47794383e09", null ], + [ "ColorDataReadOnebyOne", "class_me_color_sensor.html#a88ff70346c30ab33df2f02d964da6c17", null ], + [ "ColorIdentify", "class_me_color_sensor.html#a37adb003fab4d09e2cc014c713e35e57", null ], + [ "MAX", "class_me_color_sensor.html#a33fedc7e60aad74cf937389b82c1943e", null ], + [ "MIN", "class_me_color_sensor.html#a7731131a09e0e0bc4121cd30353db745", null ], + [ "readData", "class_me_color_sensor.html#aeb6c09291008af8b013e5462331e5c08", null ], + [ "ReportId", "class_me_color_sensor.html#a1728909fc7199b95ad3e35734b3a16a6", null ], + [ "ReturnBlueData", "class_me_color_sensor.html#a0a04f1d0592fb21febf7a7583fa9a9d9", null ], + [ "ReturnColorCode", "class_me_color_sensor.html#a403b066a178b7c438dab069bfed11dd7", null ], + [ "ReturnColorData", "class_me_color_sensor.html#aea344bb117b012fb27ee6ed8ebf17c73", null ], + [ "ReturnColorhue", "class_me_color_sensor.html#ae0c377ebb860b67ebf01aae23722dc31", null ], + [ "ReturnGrayscale", "class_me_color_sensor.html#af4713622f9fdb6487e9798b47a62e008", null ], + [ "ReturnGreenData", "class_me_color_sensor.html#a2ceb9fec73cf92a98421c3606a324320", null ], + [ "ReturnRedData", "class_me_color_sensor.html#aa5cf33bebe6d653a7164551629447287", null ], + [ "Returnresult", "class_me_color_sensor.html#a96d8182a6239e536fb56792346371734", null ], + [ "SensorInit", "class_me_color_sensor.html#a1efe278e3a311adc4239a8ca9042447c", null ], + [ "TurnOffLight", "class_me_color_sensor.html#ab686f3e727861bc47ddbabb914f9c3a1", null ], + [ "TurnOffmodule", "class_me_color_sensor.html#a836878156e0d4b820b92769cd5df50f5", null ], + [ "TurnOnLight", "class_me_color_sensor.html#a51c9c3cbcd5af42ec1f3fac7b4bf3818", null ], + [ "TurnOnmodule", "class_me_color_sensor.html#a50a015a94ddab045cde3536a1f9bce44", null ], + [ "writeData", "class_me_color_sensor.html#a9ba779e9fc9841177d80abf17cd4f973", null ], + [ "writeReg", "class_me_color_sensor.html#aa4a1ce0523ec234b68387d0a38becab4", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_color_sensor.png b/doc/html/class_me_color_sensor.png new file mode 100644 index 00000000..6d69c93a Binary files /dev/null and b/doc/html/class_me_color_sensor.png differ diff --git a/doc/html/class_me_color_sensor__coll__graph.map b/doc/html/class_me_color_sensor__coll__graph.map new file mode 100644 index 00000000..ec5bdb33 --- /dev/null +++ b/doc/html/class_me_color_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_color_sensor__coll__graph.md5 b/doc/html/class_me_color_sensor__coll__graph.md5 new file mode 100644 index 00000000..d7f7fafd --- /dev/null +++ b/doc/html/class_me_color_sensor__coll__graph.md5 @@ -0,0 +1 @@ +103d243d83f1abb5c178ffb37a809c75 \ No newline at end of file diff --git a/doc/html/class_me_color_sensor__coll__graph.png b/doc/html/class_me_color_sensor__coll__graph.png new file mode 100644 index 00000000..fe93d149 Binary files /dev/null and b/doc/html/class_me_color_sensor__coll__graph.png differ diff --git a/doc/html/class_me_color_sensor__inherit__graph.map b/doc/html/class_me_color_sensor__inherit__graph.map new file mode 100644 index 00000000..ec5bdb33 --- /dev/null +++ b/doc/html/class_me_color_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_color_sensor__inherit__graph.md5 b/doc/html/class_me_color_sensor__inherit__graph.md5 new file mode 100644 index 00000000..d7f7fafd --- /dev/null +++ b/doc/html/class_me_color_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +103d243d83f1abb5c178ffb37a809c75 \ No newline at end of file diff --git a/doc/html/class_me_color_sensor__inherit__graph.png b/doc/html/class_me_color_sensor__inherit__graph.png new file mode 100644 index 00000000..fe93d149 Binary files /dev/null and b/doc/html/class_me_color_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_compass-members.html b/doc/html/class_me_compass-members.html new file mode 100644 index 00000000..d1a36497 --- /dev/null +++ b/doc/html/class_me_compass-members.html @@ -0,0 +1,144 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeCompass Member List
+
+
+ +

This is the complete list of members for MeCompass, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(void)MeCompass
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getAngle(void)MeCompass
getHeading(int16_t *x, int16_t *y, int16_t *z)MeCompass
getHeadingX(void)MeCompass
getHeadingY(void)MeCompass
getHeadingZ(void)MeCompass
getPort(void)MePort
getSlot(void)MePort
MeCompass()MeCompass
MeCompass(uint8_t port)MeCompass
MeCompass(uint8_t port, uint8_t address)MeCompass
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t keyPin, uint8_t ledPin)MeCompass
testConnection(void)MeCompass
+
+ + + + diff --git a/doc/html/class_me_compass.html b/doc/html/class_me_compass.html new file mode 100644 index 00000000..3deaa987 --- /dev/null +++ b/doc/html/class_me_compass.html @@ -0,0 +1,563 @@ + + + + + + + +MakeBlock Drive Updated: MeCompass Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeCompass Class Reference
+
+
+ +

Driver for MeCompass module. + More...

+ +

#include <src/MeCompass.h>

+
+Inheritance diagram for MeCompass:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeCompass:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeCompass ()
 
 MeCompass (uint8_t port)
 
 MeCompass (uint8_t port, uint8_t address)
 
void setpin (uint8_t keyPin, uint8_t ledPin)
 
void begin (void)
 
bool testConnection (void)
 
double getAngle (void)
 
int16_t getHeadingX (void)
 
int16_t getHeadingY (void)
 
int16_t getHeadingZ (void)
 
int16_t getHeading (int16_t *x, int16_t *y, int16_t *z)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for MeCompass module.

+

Class: MeCompass

Description
Declaration of Class MeCompass
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeCompass() [1/3]

+ +
+
+ + + + + + + +
MeCompass::MeCompass ()
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port, no pins are used or initialized here

+ +
+
+ +

◆ MeCompass() [2/3]

+ +
+
+ + + + + + + + +
MeCompass::MeCompass (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeCompass() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeCompass::MeCompass (uint8_t port,
uint8_t address 
)
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port and change the i2c device address no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]address- the i2c address you want to set
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeCompass::begin (void )
+
+
Function
begin
+
Description
Initialize the MeCompass.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
You can check the HMC5883 datasheet for the macro definition.
+ +
+
+ +

◆ getAngle()

+ +
+
+ + + + + + + + +
double MeCompass::getAngle (void )
+
+
Function
getAngle
+
Description
Calculate the yaw angle by the calibrated sensor value.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The angle value from 0 to 360 degrees. If not success, return an error code.
+
Others
Will return a correct angle when you keep the MeCompass working in the plane which have calibrated.
+ +
+
+ +

◆ getHeading()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int16_t MeCompass::getHeading (int16_t * x,
int16_t * y,
int16_t * z 
)
+
+
Function
getHeading
+
Description
Get the sensor value of 3 axes including X-axis, Y-axis and Z-axis.
+
Parameters
+ + + + +
[in]x- the address of the variable you want to store the value in.
[in]y- the address of the variable you want to store the value in.
[in]z- the address of the variable you want to store the value in.
+
+
+
Output
None
+
Returns
If error, will return a error code, else return 0.
+
Others
The sequence of the sensor data registors of HMC5883 is X, Z, Y.
+ +
+
+ +

◆ getHeadingX()

+ +
+
+ + + + + + + + +
int16_t MeCompass::getHeadingX (void )
+
+
Function
getHeadingX
+
Description
Get the sensor value of X-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The sensor value of X-axis. If error, will return a error code.
+
Others
The sensor value is a 16 bits signed integer.
+ +
+
+ +

◆ getHeadingY()

+ +
+
+ + + + + + + + +
int16_t MeCompass::getHeadingY (void )
+
+
Function
getHeadingY
+
Description
Get the sensor value of Y-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The sensor value of Y-axis. If error, will return a error code.
+
Others
The sensor value is a 16 bits signed integer.
+ +
+
+ +

◆ getHeadingZ()

+ +
+
+ + + + + + + + +
int16_t MeCompass::getHeadingZ (void )
+
+
Function
getHeadingZ
+
Description
Get the sensor value of Z-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The sensor value of Z-axis. If error, will return a error code.
+
Others
The sensor value is a 16 bits signed integer.
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeCompass::setpin (uint8_t keyPin,
uint8_t ledPin 
)
+
+
Function
setpin
+
Description
Set the PIN of the button module.
+
Parameters
+ + + +
[in]keyPin- pin mapping for arduino
[in]ledPin- pin mapping for arduino
+
+
+
Output
None
+
Returns
None.
+
Others
Set global variable _KeyPin, _ledPin, s1 and s2
+ +
+
+ +

◆ testConnection()

+ +
+
+ + + + + + + + +
bool MeCompass::testConnection (void )
+
+
Function
testConnection
+
Description
Identify the device whether is the MeCompass.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
true or false
+
Others
You can check the HMC5883 datasheet for the identification code.
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_compass.js b/doc/html/class_me_compass.js new file mode 100644 index 00000000..5ac9220c --- /dev/null +++ b/doc/html/class_me_compass.js @@ -0,0 +1,14 @@ +var class_me_compass = +[ + [ "MeCompass", "class_me_compass.html#a2713d01cf20bac751fa1ac0d5ac0e00c", null ], + [ "MeCompass", "class_me_compass.html#af6727a5bdba3f2042adeec5d5a61285d", null ], + [ "MeCompass", "class_me_compass.html#ab15cfe4fdf45cc69008bef9cf39f4abf", null ], + [ "begin", "class_me_compass.html#aa514632f78e2095ee341e146789cc6b3", null ], + [ "getAngle", "class_me_compass.html#a544592a96b717dfd4d7f7357d22440a6", null ], + [ "getHeading", "class_me_compass.html#a151c87c12cdcf667faf5f307bae8e418", null ], + [ "getHeadingX", "class_me_compass.html#a968a8f7bc7534fefc8aad19b56472be4", null ], + [ "getHeadingY", "class_me_compass.html#a39e81714f6c14f8dcc0faec9330eaa2c", null ], + [ "getHeadingZ", "class_me_compass.html#ae0cb31dcc67e6a1f25292edd9506046d", null ], + [ "setpin", "class_me_compass.html#acb63b0ff0fdfb216718b827f66f2915e", null ], + [ "testConnection", "class_me_compass.html#a20480fba91e33e557ffb210ff06681d6", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_compass.png b/doc/html/class_me_compass.png new file mode 100644 index 00000000..84caee18 Binary files /dev/null and b/doc/html/class_me_compass.png differ diff --git a/doc/html/class_me_compass__coll__graph.map b/doc/html/class_me_compass__coll__graph.map new file mode 100644 index 00000000..6814c691 --- /dev/null +++ b/doc/html/class_me_compass__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_compass__coll__graph.md5 b/doc/html/class_me_compass__coll__graph.md5 new file mode 100644 index 00000000..7fd0c01d --- /dev/null +++ b/doc/html/class_me_compass__coll__graph.md5 @@ -0,0 +1 @@ +34872883eb17077d625705488328c6ce \ No newline at end of file diff --git a/doc/html/class_me_compass__coll__graph.png b/doc/html/class_me_compass__coll__graph.png new file mode 100644 index 00000000..2c261387 Binary files /dev/null and b/doc/html/class_me_compass__coll__graph.png differ diff --git a/doc/html/class_me_compass__inherit__graph.map b/doc/html/class_me_compass__inherit__graph.map new file mode 100644 index 00000000..6814c691 --- /dev/null +++ b/doc/html/class_me_compass__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_compass__inherit__graph.md5 b/doc/html/class_me_compass__inherit__graph.md5 new file mode 100644 index 00000000..7fd0c01d --- /dev/null +++ b/doc/html/class_me_compass__inherit__graph.md5 @@ -0,0 +1 @@ +34872883eb17077d625705488328c6ce \ No newline at end of file diff --git a/doc/html/class_me_compass__inherit__graph.png b/doc/html/class_me_compass__inherit__graph.png new file mode 100644 index 00000000..2c261387 Binary files /dev/null and b/doc/html/class_me_compass__inherit__graph.png differ diff --git a/doc/html/class_me_d_c_motor-members.html b/doc/html/class_me_d_c_motor-members.html new file mode 100644 index 00000000..5514bd97 --- /dev/null +++ b/doc/html/class_me_d_c_motor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeDCMotor Member List
+
+
+ +

This is the complete list of members for MeDCMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeDCMotor(void)MeDCMotor
MeDCMotor(uint8_t port)MeDCMotor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeDCMotor
reset(uint8_t port, uint8_t slot)MeDCMotor
run(int16_t speed)MeDCMotor
s1MePortprotected
s2MePortprotected
setpin(uint8_t dir_pin, uint8_t pwm_pin)MeDCMotor
stop(void)MeDCMotor
+
+ + + + diff --git a/doc/html/class_me_d_c_motor.html b/doc/html/class_me_d_c_motor.html new file mode 100644 index 00000000..f15f49ff --- /dev/null +++ b/doc/html/class_me_d_c_motor.html @@ -0,0 +1,428 @@ + + + + + + + +MakeBlock Drive Updated: MeDCMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeDCMotor Class Reference
+
+
+ +

Driver for Me DC motor device. + More...

+ +

#include <src/MeDCMotor.h>

+
+Inheritance diagram for MeDCMotor:
+
+
Inheritance graph
+ + + + + + + +
[legend]
+
+Collaboration diagram for MeDCMotor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeDCMotor (void)
 
 MeDCMotor (uint8_t port)
 
void setpin (uint8_t dir_pin, uint8_t pwm_pin)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
void run (int16_t speed)
 
void stop (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me DC motor device.

+

Class: MeDCMotor

Description
Declaration of Class MeDCMotor
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeDCMotor() [1/2]

+ +
+
+ + + + + + + + +
MeDCMotor::MeDCMotor (void )
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeDCMotor() [2/2]

+ +
+
+ + + + + + + + +
MeDCMotor::MeDCMotor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MeDCMotor::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the DC motor available PIN by its RJ25 port.
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeDCMotor::reset (uint8_t port,
uint8_t slot 
)
+
+
Function
reset
+
Description
Reset the DC motor available PIN by its RJ25 port and slot.
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
void MeDCMotor::run (int16_t speed)
+
+
Function
run
+
Description
Control the motor forward or reverse
+
Parameters
+ + +
[in]speed- Speed value from -255 to 255
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeDCMotor::setpin (uint8_t dir_pin,
uint8_t pwm_pin 
)
+
+
Function
setpin
+
Description
Reset the DC motor available PIN by its arduino port.
+
Parameters
+ + + +
[in]dir_pin- arduino port for direction pin(should analog pin)
[in]pwm_pin- arduino port for pwm input(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ stop()

+ +
+
+ + + + + + + + +
void MeDCMotor::stop (void )
+
+
Function
stop
+
Description
Stop the rotation of the motor
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_d_c_motor.js b/doc/html/class_me_d_c_motor.js new file mode 100644 index 00000000..1f4482f1 --- /dev/null +++ b/doc/html/class_me_d_c_motor.js @@ -0,0 +1,10 @@ +var class_me_d_c_motor = +[ + [ "MeDCMotor", "class_me_d_c_motor.html#ac0d5e24deae9f03c1f76e7cc780c52fb", null ], + [ "MeDCMotor", "class_me_d_c_motor.html#a34753a0be6495d847dd37caa4427cdc6", null ], + [ "reset", "class_me_d_c_motor.html#a098d4ebc2b9ecfe6652c045ae27253ae", null ], + [ "reset", "class_me_d_c_motor.html#a8bcda74bb585d40c372ac5894a79fe2c", null ], + [ "run", "class_me_d_c_motor.html#a4509ba013726e48cbb70423263f8dccc", null ], + [ "setpin", "class_me_d_c_motor.html#a3ed0c7598287a9dce9725e0cfd96069d", null ], + [ "stop", "class_me_d_c_motor.html#ac96a250d77ab11c1db0f15592e98be03", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_d_c_motor.png b/doc/html/class_me_d_c_motor.png new file mode 100644 index 00000000..d439d683 Binary files /dev/null and b/doc/html/class_me_d_c_motor.png differ diff --git a/doc/html/class_me_d_c_motor__coll__graph.map b/doc/html/class_me_d_c_motor__coll__graph.map new file mode 100644 index 00000000..6e21e99c --- /dev/null +++ b/doc/html/class_me_d_c_motor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_d_c_motor__coll__graph.md5 b/doc/html/class_me_d_c_motor__coll__graph.md5 new file mode 100644 index 00000000..7ab00646 --- /dev/null +++ b/doc/html/class_me_d_c_motor__coll__graph.md5 @@ -0,0 +1 @@ +9b8bccc7e53dc783a32a4063429e01c5 \ No newline at end of file diff --git a/doc/html/class_me_d_c_motor__coll__graph.png b/doc/html/class_me_d_c_motor__coll__graph.png new file mode 100644 index 00000000..ddb88bc6 Binary files /dev/null and b/doc/html/class_me_d_c_motor__coll__graph.png differ diff --git a/doc/html/class_me_d_c_motor__inherit__graph.map b/doc/html/class_me_d_c_motor__inherit__graph.map new file mode 100644 index 00000000..195b9b2d --- /dev/null +++ b/doc/html/class_me_d_c_motor__inherit__graph.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/doc/html/class_me_d_c_motor__inherit__graph.md5 b/doc/html/class_me_d_c_motor__inherit__graph.md5 new file mode 100644 index 00000000..4e5ef53f --- /dev/null +++ b/doc/html/class_me_d_c_motor__inherit__graph.md5 @@ -0,0 +1 @@ +6ba80f1ba95ec373237b2144bf78a9d4 \ No newline at end of file diff --git a/doc/html/class_me_d_c_motor__inherit__graph.png b/doc/html/class_me_d_c_motor__inherit__graph.png new file mode 100644 index 00000000..b38392bf Binary files /dev/null and b/doc/html/class_me_d_c_motor__inherit__graph.png differ diff --git a/doc/html/class_me_encoder_motor-members.html b/doc/html/class_me_encoder_motor-members.html new file mode 100644 index 00000000..4b9c739e --- /dev/null +++ b/doc/html/class_me_encoder_motor-members.html @@ -0,0 +1,144 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderMotor Member List
+
+
+ +

This is the complete list of members for MeEncoderMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin()MeEncoderMotor
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getCurrentPosition()MeEncoderMotor
getCurrentSpeed()MeEncoderMotor
getPort(void)MePort
getSlot(void)MePort
MeEncoderMotor(uint8_t addr, uint8_t slot)MeEncoderMotor
MeEncoderMotor(uint8_t slot)MeEncoderMotor
MeEncoderMotor()MeEncoderMotor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
move(float angle, float speed)MeEncoderMotor
moveTo(float angle, float speed)MeEncoderMotor
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset()MeEncoderMotor
MePort::reset(uint8_t port)MePort
MePort::reset(uint8_t port, uint8_t slot)MePort
runSpeed(float speed)MeEncoderMotor
runSpeedAndTime(float speed, float time)MeEncoderMotor
runTurns(float turns, float speed)MeEncoderMotor
s1MePortprotected
s2MePortprotected
+
+ + + + diff --git a/doc/html/class_me_encoder_motor.html b/doc/html/class_me_encoder_motor.html new file mode 100644 index 00000000..5e9f1f21 --- /dev/null +++ b/doc/html/class_me_encoder_motor.html @@ -0,0 +1,611 @@ + + + + + + + +MakeBlock Drive Updated: MeEncoderMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderMotor Class Reference
+
+
+ +

Class for Encoder Motor Driver. + More...

+ +

#include <src/MeEncoderMotor.h>

+
+Inheritance diagram for MeEncoderMotor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeEncoderMotor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeEncoderMotor (uint8_t addr, uint8_t slot)
 
 MeEncoderMotor (uint8_t slot)
 
 MeEncoderMotor ()
 
void begin ()
 
boolean reset ()
 
boolean move (float angle, float speed)
 
boolean moveTo (float angle, float speed)
 
boolean runTurns (float turns, float speed)
 
boolean runSpeed (float speed)
 
boolean runSpeedAndTime (float speed, float time)
 
float getCurrentSpeed ()
 
float getCurrentPosition ()
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Class for Encoder Motor Driver.

+

Driver for Me Encoder Motor module.

+

Driver for Encoder Motor module.

+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeEncoderMotor() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeEncoderMotor::MeEncoderMotor (uint8_t addr,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the Encoder Motor to arduino port, you can set any slot for the Encoder Motor device.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+ +

◆ MeEncoderMotor() [2/3]

+ +
+
+ + + + + + + + +
MeEncoderMotor::MeEncoderMotor (uint8_t slot)
+
+

Alternate Constructor which can call your own function to map the Encoder Motor to arduino port, you can set any slot for the Encoder Motor device.

Parameters
+ + +
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+ +

◆ MeEncoderMotor() [3/3]

+ +
+
+ + + + + + + +
MeEncoderMotor::MeEncoderMotor ()
+
+

Alternate Constructor which can call your own function to map the Encoder Motor to arduino port, you should initialized slot and slaveAddress here for the Encoder Motor device.

Parameters
+ + +
[in]None
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + +
void MeEncoderMotor::begin ()
+
+
Function
begin
+
Description
Initialize Encoder Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCurrentPosition()

+ +
+
+ + + + + + + +
float MeEncoderMotor::getCurrentPosition ()
+
+
Function
getCurrentPosition
+
Description
The current position of Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCurrentSpeed()

+ +
+
+ + + + + + + +
float MeEncoderMotor::getCurrentSpeed ()
+
+
Function
getCurrentSpeed
+
Description
The current speed of Motor's movement.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ move()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeEncoderMotor::move (float angle,
float speed 
)
+
+
Function
move
+
Description
Motor move.
+
Parameters
+ + + +
[in]angle- The angle move of Motor.
[in]speed- The speed move of Motor.
+
+
+
Output
None
+
Return
Return the result of Motor's movement.
+
Others
None
+ +
+
+ +

◆ moveTo()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeEncoderMotor::moveTo (float angle,
float speed 
)
+
+
Function
moveTo
+
Description
Motor move to the aim.
+
Parameters
+ + + +
[in]angle- The angle move of Motor.
[in]speed- The speed move of Motor.
+
+
+
Output
None
+
Return
Return the result of Motor's movement to the aim.
+
Others
None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + +
boolean MeEncoderMotor::reset ()
+
+
Function
reset
+
Description
Reset the available data for Encoder Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ runSpeed()

+ +
+
+ + + + + + + + +
boolean MeEncoderMotor::runSpeed (float speed)
+
+
Function
runSpeed
+
Description
The speed of Motor's movement.
+
Parameters
+ + +
[in]speed- The speed move of Motor.
+
+
+
Output
None
+
Return
Return 0.
+
Others
None
+ +
+
+ +

◆ runSpeedAndTime()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeEncoderMotor::runSpeedAndTime (float speed,
float time 
)
+
+
Function
runSpeedAndTime
+
Description
The speed and time of Motor's movement.
+
Parameters
+ + + +
[in]speed- The speed move of Motor.
[in]time- The time move of Motor.
+
+
+
Output
None
+
Return
Return the result of Motor's movement.
+
Others
None
+ +
+
+ +

◆ runTurns()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeEncoderMotor::runTurns (float turns,
float speed 
)
+
+
Function
runTurns
+
Description
Motor move turns.
+
Parameters
+ + + +
[in]turns- The turns move of Motor.
[in]speed- The speed move of Motor.
+
+
+
Output
None
+
Return
Return the result of Motor's movement.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_encoder_motor.js b/doc/html/class_me_encoder_motor.js new file mode 100644 index 00000000..31cc5505 --- /dev/null +++ b/doc/html/class_me_encoder_motor.js @@ -0,0 +1,15 @@ +var class_me_encoder_motor = +[ + [ "MeEncoderMotor", "class_me_encoder_motor.html#ac1e1d1667620217d906460831316ca26", null ], + [ "MeEncoderMotor", "class_me_encoder_motor.html#a28ce79300600255bef5420094199cf5a", null ], + [ "MeEncoderMotor", "class_me_encoder_motor.html#acbeab97d3d90a0854155264ddfd1d7bb", null ], + [ "begin", "class_me_encoder_motor.html#aeda692228687464c10a47f279b682d53", null ], + [ "getCurrentPosition", "class_me_encoder_motor.html#a3e0f684f694a4ace231ac8fe90c68c62", null ], + [ "getCurrentSpeed", "class_me_encoder_motor.html#a7ff4246627c94976d97141da3a31ad00", null ], + [ "move", "class_me_encoder_motor.html#a10a88a426631d9251a0db96f921f1bcd", null ], + [ "moveTo", "class_me_encoder_motor.html#a05f1de71458b1ab75bd34f9c948cc463", null ], + [ "reset", "class_me_encoder_motor.html#a83b974e7a06af62d268bd251cc118509", null ], + [ "runSpeed", "class_me_encoder_motor.html#aff4c3a4f790b712a36fff5184927af00", null ], + [ "runSpeedAndTime", "class_me_encoder_motor.html#adc48a3b9f3508aa50b80d00e7fdce178", null ], + [ "runTurns", "class_me_encoder_motor.html#a94231a437d93fe7681fa41024207a28e", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_encoder_motor.png b/doc/html/class_me_encoder_motor.png new file mode 100644 index 00000000..83236be3 Binary files /dev/null and b/doc/html/class_me_encoder_motor.png differ diff --git a/doc/html/class_me_encoder_motor__coll__graph.map b/doc/html/class_me_encoder_motor__coll__graph.map new file mode 100644 index 00000000..3b3d2579 --- /dev/null +++ b/doc/html/class_me_encoder_motor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_encoder_motor__coll__graph.md5 b/doc/html/class_me_encoder_motor__coll__graph.md5 new file mode 100644 index 00000000..f496fb02 --- /dev/null +++ b/doc/html/class_me_encoder_motor__coll__graph.md5 @@ -0,0 +1 @@ +7c64ac6e0b46c59636eb501aeb648477 \ No newline at end of file diff --git a/doc/html/class_me_encoder_motor__coll__graph.png b/doc/html/class_me_encoder_motor__coll__graph.png new file mode 100644 index 00000000..1db93c7f Binary files /dev/null and b/doc/html/class_me_encoder_motor__coll__graph.png differ diff --git a/doc/html/class_me_encoder_motor__inherit__graph.map b/doc/html/class_me_encoder_motor__inherit__graph.map new file mode 100644 index 00000000..3b3d2579 --- /dev/null +++ b/doc/html/class_me_encoder_motor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_encoder_motor__inherit__graph.md5 b/doc/html/class_me_encoder_motor__inherit__graph.md5 new file mode 100644 index 00000000..f496fb02 --- /dev/null +++ b/doc/html/class_me_encoder_motor__inherit__graph.md5 @@ -0,0 +1 @@ +7c64ac6e0b46c59636eb501aeb648477 \ No newline at end of file diff --git a/doc/html/class_me_encoder_motor__inherit__graph.png b/doc/html/class_me_encoder_motor__inherit__graph.png new file mode 100644 index 00000000..1db93c7f Binary files /dev/null and b/doc/html/class_me_encoder_motor__inherit__graph.png differ diff --git a/doc/html/class_me_encoder_new-members.html b/doc/html/class_me_encoder_new-members.html new file mode 100644 index 00000000..c0f3c264 --- /dev/null +++ b/doc/html/class_me_encoder_new-members.html @@ -0,0 +1,135 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderNew Member List
+
+
+ +

This is the complete list of members for MeEncoderNew, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
begin(void)MeEncoderNew
getCurrentPosition(void)MeEncoderNew
getCurrentSpeed(void)MeEncoderNew
getFirmwareVersion(char *buffer)MeEncoderNew
getPosPID(float *p, float *i, float *d)MeEncoderNew
getPulse(void)MeEncoderNew
getRatio(void)MeEncoderNew
getSpeedPID(float *p, float *i, float *d)MeEncoderNew
isTarPosReached(void)MeEncoderNew
MeEncoderNew(uint8_t addr, uint8_t slot)MeEncoderNew
MeEncoderNew(uint8_t slot)MeEncoderNew
MeEncoderNew(void)MeEncoderNew
move(long angle, float speed=220, float lock_state=1)MeEncoderNew
moveTo(long angle, float speed=220, float lock_state=1)MeEncoderNew
reset(void)MeEncoderNew
runSpeed(float speed, float lock_state=1)MeEncoderNew
runSpeedAndTime(float speed, float time, float lock_state=1)MeEncoderNew
runTurns(long turns, float speed=220, float lock_state=1)MeEncoderNew
setAddr(uint8_t i2cAddr, uint8_t slot)MeEncoderNew
setCurrentPosition(long pulse_counter)MeEncoderNew
setDevid(uint8_t devid)MeEncoderNew
setMode(uint8_t mode)MeEncoderNew
setPosPID(float p, float i, float d)MeEncoderNew
setPulse(int p)MeEncoderNew
setPWM(int pwm)MeEncoderNew
setRatio(float r)MeEncoderNew
setSpeedPID(float p, float i, float d)MeEncoderNew
+
+ + + + diff --git a/doc/html/class_me_encoder_new.html b/doc/html/class_me_encoder_new.html new file mode 100644 index 00000000..cf1a5bfe --- /dev/null +++ b/doc/html/class_me_encoder_new.html @@ -0,0 +1,1145 @@ + + + + + + + +MakeBlock Drive Updated: MeEncoderNew Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderNew Class Reference
+
+
+ +

Driver for Me Encoder New module. + More...

+ +

#include <src/MeEncoderNew.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeEncoderNew (uint8_t addr, uint8_t slot)
 
 MeEncoderNew (uint8_t slot)
 
 MeEncoderNew (void)
 
void begin (void)
 
void setAddr (uint8_t i2cAddr, uint8_t slot)
 
void reset (void)
 
void move (long angle, float speed=220, float lock_state=1)
 
void moveTo (long angle, float speed=220, float lock_state=1)
 
void runTurns (long turns, float speed=220, float lock_state=1)
 
void runSpeed (float speed, float lock_state=1)
 
float getCurrentSpeed (void)
 
void setCurrentPosition (long pulse_counter)
 
long getCurrentPosition (void)
 
void setSpeedPID (float p, float i, float d)
 
void setPosPID (float p, float i, float d)
 
void getSpeedPID (float *p, float *i, float *d)
 
void getPosPID (float *p, float *i, float *d)
 
float getRatio (void)
 
void setRatio (float r)
 
int getPulse (void)
 
void setPulse (int p)
 
void setDevid (uint8_t devid)
 
void setMode (uint8_t mode)
 
void setPWM (int pwm)
 
void runSpeedAndTime (float speed, float time, float lock_state=1)
 
boolean isTarPosReached (void)
 
void getFirmwareVersion (char *buffer)
 
+

Detailed Description

+

Driver for Me Encoder New module.

+

Class: MeEncoderNew

Description
Declaration of Class MeEncoderNew
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeEncoderNew() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeEncoderNew::MeEncoderNew (uint8_t addr,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the Encoder Motor New to arduino port, you can set any slot for the Encoder Motor New device.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to PORT_10
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+ +

◆ MeEncoderNew() [2/3]

+ +
+
+ + + + + + + + +
MeEncoderNew::MeEncoderNew (uint8_t slot)
+
+

Alternate Constructor which can call your own function to map the Encoder Motor New to arduino port, you can set any slot for the Encoder Motor New device.

Parameters
+ + +
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+ +

◆ MeEncoderNew() [3/3]

+ +
+
+ + + + + + + + +
MeEncoderNew::MeEncoderNew (void )
+
+

Alternate Constructor which can call your own function to map the Encoder Motor New to arduino port, you should initialized slot and slaveAddress here for the Encoder Motor New device.

Parameters
+ + +
[in]None
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeEncoderNew::begin (void )
+
+
Function
begin
+
Description
Initialize Encoder Motor New.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCurrentPosition()

+ +
+
+ + + + + + + + +
long MeEncoderNew::getCurrentPosition (void )
+
+
Function
getCurrentPosition
+
Description
The current position of Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Motor encoder pulse count value.
+
Others
None
+ +
+
+ +

◆ getCurrentSpeed()

+ +
+
+ + + + + + + + +
float MeEncoderNew::getCurrentSpeed (void )
+
+
Function
getCurrentSpeed
+
Description
The current speed of Motor's movement.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
The speed of encoder motor(The unit is rpm)
+
Others
None
+ +
+
+ +

◆ getFirmwareVersion()

+ +
+
+ + + + + + + + +
void MeEncoderNew::getFirmwareVersion (char * buffer)
+
+
Function
getFirmwareVersion
+
Description
Get Firmware Version, Only support EncodeDriver-V2.1.0 module firmware
+
Parameters
+ + +
[in]None
+
+
+
Output
buffer: for storage version, length greater than 8
+
Returns
None
+
Others
+ +
+
+ +

◆ getPosPID()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::getPosPID (float * p,
float * i,
float * d 
)
+
+
Function
getPosPID
+
Description
Get PID from Motor.
+
Parameters
+ + + + +
[in]p- P means Proportion.
[in]i- I means Integration.
[in]d- D means Differentiation.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getPulse()

+ +
+
+ + + + + + + + +
int MeEncoderNew::getPulse (void )
+
+
Function
getPulse
+
Description
Get the pulse of Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the pulse of Motor.
+
Others
None
+ +
+
+ +

◆ getRatio()

+ +
+
+ + + + + + + + +
float MeEncoderNew::getRatio (void )
+
+
Function
getRatio
+
Description
Get the ratio of Motor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the ratio of Motor.
+
Others
None
+ +
+
+ +

◆ getSpeedPID()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::getSpeedPID (float * p,
float * i,
float * d 
)
+
+
Function
getSpeedPID
+
Description
Get Speed PID from Motor.
+
Parameters
+ + + + +
[in]p- P means Proportion.
[in]i- I means Integration.
[in]d- D means Differentiation.
+
+
+
Output
None
+
Return
None
+
Others
None
+
Function
getSpeedPID
+
Description
Get PID from Motor.
+
Parameters
+ + + + +
[in]p- P means Proportion.
[in]i- I means Integration.
[in]d- D means Differentiation.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ isTarPosReached()

+ +
+
+ + + + + + + + +
boolean MeEncoderNew::isTarPosReached (void )
+
+
Function
isTarPosReached
+
Description
Check whether the target position has been reached
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
true - The target position reaches false - Does not reach the target position
+
Others
None
+ +
+
+ +

◆ move()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::move (long angle,
float speed = 220,
float lock_state = 1 
)
+
+
Function
move
+
Description
Motor move.
+
Parameters
+ + + + +
[in]angle- The angle move of Motor New.
[in]speed- The speed move of Motor New.
[in]lock_state- The lock state of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ moveTo()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::moveTo (long angle,
float speed = 220,
float lock_state = 1 
)
+
+
Function
moveTo
+
Description
Motor New move to the aim.
+
Parameters
+ + + + +
[in]angle- The angle move of Motor New.
[in]speed- The speed move of Motor New.
[in]lock_state- The lock state of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + + +
void MeEncoderNew::reset (void )
+
+
Function
reset
+
Description
Reset the parameter of Motor.
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ runSpeed()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeEncoderNew::runSpeed (float speed,
float lock_state = 1 
)
+
+
Function
runSpeed
+
Description
The speed of Motor's movement.
+
Parameters
+ + +
[in]speed- The speed move of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+
Function
runSpeed
+
Description
The speed of Motor's movement.
+
Parameters
+ + + +
[in]speed- The speed move of Motor.
[in]lock_state- The lock state of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ runSpeedAndTime()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::runSpeedAndTime (float speed,
float time,
float lock_state = 1 
)
+
+
Function
runSpeedAndTime
+
Description
The speed and time of Motor's movement.
+
Parameters
+ + + + +
[in]speed- The speed move of Motor.
[in]time- The time move of Motor.
[in]lock_state- The lock state of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ runTurns()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::runTurns (long turns,
float speed = 220,
float lock_state = 1 
)
+
+
Function
runTurns
+
Description
Motor move turns.
+
Parameters
+ + + + +
[in]turns- The turns move of Motor.
[in]speed- The speed move of Motor.
[in]lock_state- The lock state of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setAddr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeEncoderNew::setAddr (uint8_t i2cAddr,
uint8_t slot 
)
+
+
Function
setAddr
+
Description
Reset the i2c address of encoder motor .
+
Parameters
+ + + +
[in]i2cAddr- i2c address of encoder motor
[in]slot- slot number of encoder motor
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setCurrentPosition()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setCurrentPosition (long pulse_counter)
+
+
Function
setCurrentPosition
+
Description
Set current position of Motor.
+
Parameters
+ + +
[in]pulse_counter- The count value of current encoder
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setDevid()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setDevid (uint8_t devid)
+
+
Function
setDevid
+
Description
Set the devid to Motor.
+
Parameters
+ + +
[in]devid- the I2C adress
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setMode()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setMode (uint8_t mode)
+
+
Function
setMode
+
Description
Set the work mode to Motor.
+
Parameters
+ + +
[in]mode- The work mode of Motor.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setPosPID()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::setPosPID (float p,
float i,
float d 
)
+
+
Function
setPosPID
+
Description
Set pos PID for Motor.
+
Parameters
+ + + + +
[in]p- P means Proportion.
[in]i- I means Integration.
[in]d- D means Differentiation.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setPulse()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setPulse (int pulse)
+
+
Function
setPulse
+
Description
Set the pulse to Motor.
+
Parameters
+ + +
[in]pulse- the line number of Motor
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setPWM()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setPWM (int pwm)
+
+
Function
setPWM
+
Description
Set the PWM to Motor.
+
Parameters
+ + +
[in]pwm- Pulse-Width Modulation.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setRatio()

+ +
+
+ + + + + + + + +
void MeEncoderNew::setRatio (float ratio)
+
+
Function
setRatio
+
Description
Set the ratio to Motor.
+
Parameters
+ + +
[in]ratio- the ratio of Motor
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setSpeedPID()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderNew::setSpeedPID (float p,
float i,
float d 
)
+
+
Function
setSpeedPID
+
Description
Set speed PID for Motor.
+
Parameters
+ + + + +
[in]p- P means Proportion.
[in]i- I means Integration.
[in]d- D means Differentiation.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_encoder_new.js b/doc/html/class_me_encoder_new.js new file mode 100644 index 00000000..9d2ef6ca --- /dev/null +++ b/doc/html/class_me_encoder_new.js @@ -0,0 +1,30 @@ +var class_me_encoder_new = +[ + [ "MeEncoderNew", "class_me_encoder_new.html#af77b13a73ad1a190ce06516cb1ec8591", null ], + [ "MeEncoderNew", "class_me_encoder_new.html#a49faf6de7d40df69dc08edb424086390", null ], + [ "MeEncoderNew", "class_me_encoder_new.html#a809786152a62ec4d737f45a3cc8d3ea0", null ], + [ "begin", "class_me_encoder_new.html#a7502d17074b0de59a44406f1c67aa1fa", null ], + [ "getCurrentPosition", "class_me_encoder_new.html#ab161f5bd122c55b9564f8ce1263a8c0b", null ], + [ "getCurrentSpeed", "class_me_encoder_new.html#a15f163ff89aeba26ea17be4a3b77737f", null ], + [ "getFirmwareVersion", "class_me_encoder_new.html#a02ff4e42930711e7ab228f25b80e045c", null ], + [ "getPosPID", "class_me_encoder_new.html#a8729ee00ccdf13ebb0385b29de057320", null ], + [ "getPulse", "class_me_encoder_new.html#a4cee6129526a9d8c3111acb61a9d3a88", null ], + [ "getRatio", "class_me_encoder_new.html#a476f3a1e0364be857b07b238cdf9eb08", null ], + [ "getSpeedPID", "class_me_encoder_new.html#afe29430100b70233abc4f991bb2e27be", null ], + [ "isTarPosReached", "class_me_encoder_new.html#a0fec98e0dcfd4d1df08039810f450f6d", null ], + [ "move", "class_me_encoder_new.html#abe1fe2665edfaae677ed00eea1fef040", null ], + [ "moveTo", "class_me_encoder_new.html#a2b9316c366c67ef88b6f03635f8c9468", null ], + [ "reset", "class_me_encoder_new.html#a1b73a317a6ed28c0b6ee61899da4c2ff", null ], + [ "runSpeed", "class_me_encoder_new.html#a37dc43618ad8f23e690dd1d39fe13edb", null ], + [ "runSpeedAndTime", "class_me_encoder_new.html#a8b93e11a6d0ba0cedbc8e4a4ae44471b", null ], + [ "runTurns", "class_me_encoder_new.html#ab7c6be174df72535937b1bc640d07b3a", null ], + [ "setAddr", "class_me_encoder_new.html#a6bf91a91af5bde030d9656e3314d0c96", null ], + [ "setCurrentPosition", "class_me_encoder_new.html#a36caaf02601282f0a5543c1f115bca15", null ], + [ "setDevid", "class_me_encoder_new.html#a800797c599c551731a65225f459a076a", null ], + [ "setMode", "class_me_encoder_new.html#a8a54a728b9077dcd0e95a0277d54fcb3", null ], + [ "setPosPID", "class_me_encoder_new.html#a7314cbf995b8b11fc954d12f96302fe5", null ], + [ "setPulse", "class_me_encoder_new.html#a658cae48c69e374ee22d29fd54b8f5ab", null ], + [ "setPWM", "class_me_encoder_new.html#ad642ecd7bbb1015d5dab74ffce7b3b04", null ], + [ "setRatio", "class_me_encoder_new.html#a033ffc24a1a7c2ea2bba48afb86b9ee2", null ], + [ "setSpeedPID", "class_me_encoder_new.html#ab6575651faefb9e22c73305d79655c76", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_encoder_on_board-members.html b/doc/html/class_me_encoder_on_board-members.html new file mode 100644 index 00000000..23634c7d --- /dev/null +++ b/doc/html/class_me_encoder_on_board-members.html @@ -0,0 +1,143 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeEncoderOnBoard Member List
+
+
+ +

This is the complete list of members for MeEncoderOnBoard, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
distanceToGo() constMeEncoderOnBoard
encoderMove(void)MeEncoderOnBoard
getCurPos(void) constMeEncoderOnBoard
getCurPwm(void) constMeEncoderOnBoard
getCurrentSpeed(void) constMeEncoderOnBoard
getIntNum(void) constMeEncoderOnBoard
getPortA(void) constMeEncoderOnBoard
getPortB(void) constMeEncoderOnBoard
getPulsePos(void) constMeEncoderOnBoard
getSlotNum(void) constMeEncoderOnBoard
isTarPosReached(void) constMeEncoderOnBoard
loop(void)MeEncoderOnBoard
MeEncoderOnBoard()MeEncoderOnBoard
MeEncoderOnBoard(int slot)MeEncoderOnBoard
move(long position, float speed=100, int16_t extId=0, cb callback=NULL)MeEncoderOnBoard
moveTo(long position, float speed=100, int16_t extId=0, cb callback=NULL)MeEncoderOnBoard
pidPositionToPwm(void)MeEncoderOnBoard
pulsePosMinus(void)MeEncoderOnBoard
pulsePosPlus(void)MeEncoderOnBoard
pwmMove(void)MeEncoderOnBoard
reset(uint8_t slot)MeEncoderOnBoard
runSpeed(float speed)MeEncoderOnBoard
setCurrentSpeed(float speed)MeEncoderOnBoard
setMotionMode(int16_t motionMode)MeEncoderOnBoard
setMotorPwm(int16_t pwm)MeEncoderOnBoard
setPosPid(float p, float i, float d)MeEncoderOnBoard
setPulse(int16_t pulseValue)MeEncoderOnBoard
setPulsePos(long pulse_pos)MeEncoderOnBoard
setRatio(float RatioValue)MeEncoderOnBoard
setSpeed(float speed)MeEncoderOnBoard
setSpeedPid(float p, float i, float d)MeEncoderOnBoard
setTarPWM(int16_t pwm_value)MeEncoderOnBoard
speedWithoutPos(void)MeEncoderOnBoard
updateCurPos(void)MeEncoderOnBoard
updateSpeed(void)MeEncoderOnBoard
+
+ + + + diff --git a/doc/html/class_me_encoder_on_board.html b/doc/html/class_me_encoder_on_board.html new file mode 100644 index 00000000..e2a1adfa --- /dev/null +++ b/doc/html/class_me_encoder_on_board.html @@ -0,0 +1,1319 @@ + + + + + + + +MakeBlock Drive Updated: MeEncoderOnBoard Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeEncoderOnBoard Class Reference
+
+
+ +

Driver for Encoder module on MeAuriga and MeMegaPi. + More...

+ +

#include <src/MeEncoderOnBoard.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeEncoderOnBoard ()
 
 MeEncoderOnBoard (int slot)
 
void reset (uint8_t slot)
 
uint8_t getSlotNum (void) const
 
uint8_t getIntNum (void) const
 
uint8_t getPortA (void) const
 
uint8_t getPortB (void) const
 
long getPulsePos (void) const
 
void setPulsePos (long pulse_pos)
 
void pulsePosPlus (void)
 
void pulsePosMinus (void)
 
void setCurrentSpeed (float speed)
 
float getCurrentSpeed (void) const
 
int16_t getCurPwm (void) const
 
void setTarPWM (int16_t pwm_value)
 
void setMotorPwm (int16_t pwm)
 
void updateSpeed (void)
 
void updateCurPos (void)
 
long getCurPos (void) const
 
void runSpeed (float speed)
 
void setSpeed (float speed)
 
void move (long position, float speed=100, int16_t extId=0, cb callback=NULL)
 
void moveTo (long position, float speed=100, int16_t extId=0, cb callback=NULL)
 
long distanceToGo () const
 
void setSpeedPid (float p, float i, float d)
 
void setPosPid (float p, float i, float d)
 
void setPulse (int16_t pulseValue)
 
void setRatio (float RatioValue)
 
void setMotionMode (int16_t motionMode)
 
int16_t pidPositionToPwm (void)
 
int16_t speedWithoutPos (void)
 
void encoderMove (void)
 
void pwmMove (void)
 
boolean isTarPosReached (void) const
 
void loop (void)
 
+

Detailed Description

+

Driver for Encoder module on MeAuriga and MeMegaPi.

+

Class: MeEncoderOnBoard

Description
Declaration of Class MeEncoderOnBoard
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeEncoderOnBoard() [1/2]

+ +
+
+ + + + + + + +
MeEncoderOnBoard::MeEncoderOnBoard ()
+
+

Alternate Constructor which can call your own function to map the Encoder motor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeEncoderOnBoard() [2/2]

+ +
+
+ + + + + + + + +
MeEncoderOnBoard::MeEncoderOnBoard (int slot)
+
+

Alternate Constructor which can call your own function to map the Encoder motor to arduino port

Parameters
+ + +
[in]slot- megapi slot from SLOT1 to SLOT4(Auriga SLOT1 and SLOT2).
+
+
+ +
+
+

Member Function Documentation

+ +

◆ distanceToGo()

+ +
+
+ + + + + + + + +
long MeEncoderOnBoard::distanceToGo (void ) const
+
+
Function
distanceToGo
+
Description
The distance that encoder should go, units are in degrees.\r
+ So 360-degree means a circle.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
long - Return the length that encoder need run.
+
Others
None
+ +
+
+ +

◆ encoderMove()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::encoderMove (void )
+
+
Function
encoderMove
+
Description
This function used for move with PID mode.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCurPos()

+ +
+
+ + + + + + + + +
long MeEncoderOnBoard::getCurPos (void ) const
+
+
Function
getCurPos
+
Description
This function used to get the current position(The units are degrees).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCurPwm()

+ +
+
+ + + + + + + + +
int16_t MeEncoderOnBoard::getCurPwm (void ) const
+
+
Function
getCurPwm
+
Description
This function used to get the current pwm setting.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
getCurPwm
+
Description
This function used to get the current pwm setting.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
int16_t - the pwm setting
+
Others
None
+ +
+
+ +

◆ getCurrentSpeed()

+ +
+
+ + + + + + + + +
float MeEncoderOnBoard::getCurrentSpeed (void ) const
+
+
Function
getCurrentSpeed
+
Description
This function used to get the current speed(The unit is rpm).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
float - the speed value(The unit is rpm).
+
Others
None
+ +
+
+ +

◆ getIntNum()

+ +
+
+ + + + + + + + +
uint8_t MeEncoderOnBoard::getIntNum (void ) const
+
+
Function
getIntNum
+
Description
This function used to get the Auriga/MegaPi Interrupt number of current objects.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
uint8_t - The Interrupt number of current objects
+
+
Others
None
+ +
+
+ +

◆ getPortA()

+ +
+
+ + + + + + + + +
uint8_t MeEncoderOnBoard::getPortA (void ) const
+
+
Function
getPortA
+
Description
This function used to get the GPIO number of current objects's dir port A.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
uint8_t - The GPIO number of current objects's dir port A
+
+
Others
None
+ +
+
+ +

◆ getPortB()

+ +
+
+ + + + + + + + +
uint8_t MeEncoderOnBoard::getPortB (void ) const
+
+
Function
getPortB
+
Description
This function used to get the GPIO number of current objects's dir port B.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
uint8_t - The GPIO number of current objects's dir port B
+
+
Others
None
+ +
+
+ +

◆ getPulsePos()

+ +
+
+ + + + + + + + +
long MeEncoderOnBoard::getPulsePos (void ) const
+
+
Function
getPulsePos
+
Description
This function used to get the current pos value(pulse counter).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
long - current pos value
+
+
Others
None
+ +
+
+ +

◆ getSlotNum()

+ +
+
+ + + + + + + + +
uint8_t MeEncoderOnBoard::getSlotNum (void ) const
+
+
Function
getSlotNum
+
Description
This function used to get the Auriga/MegaPi slot number of current objects.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
uint8_t - The slot number of current objects
+
+
Others
None
+ +
+
+ +

◆ isTarPosReached()

+ +
+
+ + + + + + + + +
boolean MeEncoderOnBoard::isTarPosReached (void ) const
+
+
Function
isTarPosReached
+
Description
This function used to determine whether the motor come to the target position.
+ It is mainly applied to function moveTo or function move
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
true - target position is reached, otherwise
+
Others
None
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::loop (void )
+
+
Function
loop
+
Description
This function should be called without Blocked.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ move()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderOnBoard::move (long position,
float speed = 100,
int16_t extId = 0,
cb callback = NULL 
)
+
+
Function
move
+
Description
encoder motor moves to the relative positions.
+
Parameters
+ + + + + +
[in]position- The relative angle encoder motor moves.
[in]speed- the speed value(The unit is rpm).
[in]extId- It is used to indicate the ID of motor(Optional parameters).
[in]callback- callback function when the target position has been reached(Optional parameters).
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ moveTo()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderOnBoard::moveTo (long position,
float speed = 100,
int16_t extId = 0,
cb callback = NULL 
)
+
+
Function
moveTo
+
Description
encoder motor moves to the absolute position.
+
Parameters
+ + + + + +
[in]position- The absolute angle encoder motor moves.
[in]speed- the speed value(The unit is rpm).
[in]extId- It is used to indicate the ID of motor(Optional parameters).
[in]callback- callback function when the target position has been reached(Optional parameters).
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ pidPositionToPwm()

+ +
+
+ + + + + + + + +
int16_t MeEncoderOnBoard::pidPositionToPwm (void )
+
+
Function
pidPositionToPwm
+
Description
This function used to calculate the PWM motor value of encoder motor(position & speed).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ pulsePosMinus()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::pulsePosMinus (void )
+
+
Function
pulsePosMinus
+
Description
This function used to reduction the current pos value(pulse counter).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ pulsePosPlus()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::pulsePosPlus (void )
+
+
Function
pulsePosPlus
+
Description
This function used to increase the current pos value(pulse counter).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ pwmMove()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::pwmMove (void )
+
+
Function
pwmMove
+
Description
This function used for move with PWM mode.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::reset (uint8_t slot)
+
+
Function
reset
+
Description
Reset the encoder motor available PIN by Auriga/MegaPi slot.
+
Parameters
+ + +
[in]slot- MegaPi encoder port from SLOT1 to SLOT4(Auriga SLOT1 and SLOT2).
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ runSpeed()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::runSpeed (float speed)
+
+
Function
runSpeed
+
Description
The speed of encode, and encoder motor will running with the setting speed.
+
Parameters
+ + +
[in]speed- the speed value(The unit is rpm).
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setCurrentSpeed()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setCurrentSpeed (float speed)
+
+
Function
setCurrentSpeed
+
Description
This function used to set the current speed(The unit is rpm).
+
Parameters
+ + +
[in]speed- the speed value(The unit is rpm).
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setMotionMode()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setMotionMode (int16_t motionMode)
+
+
Function
setMotionMode
+
Description
This function used to set the motion mode of encoder motor.
+
Parameters
+ + +
[in]motionMode- motion mode
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setMotorPwm()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setMotorPwm (int16_t pwm)
+
+
Function
setMotorPwm
+
Description
This function used to set current pwm setting.
+
Parameters
+ + +
[in]pwm- the pwm setting
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
setMotorPwm
+
Description
This function used to execute current pwm setting.
+
Parameters
+ + +
[in]pwm- the pwm setting
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setPosPid()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderOnBoard::setPosPid (float p,
float i,
float d 
)
+
+
Function
setPosPid
+
Description
This function used to set the PID parameters for encoder motor's pos.
+
Parameters
+ + + + +
[in]p- Proportion parameter
[in]i- Integration Parameters
[in]d- Differential parameter
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setPulse()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setPulse (int16_t pulseValue)
+
+
Function
setPulse
+
Description
This function used to set the pulse number of encoder code disc.
+
Parameters
+ + +
[in]pulseValue- pulse number
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setPulsePos()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setPulsePos (long pulsePos)
+
+
Function
setPulsePos
+
Description
This function used to Set the current pos value(pulse counter). Generally used for
+ reset the distance calculation.
+
Parameters
+ + +
[in]pulsePos- the value of pos value(pulse counter)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setRatio()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setRatio (float RatioValue)
+
+
Function
setRatio
+
Description
This function used to set the ratio of encoder motor.
+
Parameters
+ + +
[in]RatioValue- ratio number
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setSpeed()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setSpeed (float speed)
+
+
Function
setSpeed
+
Description
This function used to set the current speed(The unit is rpm).
+ Note: used with update function.
+
Parameters
+ + +
[in]speed- the speed value(The unit is rpm).
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setSpeedPid()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeEncoderOnBoard::setSpeedPid (float p,
float i,
float d 
)
+
+
Function
setSpeedPid
+
Description
This function used to set the PID parameters for encoder motor's speed.
+
Parameters
+ + + + +
[in]p- Proportion parameter
[in]i- Integration Parameters
[in]d- Differential parameter
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setTarPWM()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::setTarPWM (int16_t pwm_value)
+
+
Function
setTarPWM
+
Description
This function used for set the target pwm value.
+
Parameters
+ + +
[in]pwm_value- the target pwm value.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ speedWithoutPos()

+ +
+
+ + + + + + + + +
int16_t MeEncoderOnBoard::speedWithoutPos (void )
+
+
Function
speedWithoutPos
+
Description
This function used to calculate the PWM motor value of encoder motor(single speed).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ updateCurPos()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::updateCurPos (void )
+
+
Function
updateCurPos
+
Description
This function used to calculate the current position(The units are degrees).
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ updateSpeed()

+ +
+
+ + + + + + + + +
void MeEncoderOnBoard::updateSpeed (void )
+
+
Function
updateSpeed
+
Description
This function used to update current speed.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_encoder_on_board.js b/doc/html/class_me_encoder_on_board.js new file mode 100644 index 00000000..0601872e --- /dev/null +++ b/doc/html/class_me_encoder_on_board.js @@ -0,0 +1,38 @@ +var class_me_encoder_on_board = +[ + [ "MeEncoderOnBoard", "class_me_encoder_on_board.html#afcb6c413e88b685ebe72b0b34b48d32a", null ], + [ "MeEncoderOnBoard", "class_me_encoder_on_board.html#a043ff2bc98d5f271bac28b5ac21d580b", null ], + [ "distanceToGo", "class_me_encoder_on_board.html#a71d703a87bfe15ec2fbe86ab51e44778", null ], + [ "encoderMove", "class_me_encoder_on_board.html#afae914fcb38cfeff89561ec1667ddb6b", null ], + [ "getCurPos", "class_me_encoder_on_board.html#a166e2d6d5f8aeb598638b80472b79474", null ], + [ "getCurPwm", "class_me_encoder_on_board.html#acbf1db8de43fd00edff02218f520e59c", null ], + [ "getCurrentSpeed", "class_me_encoder_on_board.html#a8e9e0142f1c6b864ddbc1c96eea47033", null ], + [ "getIntNum", "class_me_encoder_on_board.html#a25fa2844d59070f897269f929c06c92b", null ], + [ "getPortA", "class_me_encoder_on_board.html#a6c96dc60288791c12a9071ab72081fdb", null ], + [ "getPortB", "class_me_encoder_on_board.html#a51d03721fd727d0066546f0280811f4f", null ], + [ "getPulsePos", "class_me_encoder_on_board.html#ae41f008de63749d140beeda6ecde9080", null ], + [ "getSlotNum", "class_me_encoder_on_board.html#aa6d2efab8f23883b30518c4bd0d9652b", null ], + [ "isTarPosReached", "class_me_encoder_on_board.html#a1539ed2b8d1a47b9b5037c114856ad00", null ], + [ "loop", "class_me_encoder_on_board.html#a40a21255f01a568dbdbdcbfe9236070c", null ], + [ "move", "class_me_encoder_on_board.html#afae5f5d060a6bcefbe344b418455a819", null ], + [ "moveTo", "class_me_encoder_on_board.html#a288f72436792c55a8847bfc3fa94b972", null ], + [ "pidPositionToPwm", "class_me_encoder_on_board.html#ad22d95cd15408391e5638b5fc9fa6896", null ], + [ "pulsePosMinus", "class_me_encoder_on_board.html#a8bf581cccdefbc31950d5ff81ed1cb9c", null ], + [ "pulsePosPlus", "class_me_encoder_on_board.html#a5860af63894f883a46e7faa448091315", null ], + [ "pwmMove", "class_me_encoder_on_board.html#abf552ba0bf4e6e83dc9a63f510792cd0", null ], + [ "reset", "class_me_encoder_on_board.html#aeafd81a680a1444e923db41fc5071eca", null ], + [ "runSpeed", "class_me_encoder_on_board.html#aa13835d17bf0a523cacc9dc938efa3ca", null ], + [ "setCurrentSpeed", "class_me_encoder_on_board.html#a27ca91cfa7df12a997db8a0eb04ab536", null ], + [ "setMotionMode", "class_me_encoder_on_board.html#a0d5dc8c4a9c36dbd02236ab2358a37dd", null ], + [ "setMotorPwm", "class_me_encoder_on_board.html#a35f9d7b4962ff8b1ed1db67896c4ed0e", null ], + [ "setPosPid", "class_me_encoder_on_board.html#ae8203fd1090bd08ccf2612642d6bb8e7", null ], + [ "setPulse", "class_me_encoder_on_board.html#af1e72c2e0a40b0e8819adb4f3eef42dd", null ], + [ "setPulsePos", "class_me_encoder_on_board.html#a3fff87c540573fc74038bcf809dc311e", null ], + [ "setRatio", "class_me_encoder_on_board.html#ab144dd43024fd80fbb251938f50adff6", null ], + [ "setSpeed", "class_me_encoder_on_board.html#a9aff7dfc02978f6d066cbd24ce0687b3", null ], + [ "setSpeedPid", "class_me_encoder_on_board.html#a5a668410ea2407e80627998161c7452d", null ], + [ "setTarPWM", "class_me_encoder_on_board.html#a5a5e69839bf4e35865e4c31d443a9d7f", null ], + [ "speedWithoutPos", "class_me_encoder_on_board.html#a3296a20f1c19ff9c3f6721e5c1a4f0e2", null ], + [ "updateCurPos", "class_me_encoder_on_board.html#ad4df58c9cbc5646df9223e7560857bec", null ], + [ "updateSpeed", "class_me_encoder_on_board.html#a7edaebc0c6aa631955d20cf7923e57f2", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_flame_sensor-members.html b/doc/html/class_me_flame_sensor-members.html new file mode 100644 index 00000000..4b13bf30 --- /dev/null +++ b/doc/html/class_me_flame_sensor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeFlameSensor Member List
+
+
+ +

This is the complete list of members for MeFlameSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeFlameSensor(void)MeFlameSensor
MeFlameSensor(uint8_t port)MeFlameSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
readAnalog(void)MeFlameSensor
readDigital(void)MeFlameSensor
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t digital_pin, uint8_t analog_pin)MeFlameSensor
+
+ + + + diff --git a/doc/html/class_me_flame_sensor.html b/doc/html/class_me_flame_sensor.html new file mode 100644 index 00000000..4eb3ef2c --- /dev/null +++ b/doc/html/class_me_flame_sensor.html @@ -0,0 +1,348 @@ + + + + + + + +MakeBlock Drive Updated: MeFlameSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeFlameSensor Class Reference
+
+
+ +

Driver for Me flame snesor device. + More...

+ +

#include <src/MeFlameSensor.h>

+
+Inheritance diagram for MeFlameSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeFlameSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeFlameSensor (void)
 
 MeFlameSensor (uint8_t port)
 
void setpin (uint8_t digital_pin, uint8_t analog_pin)
 
uint8_t readDigital (void)
 
int16_t readAnalog (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me flame snesor device.

+

Class: MeFlameSensor

Description
Declaration of Class MeFlameSensor
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeFlameSensor() [1/2]

+ +
+
+ + + + + + + + +
MeFlameSensor::MeFlameSensor (void )
+
+

Alternate Constructor which can call your own function to map the flame snesor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeFlameSensor() [2/2]

+ +
+
+ + + + + + + + +
MeFlameSensor::MeFlameSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the flame snesor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ readAnalog()

+ +
+
+ + + + + + + + +
int16_t MeFlameSensor::readAnalog (void )
+
+
Function
readAnalog
+
Description
Read the analog signal of flame snesor.
+
Output
None
+
Returns
The vlaue from flame snesor's analog output
+
Others
None
+ +
+
+ +

◆ readDigital()

+ +
+
+ + + + + + + + +
uint8_t MeFlameSensor::readDigital (void )
+
+
Function
readDigital
+
Description
Read the digital signal of flame snesor, It is the result of comparison between the threshold value and the analog output. The threshold value can be adjusted using a rheostat
+
Output
None
+
Returns
true - The fire is detected
+ false - No fire is detected
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeFlameSensor::setpin (uint8_t digital_pin,
uint8_t analog_pin 
)
+
+
Function
setpin
+
Description
Reset the flame snesor available PIN by its arduino port.
+
Parameters
+ + + +
[in]digital_pin- arduino port for digital signal input
[in]analog_pin- arduino port for analog signal input
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_flame_sensor.js b/doc/html/class_me_flame_sensor.js new file mode 100644 index 00000000..7f7882ab --- /dev/null +++ b/doc/html/class_me_flame_sensor.js @@ -0,0 +1,8 @@ +var class_me_flame_sensor = +[ + [ "MeFlameSensor", "class_me_flame_sensor.html#adc284c980be43010a9dc046ed9ecf03f", null ], + [ "MeFlameSensor", "class_me_flame_sensor.html#a32ce1598a172c6ddd56b51713add39e3", null ], + [ "readAnalog", "class_me_flame_sensor.html#a09baccd24c256f1ad1b59e148f43450a", null ], + [ "readDigital", "class_me_flame_sensor.html#a01b134562c8fff15c7f7f48e18839cd0", null ], + [ "setpin", "class_me_flame_sensor.html#a42b0282962ea9afea2d2b0d4bbdb1ce4", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_flame_sensor.png b/doc/html/class_me_flame_sensor.png new file mode 100644 index 00000000..3bb51f1b Binary files /dev/null and b/doc/html/class_me_flame_sensor.png differ diff --git a/doc/html/class_me_flame_sensor__coll__graph.map b/doc/html/class_me_flame_sensor__coll__graph.map new file mode 100644 index 00000000..5cca9f72 --- /dev/null +++ b/doc/html/class_me_flame_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_flame_sensor__coll__graph.md5 b/doc/html/class_me_flame_sensor__coll__graph.md5 new file mode 100644 index 00000000..80d02cad --- /dev/null +++ b/doc/html/class_me_flame_sensor__coll__graph.md5 @@ -0,0 +1 @@ +7cd8f72468e1f948481c281bfaab4bae \ No newline at end of file diff --git a/doc/html/class_me_flame_sensor__coll__graph.png b/doc/html/class_me_flame_sensor__coll__graph.png new file mode 100644 index 00000000..eff9f203 Binary files /dev/null and b/doc/html/class_me_flame_sensor__coll__graph.png differ diff --git a/doc/html/class_me_flame_sensor__inherit__graph.map b/doc/html/class_me_flame_sensor__inherit__graph.map new file mode 100644 index 00000000..5cca9f72 --- /dev/null +++ b/doc/html/class_me_flame_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_flame_sensor__inherit__graph.md5 b/doc/html/class_me_flame_sensor__inherit__graph.md5 new file mode 100644 index 00000000..80d02cad --- /dev/null +++ b/doc/html/class_me_flame_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +7cd8f72468e1f948481c281bfaab4bae \ No newline at end of file diff --git a/doc/html/class_me_flame_sensor__inherit__graph.png b/doc/html/class_me_flame_sensor__inherit__graph.png new file mode 100644 index 00000000..eff9f203 Binary files /dev/null and b/doc/html/class_me_flame_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_gas_sensor-members.html b/doc/html/class_me_gas_sensor-members.html new file mode 100644 index 00000000..bfdb01e7 --- /dev/null +++ b/doc/html/class_me_gas_sensor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGasSensor Member List
+
+
+ +

This is the complete list of members for MeGasSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeGasSensor(void)MeGasSensor
MeGasSensor(uint8_t port)MeGasSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
readAnalog(void)MeGasSensor
readDigital(void)MeGasSensor
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t digital_pin, uint8_t analog_pin)MeGasSensor
+
+ + + + diff --git a/doc/html/class_me_gas_sensor.html b/doc/html/class_me_gas_sensor.html new file mode 100644 index 00000000..d53d4582 --- /dev/null +++ b/doc/html/class_me_gas_sensor.html @@ -0,0 +1,348 @@ + + + + + + + +MakeBlock Drive Updated: MeGasSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeGasSensor Class Reference
+
+
+ +

Driver for Me gas snesor device. + More...

+ +

#include <src/MeGasSensor.h>

+
+Inheritance diagram for MeGasSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeGasSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeGasSensor (void)
 
 MeGasSensor (uint8_t port)
 
void setpin (uint8_t digital_pin, uint8_t analog_pin)
 
uint8_t readDigital (void)
 
int16_t readAnalog (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me gas snesor device.

+

Class: MeGasSensor

Description
Declaration of Class MeGasSensor
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeGasSensor() [1/2]

+ +
+
+ + + + + + + + +
MeGasSensor::MeGasSensor (void )
+
+

Alternate Constructor which can call your own function to map the gas snesor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeGasSensor() [2/2]

+ +
+
+ + + + + + + + +
MeGasSensor::MeGasSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the gas snesor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ readAnalog()

+ +
+
+ + + + + + + + +
int16_t MeGasSensor::readAnalog (void )
+
+
Function
readAnalog
+
Description
Read the analog signal of gas snesor.
+
Output
None
+
Returns
The vlaue from gas snesor's analog output
+
Others
None
+ +
+
+ +

◆ readDigital()

+ +
+
+ + + + + + + + +
uint8_t MeGasSensor::readDigital (void )
+
+
Function
readDigital
+
Description
Read the digital signal of gas snesor, It is the result of comparison between the threshold value and the analog output. The threshold value can be adjusted using a rheostat
+
Output
None
+
Returns
true - The gas concentration exceeds
+ false - The concentration of the gas in the range
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeGasSensor::setpin (uint8_t digital_pin,
uint8_t analog_pin 
)
+
+
Function
setpin
+
Description
Reset the gas snesor available PIN by its arduino port.
+
Parameters
+ + + +
[in]digital_pin- arduino port for digital signal input
[in]analog_pin- arduino port for analog signal input
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_gas_sensor.js b/doc/html/class_me_gas_sensor.js new file mode 100644 index 00000000..3e68116b --- /dev/null +++ b/doc/html/class_me_gas_sensor.js @@ -0,0 +1,8 @@ +var class_me_gas_sensor = +[ + [ "MeGasSensor", "class_me_gas_sensor.html#a96b281de59928839b6d267f7c368fdfe", null ], + [ "MeGasSensor", "class_me_gas_sensor.html#a70e0e87e9237858c8b48a5b06beef965", null ], + [ "readAnalog", "class_me_gas_sensor.html#ab074be57436cbeda3788a109435b6d45", null ], + [ "readDigital", "class_me_gas_sensor.html#aeac19b4e212288e4c3ec309ef69ce881", null ], + [ "setpin", "class_me_gas_sensor.html#abd9b50c545276fa6b1b357083de5c5e4", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_gas_sensor.png b/doc/html/class_me_gas_sensor.png new file mode 100644 index 00000000..7e5dbbe3 Binary files /dev/null and b/doc/html/class_me_gas_sensor.png differ diff --git a/doc/html/class_me_gas_sensor__coll__graph.map b/doc/html/class_me_gas_sensor__coll__graph.map new file mode 100644 index 00000000..9a733007 --- /dev/null +++ b/doc/html/class_me_gas_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_gas_sensor__coll__graph.md5 b/doc/html/class_me_gas_sensor__coll__graph.md5 new file mode 100644 index 00000000..0a378643 --- /dev/null +++ b/doc/html/class_me_gas_sensor__coll__graph.md5 @@ -0,0 +1 @@ +693239887c1fb02490de977ba3fa6870 \ No newline at end of file diff --git a/doc/html/class_me_gas_sensor__coll__graph.png b/doc/html/class_me_gas_sensor__coll__graph.png new file mode 100644 index 00000000..2f2e1bb6 Binary files /dev/null and b/doc/html/class_me_gas_sensor__coll__graph.png differ diff --git a/doc/html/class_me_gas_sensor__inherit__graph.map b/doc/html/class_me_gas_sensor__inherit__graph.map new file mode 100644 index 00000000..9a733007 --- /dev/null +++ b/doc/html/class_me_gas_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_gas_sensor__inherit__graph.md5 b/doc/html/class_me_gas_sensor__inherit__graph.md5 new file mode 100644 index 00000000..0a378643 --- /dev/null +++ b/doc/html/class_me_gas_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +693239887c1fb02490de977ba3fa6870 \ No newline at end of file diff --git a/doc/html/class_me_gas_sensor__inherit__graph.png b/doc/html/class_me_gas_sensor__inherit__graph.png new file mode 100644 index 00000000..2f2e1bb6 Binary files /dev/null and b/doc/html/class_me_gas_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_gyro-members.html b/doc/html/class_me_gyro-members.html new file mode 100644 index 00000000..60081d10 --- /dev/null +++ b/doc/html/class_me_gyro-members.html @@ -0,0 +1,149 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeGyro Member List
+
+
+ +

This is the complete list of members for MeGyro, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin()MeGyro
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
fast_update(void)MeGyro
getAngle(uint8_t index) constMeGyro
getAngleX(void) constMeGyro
getAngleY(void) constMeGyro
getAngleZ(void) constMeGyro
getDevAddr(void) constMeGyro
getGyroX(void) constMeGyro
getGyroY(void) constMeGyro
getGyroZ(void) constMeGyro
getPort(void)MePort
getSlot(void)MePort
MeGyro(void)MeGyro
MeGyro(uint8_t port)MeGyro
MeGyro(uint8_t port, uint8_t address)MeGyro
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
resetData(void)MeGyro
s1MePortprotected
s2MePortprotected
setpin(uint8_t AD0, uint8_t INT)MeGyro
update(void)MeGyro
+
+ + + + diff --git a/doc/html/class_me_gyro.html b/doc/html/class_me_gyro.html new file mode 100644 index 00000000..768547ac --- /dev/null +++ b/doc/html/class_me_gyro.html @@ -0,0 +1,727 @@ + + + + + + + +MakeBlock Drive Updated: MeGyro Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeGyro Class Reference
+
+
+ +

Driver for MeGyro module. + More...

+ +

#include <src/MeGyro.h>

+
+Inheritance diagram for MeGyro:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeGyro:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeGyro (void)
 
 MeGyro (uint8_t port)
 
 MeGyro (uint8_t port, uint8_t address)
 
void setpin (uint8_t AD0, uint8_t INT)
 
void begin ()
 
void update (void)
 
void fast_update (void)
 
uint8_t getDevAddr (void) const
 
double getAngleX (void) const
 
double getAngleY (void) const
 
double getAngleZ (void) const
 
double getGyroX (void) const
 
double getGyroY (void) const
 
double getGyroZ (void) const
 
double getAngle (uint8_t index) const
 
void resetData (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for MeGyro module.

+

Class: MeGyro

Description
Declaration of Class MeGyro
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeGyro() [1/3]

+ +
+
+ + + + + + + + +
MeGyro::MeGyro (void )
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port, no pins are used or initialized here

+

Alternate Constructor which can call your own function to map the MeGyro to arduino port, no pins are used or initialized here

+ +
+
+ +

◆ MeGyro() [2/3]

+ +
+
+ + + + + + + + +
MeGyro::MeGyro (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+

Alternate Constructor which can call your own function to map the MeGyro to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeGyro() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeGyro::MeGyro (uint8_t port,
uint8_t address 
)
+
+

Alternate Constructor which can call your own function to map the MeCompass to arduino port and change the i2c device address no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]address- the i2c address you want to set
+
+
+

Alternate Constructor which can call your own function to map the MeGyro to arduino port and change the i2c device address no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]address- the i2c address you want to set
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeGyro::begin (void )
+
+
Function
begin
+
Description
Initialize the MeGyro.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
You can check the MPU6050 datasheet for the registor address.
+ +
+
+ +

◆ fast_update()

+ +
+
+ + + + + + + + +
void MeGyro::fast_update (void )
+
+
Function
fast_update
+
Description
Fast update some calculated angle values to the variable.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
The angle values are calculated by complementary filter. The time constant of filter is set to 0.5 second, but period dt is not a constant, so the filter coefficient will be calculated dynamically.
+ +
+
+ +

◆ getAngle()

+ +
+
+ + + + + + + + +
double MeGyro::getAngle (uint8_t index) const
+
+
Function
getAngle
+
Description
Get the angle value of setting axis.
+
Parameters
+ + +
[in]index- Axis settings(1:X-axis, 2:Y-axis, 3:Z-axis)
+
+
+
Output
None
+
Returns
The angle value of setting axis
+
Others
Z-axis angle value is integral of Z-axis angular velocity.
+ +
+
+ +

◆ getAngleX()

+ +
+
+ + + + + + + + +
double MeGyro::getAngleX (void ) const
+
+
Function
getAngleX
+
Description
Get the angle value of X-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The angle value of X-axis
+
Others
X-axis angle value is calculated by complementary filter.
+
Function
getAngleY
+
Description
Get the angle value of X-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The angle value of X-axis
+
Others
X-axis angle value is calculated by complementary filter.
+ +
+
+ +

◆ getAngleY()

+ +
+
+ + + + + + + + +
double MeGyro::getAngleY (void ) const
+
+
Function
getAngleY
+
Description
Get the angle value of Y-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The angle value of Y-axis
+
Others
Y-axis angle value is calculated by complementary filter.
+ +
+
+ +

◆ getAngleZ()

+ +
+
+ + + + + + + + +
double MeGyro::getAngleZ (void ) const
+
+
Function
getAngleZ
+
Description
Get the angle value of Z-axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The angle value of Z-axis
+
Others
Z-axis angle value is integral of Z-axis angular velocity.
+ +
+
+ +

◆ getDevAddr()

+ +
+
+ + + + + + + + +
uint8_t MeGyro::getDevAddr (void ) const
+
+
Function
getDevAddr
+
Description
Get the device address of Gyro.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The device address of Gyro
+
Others
None
+ +
+
+ +

◆ getGyroX()

+ +
+
+ + + + + + + + +
double MeGyro::getGyroX (void ) const
+
+
Function
getGyroX
+
Description
Get the data of gyroXrate.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The data of gyroXrate
+
Others
None
+ +
+
+ +

◆ getGyroY()

+ +
+
+ + + + + + + + +
double MeGyro::getGyroY (void ) const
+
+
Function
getGyroY
+
Description
Get the data of gyroYrate.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The data of gyroYrate
+
Others
None
+ +
+
+ +

◆ getGyroZ()

+ +
+
+ + + + + + + + +
double MeGyro::getGyroZ (void ) const
+
+
Function
getGyroZ
+
Description
Get the data of gyroZrate.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The data of gyroZrate
+
Others
None
+ +
+
+ +

◆ resetData()

+ +
+
+ + + + + + + + +
void MeGyro::resetData (void )
+
+
Function
resetData
+
Description
Reset the angle value of setting axis.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Author
Nicolas Bourré
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeGyro::setpin (uint8_t AD0,
uint8_t INT 
)
+
+
Function
setpin
+
Description
Set the PIN of the button module.
+
Parameters
+ + + +
[in]AD0- pin mapping for arduino
[in]INT- pin mapping for arduino
+
+
+
Output
None
+
Returns
None.
+
Others
Set global variable _AD0, _INT, s1 and s2
+ +
+
+ +

◆ update()

+ +
+
+ + + + + + + + +
void MeGyro::update (void )
+
+
Function
update
+
Description
Update some calculated angle values to the variable.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
The angle values are calculated by complementary filter. The time constant of filter is set to 0.5 second, but period dt is not a constant, so the filter coefficient will be calculated dynamically.
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_gyro.js b/doc/html/class_me_gyro.js new file mode 100644 index 00000000..96657611 --- /dev/null +++ b/doc/html/class_me_gyro.js @@ -0,0 +1,19 @@ +var class_me_gyro = +[ + [ "MeGyro", "class_me_gyro.html#a4a6b3f7485716b1943e15eb554b51ae7", null ], + [ "MeGyro", "class_me_gyro.html#a207095ed46ba017c930c4fefe856828e", null ], + [ "MeGyro", "class_me_gyro.html#a0340b5dfd830cbfc25034a3277ad071f", null ], + [ "begin", "class_me_gyro.html#ae12dbf32cc840e0d734dc813d1d3b8cc", null ], + [ "fast_update", "class_me_gyro.html#a01ab455745beef2583a64e83c88e54e0", null ], + [ "getAngle", "class_me_gyro.html#a7ff55cc89d2507d47d193d659341b6b2", null ], + [ "getAngleX", "class_me_gyro.html#a22f9944d93ab6c8b3c09195fcf002675", null ], + [ "getAngleY", "class_me_gyro.html#a32858bdbdbc045d5885c8294d811c351", null ], + [ "getAngleZ", "class_me_gyro.html#aee097463680345da15710d7e2f5bad04", null ], + [ "getDevAddr", "class_me_gyro.html#a15122f1ff89422a7aa0f0bb0a7af82ad", null ], + [ "getGyroX", "class_me_gyro.html#acd4874b1d99d4a79c4194b5f0a2691d1", null ], + [ "getGyroY", "class_me_gyro.html#a2409cc23fd683a3f546f1660da49bf8d", null ], + [ "getGyroZ", "class_me_gyro.html#a973d074ad4c72fec8bf77a43db27da06", null ], + [ "resetData", "class_me_gyro.html#a1a7b23e100b983b19b83ff78f4a66af0", null ], + [ "setpin", "class_me_gyro.html#ac183cec71c6d840b7c5d651d025e02ca", null ], + [ "update", "class_me_gyro.html#a85373ad8f4764f9ab9cd0d880fb8dd19", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_gyro.png b/doc/html/class_me_gyro.png new file mode 100644 index 00000000..745dbad5 Binary files /dev/null and b/doc/html/class_me_gyro.png differ diff --git a/doc/html/class_me_gyro__coll__graph.map b/doc/html/class_me_gyro__coll__graph.map new file mode 100644 index 00000000..f9d83cda --- /dev/null +++ b/doc/html/class_me_gyro__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_gyro__coll__graph.md5 b/doc/html/class_me_gyro__coll__graph.md5 new file mode 100644 index 00000000..79fecc86 --- /dev/null +++ b/doc/html/class_me_gyro__coll__graph.md5 @@ -0,0 +1 @@ +a56705e36f8e06fbc9070c37579f5d22 \ No newline at end of file diff --git a/doc/html/class_me_gyro__coll__graph.png b/doc/html/class_me_gyro__coll__graph.png new file mode 100644 index 00000000..90651a30 Binary files /dev/null and b/doc/html/class_me_gyro__coll__graph.png differ diff --git a/doc/html/class_me_gyro__inherit__graph.map b/doc/html/class_me_gyro__inherit__graph.map new file mode 100644 index 00000000..f9d83cda --- /dev/null +++ b/doc/html/class_me_gyro__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_gyro__inherit__graph.md5 b/doc/html/class_me_gyro__inherit__graph.md5 new file mode 100644 index 00000000..79fecc86 --- /dev/null +++ b/doc/html/class_me_gyro__inherit__graph.md5 @@ -0,0 +1 @@ +a56705e36f8e06fbc9070c37579f5d22 \ No newline at end of file diff --git a/doc/html/class_me_gyro__inherit__graph.png b/doc/html/class_me_gyro__inherit__graph.png new file mode 100644 index 00000000..90651a30 Binary files /dev/null and b/doc/html/class_me_gyro__inherit__graph.png differ diff --git a/doc/html/class_me_host_parser-members.html b/doc/html/class_me_host_parser-members.html new file mode 100644 index 00000000..756a19e6 --- /dev/null +++ b/doc/html/class_me_host_parser-members.html @@ -0,0 +1,116 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHostParser Member List
+
+
+ +

This is the complete list of members for MeHostParser, including all inherited members.

+ + + + + + + + + +
getData(uint8_t *buf, uint32_t size)MeHostParser
getPackageReady()MeHostParser
MeHostParser()MeHostParser
print(char *str, uint32_t *cnt) (defined in MeHostParser)MeHostParser
pushByte(uint8_t ch)MeHostParser
pushStr(uint8_t *str, uint32_t length)MeHostParser
run()MeHostParser
~MeHostParser()MeHostParser
+
+ + + + diff --git a/doc/html/class_me_host_parser.html b/doc/html/class_me_host_parser.html new file mode 100644 index 00000000..7bf00476 --- /dev/null +++ b/doc/html/class_me_host_parser.html @@ -0,0 +1,357 @@ + + + + + + + +MakeBlock Drive Updated: MeHostParser Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeHostParser Class Reference
+
+
+ +

Driver for Me Host Parser module. + More...

+ +

#include <src/MeHostParser.h>

+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeHostParser ()
 
 ~MeHostParser ()
 
uint8_t pushStr (uint8_t *str, uint32_t length)
 
uint8_t pushByte (uint8_t ch)
 
uint8_t run ()
 
uint8_t getPackageReady ()
 
uint8_t getData (uint8_t *buf, uint32_t size)
 
+void print (char *str, uint32_t *cnt)
 
+

Detailed Description

+

Driver for Me Host Parser module.

+

Class: MeHostParser

Description
Declaration of Class MeHostParser.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeHostParser()

+ +
+
+ + + + + + + +
MeHostParser::MeHostParser ()
+
+

Alternate Constructor which can call your own function to map the Host Parser to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ ~MeHostParser()

+ +
+
+ + + + + + + +
MeHostParser::~MeHostParser ()
+
+

Alternate Destructor which can call the system's destructor to free space, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+

Member Function Documentation

+ +

◆ getData()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t MeHostParser::getData (uint8_t * buf,
uint32_t size 
)
+
+
Function
getData
+
Description
Copy data to user's buffer.
+
Parameters
+ + + +
[in]buf- A buffer for a getting data.
[in]size- The length of getting data.
+
+
+
Output
None
+
Return
Return the length of getting data or 0.
+
Others
None
+ +
+
+ +

◆ getPackageReady()

+ +
+
+ + + + + + + +
uint8_t MeHostParser::getPackageReady ()
+
+
Function
getPackageReady
+
Description
Get the package ready state.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the status ready or not.
+
Others
None
+ +
+
+ +

◆ pushByte()

+ +
+
+ + + + + + + + +
uint8_t MeHostParser::pushByte (uint8_t ch)
+
+
Function
pushByte
+
Description
To push a byte to Host Parser.
+
Parameters
+ + +
[in]ch- A pointer to a char.
+
+
+
Output
None
+
Return
Return the status of pushing char.
+
Others
None
+ +
+
+ +

◆ pushStr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t MeHostParser::pushStr (uint8_t * str,
uint32_t length 
)
+
+
Function
pushStr
+
Description
To push a string to Host Parser.
+
Parameters
+ + + +
[in]str- A pointer to a string.
[in]length- The length of the string.
+
+
+
Output
None
+
Return
Return the index of pushing string.
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
uint8_t MeHostParser::run (void )
+
+
Function
run
+
Description
The running status of Host Parser.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the status of Host Parser's running.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_host_parser.js b/doc/html/class_me_host_parser.js new file mode 100644 index 00000000..da6b765c --- /dev/null +++ b/doc/html/class_me_host_parser.js @@ -0,0 +1,10 @@ +var class_me_host_parser = +[ + [ "MeHostParser", "class_me_host_parser.html#a05210809fce73b62b8864c8cc07c67e5", null ], + [ "~MeHostParser", "class_me_host_parser.html#a33eea4b1148451559c18f52ea7e0916d", null ], + [ "getData", "class_me_host_parser.html#a653298e64d1ac2633b23e4ae420121c3", null ], + [ "getPackageReady", "class_me_host_parser.html#a4e07eae4722fba03fd463447cb8526d4", null ], + [ "pushByte", "class_me_host_parser.html#aea2e516581e88dc2f807759bc2a679b2", null ], + [ "pushStr", "class_me_host_parser.html#a0103f25edd15026dcf5ae8a19cb25abf", null ], + [ "run", "class_me_host_parser.html#a29f974647d06c7cb1c75db2963958478", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_humiture-members.html b/doc/html/class_me_humiture-members.html new file mode 100644 index 00000000..a4df79da --- /dev/null +++ b/doc/html/class_me_humiture-members.html @@ -0,0 +1,144 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeHumiture Member List
+
+
+ +

This is the complete list of members for MeHumiture, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getdewPoint(void)MeHumiture
getFahrenheit(void)MeHumiture
getHumidity(void)MeHumiture
getKelvin(void)MeHumiture
getPointFast(void)MeHumiture
getPort(void)MePort
getSlot(void)MePort
getTemperature(void)MeHumiture
getValue(uint8_t index)MeHumiture
MeHumiture(void)MeHumiture
MeHumiture(uint8_t port)MeHumiture
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t port)MeHumiture
update(void)MeHumiture
+
+ + + + diff --git a/doc/html/class_me_humiture.html b/doc/html/class_me_humiture.html new file mode 100644 index 00000000..592bd64c --- /dev/null +++ b/doc/html/class_me_humiture.html @@ -0,0 +1,530 @@ + + + + + + + +MakeBlock Drive Updated: MeHumiture Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeHumiture Class Reference
+
+
+ +

Driver for humiture sensor device. + More...

+ +

#include <src/MeHumitureSensor.h>

+
+Inheritance diagram for MeHumiture:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeHumiture:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeHumiture (void)
 
 MeHumiture (uint8_t port)
 
void setpin (uint8_t port)
 
void update (void)
 
uint8_t getHumidity (void)
 
uint8_t getTemperature (void)
 
uint8_t getValue (uint8_t index)
 
double getFahrenheit (void)
 
double getKelvin (void)
 
double getdewPoint (void)
 
double getPointFast (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for humiture sensor device.

+

Class: MeHumiture

Description
Declaration of Class MeHumiture.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeHumiture() [1/2]

+ +
+
+ + + + + + + + +
MeHumiture::MeHumiture (void )
+
+

Alternate Constructor which can call your own function to map the humiture sensor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeHumiture() [2/2]

+ +
+
+ + + + + + + + +
MeHumiture::MeHumiture (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the temperature sensor to arduino port, the slot2 pin will be used here since specify slot is not be set.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ getdewPoint()

+ +
+
+ + + + + + + + +
double MeHumiture::getdewPoint (void )
+
+
Function
dewPoint
+
Description
The dew-point temperature (Point at this temperature, the air is saturated and produce dew).
+
Parameters
+ + + +
[in]celsius- The celsius degrees of air.
[in]humidity- The humidity of air.
+
+
+
Output
None
+
Return
Return the dew-point of air.
+
Others
None
+ +
+
+ +

◆ getFahrenheit()

+ +
+
+ + + + + + + + +
double MeHumiture::getFahrenheit (void )
+
+
Function
Fahrenheit
+
Description
Change celsius degrees into Fahrenheit.
+
Parameters
+ + +
[in]celsius- The number of celsius degrees.
+
+
+
Output
None
+
Return
Return the number of Fahrenheit
+
Others
None
+ +
+
+ +

◆ getHumidity()

+ +
+
+ + + + + + + + +
uint8_t MeHumiture::getHumidity (void )
+
+
Function
getHumidity
+
Description
Use this function to Get the Humidity data
+
Output
None
+
Returns
The value of Humidity
+
Others
None
+ +
+
+ +

◆ getKelvin()

+ +
+
+ + + + + + + + +
double MeHumiture::getKelvin (void )
+
+
Function
Kelvin
+
Description
Change celsius degrees into Kelvin.
+
Parameters
+ + +
[in]celsius- The number of celsius degrees.
+
+
+
Output
None
+
Return
Return the number of Kelvin temperature.
+
Others
None
+ +
+
+ +

◆ getPointFast()

+ +
+
+ + + + + + + + +
double MeHumiture::getPointFast (void )
+
+
Function
dewPointFast
+
Description
Fast calculating dew point, Speed is 5 times to dewPoint().
+
Parameters
+ + + +
[in]celsius- The celsius degrees of air.
[in]humidity- The humidity of air.
+
+
+
Output
None
+
Return
Return the Fast calculating dew point of air.
+
Others
None
+
Function
dewPointFast
+
Description
Fast calculating dew point, peed is 5 times to dewPoint().
+
Parameters
+ + + +
[in]celsius- The celsius degrees of air.
[in]humidity- The humidity of air.
+
+
+
Output
None
+
Return
Return the Fast calculating dew point of air.
+
Others
None
+ +
+
+ +

◆ getTemperature()

+ +
+
+ + + + + + + + +
uint8_t MeHumiture::getTemperature (void )
+
+
Function
getTemperature
+
Description
Use this function to Get the Temperature data
+
Output
None
+
Returns
The value of Temperature
+
Others
None
+ +
+
+ +

◆ getValue()

+ +
+
+ + + + + + + + +
uint8_t MeHumiture::getValue (uint8_t index)
+
+
Function
getValue
+
Description
Use this function to Get the Temperature data or Humidity data
+
Parameters
+ + +
[in]index- The value '0' means get the value of Humidity data and '1' used to get the Temperature data.
+
+
+
Output
None
+
Returns
The value of Temperature
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeHumiture::setpin (uint8_t port)
+
+
Function
setpin
+
Description
Reset available PIN for temperature sensor by its arduino port.
+
Parameters
+ + +
[in]port- arduino port(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ update()

+ +
+
+ + + + + + + + +
void MeHumiture::update (void )
+
+
Function
update
+
Description
Use this function to update the sensor data
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_humiture.js b/doc/html/class_me_humiture.js new file mode 100644 index 00000000..ff833c1b --- /dev/null +++ b/doc/html/class_me_humiture.js @@ -0,0 +1,14 @@ +var class_me_humiture = +[ + [ "MeHumiture", "class_me_humiture.html#a1795d111fb925d4dbbbe500d0698c724", null ], + [ "MeHumiture", "class_me_humiture.html#a89b2b014a729287e7a2de580da6c96c0", null ], + [ "getdewPoint", "class_me_humiture.html#af89ec5b9a23973e9256c8458c340f067", null ], + [ "getFahrenheit", "class_me_humiture.html#a2b70560a4598ec78832b13dfc63fdd07", null ], + [ "getHumidity", "class_me_humiture.html#a8e2e8567ea52c7bea8148214636e5444", null ], + [ "getKelvin", "class_me_humiture.html#ae42e2c3fac7b1e53c0732d278de880c1", null ], + [ "getPointFast", "class_me_humiture.html#aad97cff43721852a7e2d72cd223d1d3f", null ], + [ "getTemperature", "class_me_humiture.html#a5811d17c07807b9617751adf382abf15", null ], + [ "getValue", "class_me_humiture.html#a0aa1f08444d67c6bed1c3eb0f357afa7", null ], + [ "setpin", "class_me_humiture.html#a3d96abbe15a836cfae534ec67f908f85", null ], + [ "update", "class_me_humiture.html#aa407c9adbdefaab8cf419d9748a11e56", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_humiture.png b/doc/html/class_me_humiture.png new file mode 100644 index 00000000..e20ccaf0 Binary files /dev/null and b/doc/html/class_me_humiture.png differ diff --git a/doc/html/class_me_humiture__coll__graph.map b/doc/html/class_me_humiture__coll__graph.map new file mode 100644 index 00000000..76cbddd3 --- /dev/null +++ b/doc/html/class_me_humiture__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_humiture__coll__graph.md5 b/doc/html/class_me_humiture__coll__graph.md5 new file mode 100644 index 00000000..8beb49ac --- /dev/null +++ b/doc/html/class_me_humiture__coll__graph.md5 @@ -0,0 +1 @@ +6a2de0b6f4961d2dcfb9729b20a8b650 \ No newline at end of file diff --git a/doc/html/class_me_humiture__coll__graph.png b/doc/html/class_me_humiture__coll__graph.png new file mode 100644 index 00000000..06eb7e99 Binary files /dev/null and b/doc/html/class_me_humiture__coll__graph.png differ diff --git a/doc/html/class_me_humiture__inherit__graph.map b/doc/html/class_me_humiture__inherit__graph.map new file mode 100644 index 00000000..76cbddd3 --- /dev/null +++ b/doc/html/class_me_humiture__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_humiture__inherit__graph.md5 b/doc/html/class_me_humiture__inherit__graph.md5 new file mode 100644 index 00000000..8beb49ac --- /dev/null +++ b/doc/html/class_me_humiture__inherit__graph.md5 @@ -0,0 +1 @@ +6a2de0b6f4961d2dcfb9729b20a8b650 \ No newline at end of file diff --git a/doc/html/class_me_humiture__inherit__graph.png b/doc/html/class_me_humiture__inherit__graph.png new file mode 100644 index 00000000..06eb7e99 Binary files /dev/null and b/doc/html/class_me_humiture__inherit__graph.png differ diff --git a/doc/html/class_me_i_r-members.html b/doc/html/class_me_i_r-members.html new file mode 100644 index 00000000..4414ce4c --- /dev/null +++ b/doc/html/class_me_i_r-members.html @@ -0,0 +1,129 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeIR Member List
+
+
+ +

This is the complete list of members for MeIR, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
begin()MeIR
bits (defined in MeIR)MeIR
decode()MeIR
decode_type (defined in MeIR)MeIR
enableIRIn()MeIR
enableIROut(uint8_t khz)MeIR
end()MeIR
getCode()MeIR
getString()MeIR
keyPressed(unsigned char r)MeIR
loop()MeIR
mark(uint16_t us)MeIR
MeIR()MeIR
rawbuf (defined in MeIR)MeIR
rawlen (defined in MeIR)MeIR
sendNEC(unsigned long data, int nbits)MeIR
sendRaw(unsigned int buf[], int len, uint8_t hz)MeIR
sendString(String s)MeIR
sendString(float v)MeIR
space(uint16_t us)MeIR
value (defined in MeIR)MeIR
+
+ + + + diff --git a/doc/html/class_me_i_r.html b/doc/html/class_me_i_r.html new file mode 100644 index 00000000..ba1b03ba --- /dev/null +++ b/doc/html/class_me_i_r.html @@ -0,0 +1,658 @@ + + + + + + + +MakeBlock Drive Updated: MeIR Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +

Driver for Me IR module. + More...

+ +

#include <src/MeIR.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeIR ()
 
ErrorStatus decode ()
 
void begin ()
 
void end ()
 
void loop ()
 
boolean keyPressed (unsigned char r)
 
String getString ()
 
unsigned char getCode ()
 
void sendString (String s)
 
void sendString (float v)
 
void sendNEC (unsigned long data, int nbits)
 
void sendRaw (unsigned int buf[], int len, uint8_t hz)
 
void enableIROut (uint8_t khz)
 
void enableIRIn ()
 
void mark (uint16_t us)
 
void space (uint16_t us)
 
+ + + + + + + + + + + +

+Public Attributes

+int8_t decode_type
 
+unsigned long value
 
+uint8_t bits
 
+volatile uint8_t * rawbuf
 
+int rawlen
 
+

Detailed Description

+

Driver for Me IR module.

+

Class: MeIR

Description
Declaration of Class MeIR.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeIR()

+ +
+
+ + + + + + + +
MeIR::MeIR ()
+
+

Alternate Constructor which can call your own function to map the IR to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + +
void MeIR::begin ()
+
+
Function
begin
+
Description
Initialize interrupt.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ decode()

+ +
+
+ + + + + + + +
ErrorStatus MeIR::decode ()
+
+
Function
decode
+
Description
Decodes the received IR message.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Returns 0 if no data ready, 1 if data ready.
+
Others
Results of decoding are stored in results.
+ +
+
+ +

◆ enableIRIn()

+ +
+
+ + + + + + + +
void MeIR::enableIRIn ()
+
+
Function
enableIRIn
+
Description
Enable an IR to write in.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ enableIROut()

+ +
+
+ + + + + + + + +
void MeIR::enableIROut (uint8_t khz)
+
+
Function
enableIROut
+
Description
Enable an IR for the specified number of khz.
+
Parameters
+ + +
[in]us- THe time of a INTR.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ end()

+ +
+
+ + + + + + + +
void MeIR::end ()
+
+
Function
end
+
Description
Close the interrupt.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getCode()

+ +
+
+ + + + + + + +
unsigned char MeIR::getCode ()
+
+
Function
getCode
+
Description
Get the reading code.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the result of reading.
+
Others
None
+ +
+
+ +

◆ getString()

+ +
+
+ + + + + + + +
String MeIR::getString ()
+
+
Function
getString
+
Description
Get string in a INTR.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the result in a IRQ.
+
Others
None
+ +
+
+ +

◆ keyPressed()

+ +
+
+ + + + + + + + +
boolean MeIR::keyPressed (unsigned char r)
+
+
Function
keyPressed
+
Description
Press key.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return you the pressed key or not.
+
Others
None
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + +
void MeIR::loop ()
+
+
Function
loop
+
Description
A circle of operation.
+
Parameters
+ + +
[in]None
+
+
+
Output0
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ mark()

+ +
+
+ + + + + + + + +
void MeIR::mark (uint16_t us)
+
+
Function
mark
+
Description
Sends an IR mark for the specified number of microseconds.
+
Parameters
+ + +
[in]us- THe time of a PWM.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ sendNEC()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeIR::sendNEC (unsigned long data,
int nbits 
)
+
+
Function
sendNEC
+
Description
Send NEC.
+
Parameters
+ + + +
[in]data- The data you want to send.
[in]nbits- The data bit you want to send.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ sendRaw()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeIR::sendRaw (unsigned int buf[],
int len,
uint8_t hz 
)
+
+
Function
sendRaw
+
Description
Send the length of data with hz.
+
Parameters
+ + + + +
[in]buf[]- The data's buffer.
[in]len- The data's length.
[in]hz- The hz for sending data.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ sendString() [1/2]

+ +
+
+ + + + + + + + +
void MeIR::sendString (float v)
+
+
Function
sendString
+
Description
Send data.
+
Parameters
+ + +
[in]v- The string you want to send.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ sendString() [2/2]

+ +
+
+ + + + + + + + +
void MeIR::sendString (String s)
+
+
Function
sendString
+
Description
Send data.
+
Parameters
+ + +
[in]s- The string you want to send.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ space()

+ +
+
+ + + + + + + + +
void MeIR::space (uint16_t us)
+
+
Function
space
+
Description
Sends an IR mark for the specified number of microseconds.
+
Parameters
+ + +
[in]us- THe time of a PWM.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_me_i_r.js b/doc/html/class_me_i_r.js new file mode 100644 index 00000000..d2aaf94b --- /dev/null +++ b/doc/html/class_me_i_r.js @@ -0,0 +1,19 @@ +var class_me_i_r = +[ + [ "MeIR", "class_me_i_r.html#a9093e92f61e6fb20d5bc1e9f0d250e04", null ], + [ "begin", "class_me_i_r.html#aa307ef91b7d762ea970e54dba32a161c", null ], + [ "decode", "class_me_i_r.html#a32e9dfb953176df04c4e2fb728a4a634", null ], + [ "enableIRIn", "class_me_i_r.html#ad53fd8d718609dab42c9937831306ee0", null ], + [ "enableIROut", "class_me_i_r.html#a5ba678779cfbadc0de5836341f785fea", null ], + [ "end", "class_me_i_r.html#a7030203133352a4f6f8a3f1e99643858", null ], + [ "getCode", "class_me_i_r.html#ad28a726a055271ee450f49a1d9d56cca", null ], + [ "getString", "class_me_i_r.html#acb90c07d687f185d4ed36a57b41cf358", null ], + [ "keyPressed", "class_me_i_r.html#a7b0f1947b326e956b7b6f7c06e95a3cc", null ], + [ "loop", "class_me_i_r.html#aeca67335b28008603173082a00a53641", null ], + [ "mark", "class_me_i_r.html#a45a3d2442f3dc1ffbc7816655475ff82", null ], + [ "sendNEC", "class_me_i_r.html#abc9e6b20f70767186f9b9f849785bef7", null ], + [ "sendRaw", "class_me_i_r.html#a1e24ad12d0d40449977f708748396438", null ], + [ "sendString", "class_me_i_r.html#a3994b9b4bb24d8f69d1582a6289604ce", null ], + [ "sendString", "class_me_i_r.html#ac16817f96bbdf3c065db67056b753b7e", null ], + [ "space", "class_me_i_r.html#adeca6211b7bc6c3e0825087c3165abc0", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_infrared_receiver-members.html b/doc/html/class_me_infrared_receiver-members.html new file mode 100644 index 00000000..f9555556 --- /dev/null +++ b/doc/html/class_me_infrared_receiver-members.html @@ -0,0 +1,177 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeInfraredReceiver Member List
+
+
+ +

This is the complete list of members for MeInfraredReceiver, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(void)MeInfraredReceiver
MeSerial::begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
buttonState(void)MeInfraredReceiver
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getCode(void)MeInfraredReceiver
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
loop(void)MeInfraredReceiver
MeInfraredReceiver(void)MeInfraredReceiver
MeInfraredReceiver(uint8_t port)MeInfraredReceiver
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeInfraredReceivervirtual
readDataLine(void) (defined in MeSerial)MeSerial
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_infrared_receiver.html b/doc/html/class_me_infrared_receiver.html new file mode 100644 index 00000000..68d9c98e --- /dev/null +++ b/doc/html/class_me_infrared_receiver.html @@ -0,0 +1,515 @@ + + + + + + + +MakeBlock Drive Updated: MeInfraredReceiver Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeInfraredReceiver Class Reference
+
+
+ +

Driver for Me Infrared Receiver device. + More...

+ +

#include <src/MeInfraredReceiver.h>

+
+Inheritance diagram for MeInfraredReceiver:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeInfraredReceiver:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeInfraredReceiver (void)
 
 MeInfraredReceiver (uint8_t port)
 
void begin (void)
 
int read ()
 
bool buttonState (void)
 
uint8_t getCode (void)
 
void loop (void)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Infrared Receiver device.

+

Class: MeInfraredReceiver

Description
Declaration of Class MeInfraredReceiver
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeInfraredReceiver() [1/2]

+ +
+
+ + + + + + + + +
MeInfraredReceiver::MeInfraredReceiver (void )
+
+

Alternate Constructor which can call your own function to map the Infrared Receiver to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeInfraredReceiver() [2/2]

+ +
+
+ + + + + + + + +
MeInfraredReceiver::MeInfraredReceiver (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Infrared Receiver to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeInfraredReceiver::begin (void )
+
+
Function
begin
+
Description
Sets the speed (baud rate) for the serial communication. Supported baud rates is 9600bps
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ buttonState()

+ +
+
+ + + + + + + + +
bool MeInfraredReceiver::buttonState (void )
+
+
Function
buttonState
+
Description
Check button press state
+
Output
None
+
Returns
true: The button is pressed, false: No button is pressed
+
Others
None
+ +
+
+ +

◆ getCode()

+ +
+
+ + + + + + + + +
uint8_t MeInfraredReceiver::getCode (void )
+
+
Function
getCode
+
Description
Get the button code
+
Output
None
+
Returns
Return the button code
+
Others
None
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + + +
void MeInfraredReceiver::loop (void )
+
+
Function
loop
+
Description
This function used with getCode, it should called in the main loop
+
Output
None
+
Returns
None
+
Others
This function used with getCode
+ +
+
+ +

◆ read()

+ +
+
+ + + + + +
+ + + + + + + + +
int MeInfraredReceiver::read (void )
+
+virtual
+
+
Function
read
+
Description
Return a character that was received on the RX pin of the software serial port. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function).
+
Output
None
+
Returns
The character read, or -1 if none is available
+
Others
None
+ +

Reimplemented from SoftwareSerial.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_infrared_receiver.js b/doc/html/class_me_infrared_receiver.js new file mode 100644 index 00000000..a687b0b6 --- /dev/null +++ b/doc/html/class_me_infrared_receiver.js @@ -0,0 +1,10 @@ +var class_me_infrared_receiver = +[ + [ "MeInfraredReceiver", "class_me_infrared_receiver.html#a41adf4b88eaec8d9c770ba29ddaa22f6", null ], + [ "MeInfraredReceiver", "class_me_infrared_receiver.html#a98474aa37cad10df237c006e22ec50a2", null ], + [ "begin", "class_me_infrared_receiver.html#ac25056e96b50a1bf16c05eedbfeaaf78", null ], + [ "buttonState", "class_me_infrared_receiver.html#a85d4066f35e6838f24e6d3f23a5236a1", null ], + [ "getCode", "class_me_infrared_receiver.html#a2b4385744d5ff2cd325f15095d257126", null ], + [ "loop", "class_me_infrared_receiver.html#ab178d4d0bb7a3af0aa35a88183c2f928", null ], + [ "read", "class_me_infrared_receiver.html#aaccf198c3a013b38e783a3e055631110", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_infrared_receiver.png b/doc/html/class_me_infrared_receiver.png new file mode 100644 index 00000000..eb42d0c2 Binary files /dev/null and b/doc/html/class_me_infrared_receiver.png differ diff --git a/doc/html/class_me_infrared_receiver__coll__graph.map b/doc/html/class_me_infrared_receiver__coll__graph.map new file mode 100644 index 00000000..54b5c28a --- /dev/null +++ b/doc/html/class_me_infrared_receiver__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_infrared_receiver__coll__graph.md5 b/doc/html/class_me_infrared_receiver__coll__graph.md5 new file mode 100644 index 00000000..97e9d470 --- /dev/null +++ b/doc/html/class_me_infrared_receiver__coll__graph.md5 @@ -0,0 +1 @@ +00de62995d740b1093dc2bee316356d6 \ No newline at end of file diff --git a/doc/html/class_me_infrared_receiver__coll__graph.png b/doc/html/class_me_infrared_receiver__coll__graph.png new file mode 100644 index 00000000..60ad89dc Binary files /dev/null and b/doc/html/class_me_infrared_receiver__coll__graph.png differ diff --git a/doc/html/class_me_infrared_receiver__inherit__graph.map b/doc/html/class_me_infrared_receiver__inherit__graph.map new file mode 100644 index 00000000..54b5c28a --- /dev/null +++ b/doc/html/class_me_infrared_receiver__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_infrared_receiver__inherit__graph.md5 b/doc/html/class_me_infrared_receiver__inherit__graph.md5 new file mode 100644 index 00000000..97e9d470 --- /dev/null +++ b/doc/html/class_me_infrared_receiver__inherit__graph.md5 @@ -0,0 +1 @@ +00de62995d740b1093dc2bee316356d6 \ No newline at end of file diff --git a/doc/html/class_me_infrared_receiver__inherit__graph.png b/doc/html/class_me_infrared_receiver__inherit__graph.png new file mode 100644 index 00000000..60ad89dc Binary files /dev/null and b/doc/html/class_me_infrared_receiver__inherit__graph.png differ diff --git a/doc/html/class_me_joystick-members.html b/doc/html/class_me_joystick-members.html new file mode 100644 index 00000000..18106d2e --- /dev/null +++ b/doc/html/class_me_joystick-members.html @@ -0,0 +1,142 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeJoystick Member List
+
+
+ +

This is the complete list of members for MeJoystick, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
angle(void)MeJoystick
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
CalCenterValue(int16_t=0, int16_t=0)MeJoystick
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeJoystick(void)MeJoystick
MeJoystick(uint8_t port)MeJoystick
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
OffCenter(void)MeJoystick
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
read(uint8_t index)MeJoystick
readX(void)MeJoystick
readY(void)MeJoystick
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t x_port, uint8_t y_port)MeJoystick
+
+ + + + diff --git a/doc/html/class_me_joystick.html b/doc/html/class_me_joystick.html new file mode 100644 index 00000000..8fb4ba95 --- /dev/null +++ b/doc/html/class_me_joystick.html @@ -0,0 +1,470 @@ + + + + + + + +MakeBlock Drive Updated: MeJoystick Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeJoystick Class Reference
+
+
+ +

Driver for Me Joystick module. + More...

+ +

#include <src/MeJoystick.h>

+
+Inheritance diagram for MeJoystick:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeJoystick:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeJoystick (void)
 
 MeJoystick (uint8_t port)
 
void setpin (uint8_t x_port, uint8_t y_port)
 
int16_t readX (void)
 
int16_t readY (void)
 
int16_t read (uint8_t index)
 
void CalCenterValue (int16_t=0, int16_t=0)
 
float angle (void)
 
float OffCenter (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Joystick module.

+

Class: MeJoystick

Description
Declaration of Class MeJoystick.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeJoystick() [1/2]

+ +
+
+ + + + + + + + +
MeJoystick::MeJoystick (void )
+
+

Alternate Constructor which can call your own function to map the MeJoystick to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeJoystick() [2/2]

+ +
+
+ + + + + + + + +
MeJoystick::MeJoystick (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeJoystick to arduino port.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ angle()

+ +
+
+ + + + + + + + +
float MeJoystick::angle (void )
+
+
Function
angle
+
Description
We can use function to get the angle of the joystick
+
Output
None
+
Returns
The angle of the joystick(-180 - 180)
+
Others
None
+ +
+
+ +

◆ CalCenterValue()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeJoystick::CalCenterValue (int16_t x_offset = 0,
int16_t y_offset = 0 
)
+
+
Function
CalCenterValue
+
Description
If joystick not been triggered(The default middle position), But the X-axis and Y-axis is not 0, we can use this function to calibration its 0 value.
+
Parameters
+ + + +
[in]x_offset- The offset vlaue we needed to calibrate the X-axis
[in]y_offset- The offset vlaue we needed to calibrate the Y-axis
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ OffCenter()

+ +
+
+ + + + + + + + +
float MeJoystick::OffCenter (void )
+
+
Function
OffCenter
+
Description
We can use function to get the off-center distance of the joystick
+
Output
None
+
Returns
The off-center distance of the joystick(0 - 700)
+
Others
None
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
int16_t MeJoystick::read (uint8_t index)
+
+
Function
read
+
Description
Get the value of setting axis
+
Parameters
+ + +
[in]index- '1' for X-axis and '2' for Y-axis
+
+
+
Output
None
+
Returns
The setting axis value from(-500 - 500)
+
Others
None
+ +
+
+ +

◆ readX()

+ +
+
+ + + + + + + + +
int16_t MeJoystick::readX (void )
+
+
Function
readX
+
Description
Get the value of X-axis
+
Output
None
+
Returns
The X-axis value from(-500 - 500)
+
Others
None
+ +
+
+ +

◆ readY()

+ +
+
+ + + + + + + + +
int16_t MeJoystick::readY (void )
+
+
Function
readY
+
Description
Get the value of Y-axis
+
Output
None
+
Returns
The Y-axis value from(-500 - 500)
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeJoystick::setpin (uint8_t x_port,
uint8_t y_port 
)
+
+
Function
setpin
+
Description
Reset the MeJoystick available PIN by its arduino port.
+
Parameters
+ + + +
[in]x_port- arduino port for X value PIN(should analog pin)
[in]y_port- arduino port for Y value PIN(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_joystick.js b/doc/html/class_me_joystick.js new file mode 100644 index 00000000..1ece62b6 --- /dev/null +++ b/doc/html/class_me_joystick.js @@ -0,0 +1,12 @@ +var class_me_joystick = +[ + [ "MeJoystick", "class_me_joystick.html#a1fdc2f7f587fc30f7fce0b4efcb6fa1c", null ], + [ "MeJoystick", "class_me_joystick.html#abbc566b261a9b3029a21e68f62462e26", null ], + [ "angle", "class_me_joystick.html#ae6ce1a51a3023c9017a560de91497adf", null ], + [ "CalCenterValue", "class_me_joystick.html#ac229685677e2195d2bed8edc9a5308d1", null ], + [ "OffCenter", "class_me_joystick.html#a6402a4343716a84282366e25035f4297", null ], + [ "read", "class_me_joystick.html#a5a690937c49c9ee5623006d2acfe0766", null ], + [ "readX", "class_me_joystick.html#a0dea00e7568e3c2d4fd3c50d5b79cf90", null ], + [ "readY", "class_me_joystick.html#a0ff4c70c343dcec6f3dc1b7a0d9caace", null ], + [ "setpin", "class_me_joystick.html#a250f11087c929f5e892b5670f5fdb7d4", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_joystick.png b/doc/html/class_me_joystick.png new file mode 100644 index 00000000..e2084eb9 Binary files /dev/null and b/doc/html/class_me_joystick.png differ diff --git a/doc/html/class_me_joystick__coll__graph.map b/doc/html/class_me_joystick__coll__graph.map new file mode 100644 index 00000000..f6ebe109 --- /dev/null +++ b/doc/html/class_me_joystick__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_joystick__coll__graph.md5 b/doc/html/class_me_joystick__coll__graph.md5 new file mode 100644 index 00000000..1af267e9 --- /dev/null +++ b/doc/html/class_me_joystick__coll__graph.md5 @@ -0,0 +1 @@ +27347dac9ca49c46a0f3af8e37375dbb \ No newline at end of file diff --git a/doc/html/class_me_joystick__coll__graph.png b/doc/html/class_me_joystick__coll__graph.png new file mode 100644 index 00000000..e1bf06b2 Binary files /dev/null and b/doc/html/class_me_joystick__coll__graph.png differ diff --git a/doc/html/class_me_joystick__inherit__graph.map b/doc/html/class_me_joystick__inherit__graph.map new file mode 100644 index 00000000..f6ebe109 --- /dev/null +++ b/doc/html/class_me_joystick__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_joystick__inherit__graph.md5 b/doc/html/class_me_joystick__inherit__graph.md5 new file mode 100644 index 00000000..1af267e9 --- /dev/null +++ b/doc/html/class_me_joystick__inherit__graph.md5 @@ -0,0 +1 @@ +27347dac9ca49c46a0f3af8e37375dbb \ No newline at end of file diff --git a/doc/html/class_me_joystick__inherit__graph.png b/doc/html/class_me_joystick__inherit__graph.png new file mode 100644 index 00000000..e1bf06b2 Binary files /dev/null and b/doc/html/class_me_joystick__inherit__graph.png differ diff --git a/doc/html/class_me_l_e_d_matrix-members.html b/doc/html/class_me_l_e_d_matrix-members.html new file mode 100644 index 00000000..dd73b17a --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix-members.html @@ -0,0 +1,143 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLEDMatrix Member List
+
+
+ +

This is the complete list of members for MeLEDMatrix, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
clearScreen()MeLEDMatrix
dpRead1(void)MePort
dpRead2(void)MePort
drawBitmap(int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap)MeLEDMatrix
drawStr(int16_t X_position, int8_t Y_position, const char *str)MeLEDMatrix
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeLEDMatrix()MeLEDMatrix
MeLEDMatrix(uint8_t port)MeLEDMatrix
MeLEDMatrix(uint8_t SCK_Pin, uint8_t DIN_Pin)MeLEDMatrix
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeLEDMatrix
MePort::reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setBrightness(uint8_t Bright)MeLEDMatrix
setColorIndex(bool Color_Number)MeLEDMatrix
showClock(uint8_t hour, uint8_t minute, bool=PointOn)MeLEDMatrix
showNum(float value, uint8_t=3)MeLEDMatrix
+
+ + + + diff --git a/doc/html/class_me_l_e_d_matrix.html b/doc/html/class_me_l_e_d_matrix.html new file mode 100644 index 00000000..ff5e5c7e --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix.html @@ -0,0 +1,603 @@ + + + + + + + +MakeBlock Drive Updated: MeLEDMatrix Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLEDMatrix Class Reference
+
+
+ +

Driver for Me LED Matrix module. + More...

+ +

#include <src/MeLEDMatrix.h>

+
+Inheritance diagram for MeLEDMatrix:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeLEDMatrix:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeLEDMatrix ()
 
 MeLEDMatrix (uint8_t port)
 
 MeLEDMatrix (uint8_t SCK_Pin, uint8_t DIN_Pin)
 
void clearScreen ()
 
void setBrightness (uint8_t Bright)
 
void setColorIndex (bool Color_Number)
 
void drawBitmap (int8_t x, int8_t y, uint8_t Bitmap_Width, uint8_t *Bitmap)
 
void drawStr (int16_t X_position, int8_t Y_position, const char *str)
 
void showClock (uint8_t hour, uint8_t minute, bool=PointOn)
 
void showNum (float value, uint8_t=3)
 
void reset (uint8_t port)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me LED Matrix module.

+

Class: MeLEDMatrix

Description
Declaration of Class MeLEDMatrix.
+
Copyright (C), 2012-2015, MakeBlock
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeLEDMatrix() [1/3]

+ +
+
+ + + + + + + +
MeLEDMatrix::MeLEDMatrix ()
+
+

Alternate Constructor which can call your own function to map the LED Matrix to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeLEDMatrix() [2/3]

+ +
+
+ + + + + + + + +
MeLEDMatrix::MeLEDMatrix (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the LED Matrix to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeLEDMatrix() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeLEDMatrix::MeLEDMatrix (uint8_t SCK_Pin,
uint8_t DIN_Pin 
)
+
+

Alternate Constructor which can call your own function to map the Buzzer to arduino port, you can set any slot for the buzzer device.

Parameters
+ + + +
[in]SCK_Pin- The SCk of LED Matrix.
[in]DIN_Pin- Put in parameter.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ clearScreen()

+ +
+
+ + + + + + + +
void MeLEDMatrix::clearScreen ()
+
+
Function
clearScreen
+
Description
Clear the screen.
+
Parameters
+ + +
[in]None
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ drawBitmap()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void MeLEDMatrix::drawBitmap (int8_t x,
int8_t y,
uint8_t Bitmap_Width,
uint8_t * Bitmap 
)
+
+
Function
drawBitmap
+
Description
Draw a bitmap.
+
Parameters
+ + + + + +
[in]x- The x coordinate of bitmap.
[in]y- The y coordinate of bitmap.
[in]Bitmap_Width- The width of bitmap.
[in]Bitmap- A pointer to bitmap.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ drawStr()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeLEDMatrix::drawStr (int16_t X_position,
int8_t Y_position,
const char * str 
)
+
+
Function
drawStr
+
Description
Draw a string.
+
Parameters
+ + + + +
[in]x- The x coordinate for the beginning of string.
[in]y- The y coordinate for the beginning of string.
[in]str- A pointer to string.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + + +
void MeLEDMatrix::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the port of LED Matrix.
+
Parameters
+ + +
[in]port- The port of LED Matrix.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ setBrightness()

+ +
+
+ + + + + + + + +
void MeLEDMatrix::setBrightness (uint8_t Bright)
+
+
Function
setBrightness
+
Description
Set the brightness of LED Matrix.
+
Parameters
+ + +
[in]Bright- The brightness of LED Matrix.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ setColorIndex()

+ +
+
+ + + + + + + + +
void MeLEDMatrix::setColorIndex (bool Color_Number)
+
+
Function
setColorIndex
+
Description
Set the color index for LED Matrix.
+
Parameters
+ + +
[in]Color_Number- The number of LED Matrix's color.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ showClock()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeLEDMatrix::showClock (uint8_t hour,
uint8_t minute,
bool point_flag = PointOn 
)
+
+
Function
showClock
+
Description
Show the clock on LED Matrix.
+
Parameters
+ + + + +
[in]hour- The part of hour in clock.
[in]minute- The part of minute in clock.
[in]PointOn- Point on or not.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+ +

◆ showNum()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeLEDMatrix::showNum (float value,
uint8_t digits = 3 
)
+
+
Function
showNum
+
Description
Show the number on LED Matrix.
+
Parameters
+ + + +
[in]value- The float data need show.
[in]digits- Number of digits to display.
+
+
+
Output
None \Return None.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_l_e_d_matrix.js b/doc/html/class_me_l_e_d_matrix.js new file mode 100644 index 00000000..ef9ef13e --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix.js @@ -0,0 +1,14 @@ +var class_me_l_e_d_matrix = +[ + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html#add0de4df6d4eedf76f259a08df8322f7", null ], + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html#ac90091e7105e8a85eec4edb25561bb1a", null ], + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html#ab2309b562a05e4a6a1fc8d301d0c6f85", null ], + [ "clearScreen", "class_me_l_e_d_matrix.html#afe559a6e2d6fa09ef27560c472db4131", null ], + [ "drawBitmap", "class_me_l_e_d_matrix.html#a7e41bda67de56c3d8f568d6f31c93d6d", null ], + [ "drawStr", "class_me_l_e_d_matrix.html#a2bc5822502b9600d838a163a82820c02", null ], + [ "reset", "class_me_l_e_d_matrix.html#a54aa7ad77d5ef8d67ce0623431e99f53", null ], + [ "setBrightness", "class_me_l_e_d_matrix.html#af0a710afc6c9314faf92b17484d8b89f", null ], + [ "setColorIndex", "class_me_l_e_d_matrix.html#ac32458aff39a381c5b4600fa3cb731ed", null ], + [ "showClock", "class_me_l_e_d_matrix.html#ae34d06e56a00bd8d1de86a9b500941a6", null ], + [ "showNum", "class_me_l_e_d_matrix.html#ae2cd6f8f1b7b2077b49a4d05f7af1b79", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_l_e_d_matrix.png b/doc/html/class_me_l_e_d_matrix.png new file mode 100644 index 00000000..62878c12 Binary files /dev/null and b/doc/html/class_me_l_e_d_matrix.png differ diff --git a/doc/html/class_me_l_e_d_matrix__coll__graph.map b/doc/html/class_me_l_e_d_matrix__coll__graph.map new file mode 100644 index 00000000..8adbdb63 --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_l_e_d_matrix__coll__graph.md5 b/doc/html/class_me_l_e_d_matrix__coll__graph.md5 new file mode 100644 index 00000000..aad6a14d --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix__coll__graph.md5 @@ -0,0 +1 @@ +1492ba9f935ab7706c00e06f6e5827c1 \ No newline at end of file diff --git a/doc/html/class_me_l_e_d_matrix__coll__graph.png b/doc/html/class_me_l_e_d_matrix__coll__graph.png new file mode 100644 index 00000000..5dc0567a Binary files /dev/null and b/doc/html/class_me_l_e_d_matrix__coll__graph.png differ diff --git a/doc/html/class_me_l_e_d_matrix__inherit__graph.map b/doc/html/class_me_l_e_d_matrix__inherit__graph.map new file mode 100644 index 00000000..8adbdb63 --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_l_e_d_matrix__inherit__graph.md5 b/doc/html/class_me_l_e_d_matrix__inherit__graph.md5 new file mode 100644 index 00000000..aad6a14d --- /dev/null +++ b/doc/html/class_me_l_e_d_matrix__inherit__graph.md5 @@ -0,0 +1 @@ +1492ba9f935ab7706c00e06f6e5827c1 \ No newline at end of file diff --git a/doc/html/class_me_l_e_d_matrix__inherit__graph.png b/doc/html/class_me_l_e_d_matrix__inherit__graph.png new file mode 100644 index 00000000..5dc0567a Binary files /dev/null and b/doc/html/class_me_l_e_d_matrix__inherit__graph.png differ diff --git a/doc/html/class_me_light_sensor-members.html b/doc/html/class_me_light_sensor-members.html new file mode 100644 index 00000000..5441bfe7 --- /dev/null +++ b/doc/html/class_me_light_sensor-members.html @@ -0,0 +1,139 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLightSensor Member List
+
+
+ +

This is the complete list of members for MeLightSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
lightOff(void)MeLightSensor
lightOn(void)MeLightSensor
MeLightSensor(void)MeLightSensor
MeLightSensor(uint8_t port)MeLightSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
read(void)MeLightSensor
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t ledPin, uint8_t sensorPin)MeLightSensor
+
+ + + + diff --git a/doc/html/class_me_light_sensor.html b/doc/html/class_me_light_sensor.html new file mode 100644 index 00000000..92168886 --- /dev/null +++ b/doc/html/class_me_light_sensor.html @@ -0,0 +1,392 @@ + + + + + + + +MakeBlock Drive Updated: MeLightSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLightSensor Class Reference
+
+
+ +

Driver for Me-Light Sensor module. + More...

+ +

#include <src/MeLightSensor.h>

+
+Inheritance diagram for MeLightSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeLightSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeLightSensor (void)
 
 MeLightSensor (uint8_t port)
 
void setpin (uint8_t ledPin, uint8_t sensorPin)
 
int16_t read (void)
 
void lightOn (void)
 
void lightOff (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me-Light Sensor module.

+

Class: MeLightSensor

Description
Declaration of Class MeLightSensor.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeLightSensor() [1/2]

+ +
+
+ + + + + + + + +
MeLightSensor::MeLightSensor (void )
+
+

Alternate Constructor which can call your own function to map the light sensor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeLightSensor() [2/2]

+ +
+
+ + + + + + + + +
MeLightSensor::MeLightSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the light sensor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ lightOff()

+ +
+
+ + + + + + + + +
void MeLightSensor::lightOff (void )
+
+
Function
lightOff
+
Description
Turn off the LED on the light sensor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
+ +
+
+ +

◆ lightOn()

+ +
+
+ + + + + + + + +
void MeLightSensor::lightOn (void )
+
+
Function
lightOn
+
Description
Turn on the LED on the light sensor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
int16_t MeLightSensor::read (void )
+
+
Function
read
+
Description
Read analog value of light sensor.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
MePort::aRead2() - DAC value of current light sensor's output.
+
Others
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeLightSensor::setpin (uint8_t ledPin,
uint8_t sensorPin 
)
+
+
Function
setpin
+
Description
Set I2C data pin, clock pin and clear display.
+ dataPin - the DATA pin for Seven-Segment LED module.
+ clkPin - the CLK pin for Seven-Segment LED module.
+
Parameters
+ + + +
[in]ledPin- Which pin on board that LEDpin is connecting to.
[in]sensorPin- Which pin on board that sensorPin is connecting to.
+
+
+
Output
None
+
Return
None
+
Others
Set global variable _KeyPin and s2
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_light_sensor.js b/doc/html/class_me_light_sensor.js new file mode 100644 index 00000000..4f22feb3 --- /dev/null +++ b/doc/html/class_me_light_sensor.js @@ -0,0 +1,9 @@ +var class_me_light_sensor = +[ + [ "MeLightSensor", "class_me_light_sensor.html#a369148767eeac2ad59e724554621298d", null ], + [ "MeLightSensor", "class_me_light_sensor.html#af7e3e21af2ea0190d65655750bf49665", null ], + [ "lightOff", "class_me_light_sensor.html#a0b787d14763d3c34e353ff6f6ef9b3f8", null ], + [ "lightOn", "class_me_light_sensor.html#aab0e6ecb7bb432e9e131811fabac77c3", null ], + [ "read", "class_me_light_sensor.html#aaae9be2df39ab2c86c4b27c618e3fb48", null ], + [ "setpin", "class_me_light_sensor.html#a9b4ca3d8caf6c4dcc2de651dddb37ce6", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_light_sensor.png b/doc/html/class_me_light_sensor.png new file mode 100644 index 00000000..9c28efd0 Binary files /dev/null and b/doc/html/class_me_light_sensor.png differ diff --git a/doc/html/class_me_light_sensor__coll__graph.map b/doc/html/class_me_light_sensor__coll__graph.map new file mode 100644 index 00000000..6ff82c2c --- /dev/null +++ b/doc/html/class_me_light_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_light_sensor__coll__graph.md5 b/doc/html/class_me_light_sensor__coll__graph.md5 new file mode 100644 index 00000000..8df13b82 --- /dev/null +++ b/doc/html/class_me_light_sensor__coll__graph.md5 @@ -0,0 +1 @@ +e587b5a0cc66aaa55b84723f574b520a \ No newline at end of file diff --git a/doc/html/class_me_light_sensor__coll__graph.png b/doc/html/class_me_light_sensor__coll__graph.png new file mode 100644 index 00000000..a0ea7bdb Binary files /dev/null and b/doc/html/class_me_light_sensor__coll__graph.png differ diff --git a/doc/html/class_me_light_sensor__inherit__graph.map b/doc/html/class_me_light_sensor__inherit__graph.map new file mode 100644 index 00000000..6ff82c2c --- /dev/null +++ b/doc/html/class_me_light_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_light_sensor__inherit__graph.md5 b/doc/html/class_me_light_sensor__inherit__graph.md5 new file mode 100644 index 00000000..8df13b82 --- /dev/null +++ b/doc/html/class_me_light_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +e587b5a0cc66aaa55b84723f574b520a \ No newline at end of file diff --git a/doc/html/class_me_light_sensor__inherit__graph.png b/doc/html/class_me_light_sensor__inherit__graph.png new file mode 100644 index 00000000..a0ea7bdb Binary files /dev/null and b/doc/html/class_me_light_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_limit_switch-members.html b/doc/html/class_me_limit_switch-members.html new file mode 100644 index 00000000..28c9da2b --- /dev/null +++ b/doc/html/class_me_limit_switch-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLimitSwitch Member List
+
+
+ +

This is the complete list of members for MeLimitSwitch, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeLimitSwitch(void)MeLimitSwitch
MeLimitSwitch(uint8_t port)MeLimitSwitch
MeLimitSwitch(uint8_t port, uint8_t slot)MeLimitSwitch
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t switchPin)MeLimitSwitch
touched(void)MeLimitSwitch
+
+ + + + diff --git a/doc/html/class_me_limit_switch.html b/doc/html/class_me_limit_switch.html new file mode 100644 index 00000000..210fc7e7 --- /dev/null +++ b/doc/html/class_me_limit_switch.html @@ -0,0 +1,353 @@ + + + + + + + +MakeBlock Drive Updated: MeLimitSwitch Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLimitSwitch Class Reference
+
+
+ +

Driver for Me_LimitSwitch module. + More...

+ +

#include <src/MeLimitSwitch.h>

+
+Inheritance diagram for MeLimitSwitch:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeLimitSwitch:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeLimitSwitch (void)
 
 MeLimitSwitch (uint8_t port)
 
 MeLimitSwitch (uint8_t port, uint8_t slot)
 
void setpin (uint8_t switchPin)
 
bool touched (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me_LimitSwitch module.

+

Class: MeLimitSwitch

Description
Declaration of Class MeLimitSwitch.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeLimitSwitch() [1/3]

+ +
+
+ + + + + + + + +
MeLimitSwitch::MeLimitSwitch (void )
+
+

Alternate Constructor which can call your own function to map the limit switch to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeLimitSwitch() [2/3]

+ +
+
+ + + + + + + + +
MeLimitSwitch::MeLimitSwitch (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the limit switch to arduino port, the slot2 will be used here.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeLimitSwitch() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeLimitSwitch::MeLimitSwitch (uint8_t port,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the limit switch to arduino port, you can set any slot for the limit switch device.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeLimitSwitch::setpin (uint8_t switchPin)
+
+
Function
setpin
+
Description
Reset the limit switch available PIN by its arduino port.
+
Parameters
+ + +
[in]switchPin- arduino port for switch detect pin.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ touched()

+ +
+
+ + + + + + + + +
bool MeLimitSwitch::touched (void )
+
+
Function
touched
+
Description
Get switch value from selected _slot defined by MePort.
+
Parameters
+ + +
[in]None
+
+
+
Output
None \Return True if module is touched.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_limit_switch.js b/doc/html/class_me_limit_switch.js new file mode 100644 index 00000000..0cdd532d --- /dev/null +++ b/doc/html/class_me_limit_switch.js @@ -0,0 +1,8 @@ +var class_me_limit_switch = +[ + [ "MeLimitSwitch", "class_me_limit_switch.html#a54eb87697a1b59d658cbf8862a7e070b", null ], + [ "MeLimitSwitch", "class_me_limit_switch.html#af0aac1c09b9e8f0a97c451bba78a2c70", null ], + [ "MeLimitSwitch", "class_me_limit_switch.html#aaa939697942431d0b9812e4f9d978199", null ], + [ "setpin", "class_me_limit_switch.html#aa212ebf1bcdb0940c7b31d0d4db23cd4", null ], + [ "touched", "class_me_limit_switch.html#ab2be1e59342778f68be708ed45e40496", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_limit_switch.png b/doc/html/class_me_limit_switch.png new file mode 100644 index 00000000..7e1290a4 Binary files /dev/null and b/doc/html/class_me_limit_switch.png differ diff --git a/doc/html/class_me_limit_switch__coll__graph.map b/doc/html/class_me_limit_switch__coll__graph.map new file mode 100644 index 00000000..cf5d9327 --- /dev/null +++ b/doc/html/class_me_limit_switch__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_limit_switch__coll__graph.md5 b/doc/html/class_me_limit_switch__coll__graph.md5 new file mode 100644 index 00000000..dcbd83d2 --- /dev/null +++ b/doc/html/class_me_limit_switch__coll__graph.md5 @@ -0,0 +1 @@ +26daec58f3cd15e79afdad8d719e496a \ No newline at end of file diff --git a/doc/html/class_me_limit_switch__coll__graph.png b/doc/html/class_me_limit_switch__coll__graph.png new file mode 100644 index 00000000..d79040f6 Binary files /dev/null and b/doc/html/class_me_limit_switch__coll__graph.png differ diff --git a/doc/html/class_me_limit_switch__inherit__graph.map b/doc/html/class_me_limit_switch__inherit__graph.map new file mode 100644 index 00000000..cf5d9327 --- /dev/null +++ b/doc/html/class_me_limit_switch__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_limit_switch__inherit__graph.md5 b/doc/html/class_me_limit_switch__inherit__graph.md5 new file mode 100644 index 00000000..dcbd83d2 --- /dev/null +++ b/doc/html/class_me_limit_switch__inherit__graph.md5 @@ -0,0 +1 @@ +26daec58f3cd15e79afdad8d719e496a \ No newline at end of file diff --git a/doc/html/class_me_limit_switch__inherit__graph.png b/doc/html/class_me_limit_switch__inherit__graph.png new file mode 100644 index 00000000..d79040f6 Binary files /dev/null and b/doc/html/class_me_limit_switch__inherit__graph.png differ diff --git a/doc/html/class_me_line_follower-members.html b/doc/html/class_me_line_follower-members.html new file mode 100644 index 00000000..14f6a869 --- /dev/null +++ b/doc/html/class_me_line_follower-members.html @@ -0,0 +1,139 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeLineFollower Member List
+
+
+ +

This is the complete list of members for MeLineFollower, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeLineFollower(void)MeLineFollower
MeLineFollower(uint8_t port)MeLineFollower
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
readSensor1(void)MeLineFollower
readSensor2(void)MeLineFollower
readSensors(void)MeLineFollower
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t Sensor1, uint8_t Sensor2)MeLineFollower
+
+ + + + diff --git a/doc/html/class_me_line_follower.html b/doc/html/class_me_line_follower.html new file mode 100644 index 00000000..16ba7938 --- /dev/null +++ b/doc/html/class_me_line_follower.html @@ -0,0 +1,377 @@ + + + + + + + +MakeBlock Drive Updated: MeLineFollower Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeLineFollower Class Reference
+
+
+ +

Driver for Me line follwer device. + More...

+ +

#include <src/MeLineFollower.h>

+
+Inheritance diagram for MeLineFollower:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeLineFollower:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeLineFollower (void)
 
 MeLineFollower (uint8_t port)
 
void setpin (uint8_t Sensor1, uint8_t Sensor2)
 
uint8_t readSensors (void)
 
bool readSensor1 (void)
 
bool readSensor2 (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me line follwer device.

+

Class: MeLineFollower

Description
Declaration of Class MeLineFollower.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeLineFollower() [1/2]

+ +
+
+ + + + + + + + +
MeLineFollower::MeLineFollower (void )
+
+

Alternate Constructor which can call your own function to map the line follwer device to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeLineFollower() [2/2]

+ +
+
+ + + + + + + + +
MeLineFollower::MeLineFollower (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the line follwer device to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ readSensor1()

+ +
+
+ + + + + + + + +
bool MeLineFollower::readSensor1 (void )
+
+
Function
readSensor1
+
Description
Get the sensors1(left sensors) state.
+
Output
None
+
Returns
0: sensor1 is inside of black line
+ 1: sensor1 is outside of black line
+
Others
None
+ +
+
+ +

◆ readSensor2()

+ +
+
+ + + + + + + + +
bool MeLineFollower::readSensor2 (void )
+
+
Function
readSensor2
+
Description
Get the sensors2(right sensors) state.
+
Output
None
+
Returns
0: sensor1 is inside of black line
+ 1: sensor1 is outside of black line
+
Others
None
+ +
+
+ +

◆ readSensors()

+ +
+
+ + + + + + + + +
uint8_t MeLineFollower::readSensors (void )
+
+
Function
readSensors
+
Description
Get the sensors state.
+
Output
None
+
Returns
(0x00)-S1_IN_S2_IN: sensor1 and sensor2 are both inside of black line
+ (0x01)-S1_IN_S2_OUT: sensor1 is inside of black line and sensor2 is outside of black line
+ (0x02)-S1_OUT_S2_IN: sensor1 is outside of black line and sensor2 is inside of black line
+ (0x03)-S1_OUT_S2_OUT: sensor1 and sensor2 are both outside of black line
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeLineFollower::setpin (uint8_t Sensor1,
uint8_t Sensor2 
)
+
+
Function
setpin
+
Description
Reset the line follwer device available PIN by its arduino port.
+
Parameters
+ + + +
[in]Sensor1- arduino port(should digital pin)
[in]Sensor2- arduino port(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_line_follower.js b/doc/html/class_me_line_follower.js new file mode 100644 index 00000000..1f0d9fa8 --- /dev/null +++ b/doc/html/class_me_line_follower.js @@ -0,0 +1,9 @@ +var class_me_line_follower = +[ + [ "MeLineFollower", "class_me_line_follower.html#a0921a28658143998b3c9d794cbe44c9e", null ], + [ "MeLineFollower", "class_me_line_follower.html#a0e2dcb9e9af565ac9cfb2eb0c022ee34", null ], + [ "readSensor1", "class_me_line_follower.html#aa0d1a6c71bde5d559db1dc82ba8960b7", null ], + [ "readSensor2", "class_me_line_follower.html#a7cbd9125758887862416f2a4f65f58cd", null ], + [ "readSensors", "class_me_line_follower.html#a88db0aaee6ffac54c106c2e8e9811f40", null ], + [ "setpin", "class_me_line_follower.html#aafb9c399cf49bd9877ba9d19d3f55922", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_line_follower.png b/doc/html/class_me_line_follower.png new file mode 100644 index 00000000..87f64d08 Binary files /dev/null and b/doc/html/class_me_line_follower.png differ diff --git a/doc/html/class_me_line_follower__coll__graph.map b/doc/html/class_me_line_follower__coll__graph.map new file mode 100644 index 00000000..debc29ad --- /dev/null +++ b/doc/html/class_me_line_follower__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_line_follower__coll__graph.md5 b/doc/html/class_me_line_follower__coll__graph.md5 new file mode 100644 index 00000000..4ee31c36 --- /dev/null +++ b/doc/html/class_me_line_follower__coll__graph.md5 @@ -0,0 +1 @@ +7f49a7c87b270e6b874f380d0bfe46f8 \ No newline at end of file diff --git a/doc/html/class_me_line_follower__coll__graph.png b/doc/html/class_me_line_follower__coll__graph.png new file mode 100644 index 00000000..76f4c746 Binary files /dev/null and b/doc/html/class_me_line_follower__coll__graph.png differ diff --git a/doc/html/class_me_line_follower__inherit__graph.map b/doc/html/class_me_line_follower__inherit__graph.map new file mode 100644 index 00000000..debc29ad --- /dev/null +++ b/doc/html/class_me_line_follower__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_line_follower__inherit__graph.md5 b/doc/html/class_me_line_follower__inherit__graph.md5 new file mode 100644 index 00000000..4ee31c36 --- /dev/null +++ b/doc/html/class_me_line_follower__inherit__graph.md5 @@ -0,0 +1 @@ +7f49a7c87b270e6b874f380d0bfe46f8 \ No newline at end of file diff --git a/doc/html/class_me_line_follower__inherit__graph.png b/doc/html/class_me_line_follower__inherit__graph.png new file mode 100644 index 00000000..76f4c746 Binary files /dev/null and b/doc/html/class_me_line_follower__inherit__graph.png differ diff --git a/doc/html/class_me_mega_pi_d_c_motor-members.html b/doc/html/class_me_mega_pi_d_c_motor-members.html new file mode 100644 index 00000000..d0a8d178 --- /dev/null +++ b/doc/html/class_me_mega_pi_d_c_motor-members.html @@ -0,0 +1,115 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiDCMotor Member List
+
+
+ +

This is the complete list of members for MeMegaPiDCMotor, including all inherited members.

+ + + + + + + + +
MeMegaPiDCMotor(void)MeMegaPiDCMotor
MeMegaPiDCMotor(uint8_t port)MeMegaPiDCMotor
MeMegaPiDCMotor(uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)MeMegaPiDCMotor
reset(uint8_t port)MeMegaPiDCMotor
run(int16_t speed)MeMegaPiDCMotor
setpin(uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)MeMegaPiDCMotor
stop(void)MeMegaPiDCMotor
+
+ + + + diff --git a/doc/html/class_me_mega_pi_d_c_motor.html b/doc/html/class_me_mega_pi_d_c_motor.html new file mode 100644 index 00000000..678c62ff --- /dev/null +++ b/doc/html/class_me_mega_pi_d_c_motor.html @@ -0,0 +1,371 @@ + + + + + + + +MakeBlock Drive Updated: MeMegaPiDCMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiDCMotor Class Reference
+
+
+ +

Driver for Me Megapi DC motor device. + More...

+ +

#include <src/MeMegaPiDCMotor.h>

+ + + + + + + + + + + + + + + + +

+Public Member Functions

 MeMegaPiDCMotor (void)
 
 MeMegaPiDCMotor (uint8_t port)
 
 MeMegaPiDCMotor (uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)
 
void reset (uint8_t port)
 
void setpin (uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)
 
void run (int16_t speed)
 
void stop (void)
 
+

Detailed Description

+

Driver for Me Megapi DC motor device.

+

Class: MeMegaPiDCMotor

Description
Declaration of Class MeMegaPiDCMotor
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeMegaPiDCMotor() [1/3]

+ +
+
+ + + + + + + + +
MeMegaPiDCMotor::MeMegaPiDCMotor (void )
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeMegaPiDCMotor() [2/3]

+ +
+
+ + + + + + + + +
MeMegaPiDCMotor::MeMegaPiDCMotor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port

Parameters
+ + +
[in]port- megapi dc port from PORT_1 to PORT_12
+
+
+ +
+
+ +

◆ MeMegaPiDCMotor() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
MeMegaPiDCMotor::MeMegaPiDCMotor (uint8_t dc_dir_h1,
uint8_t dc_dir_h2,
uint8_t pwm_pin 
)
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port, it will assigned the output pin.

Parameters
+ + + + +
[in]dc_dir_h1- arduino port for direction pin1
[in]dc_dir_h2- arduino port for direction pin2
[in]pwm_pin- arduino port for pwm input(should analog pin)
+
+
+ +
+
+

Member Function Documentation

+ +

◆ reset()

+ +
+
+ + + + + + + + +
void MeMegaPiDCMotor::reset (uint8_t port)
+
+
Function
setpin
+
Description
Reset the DC motor available PIN by megapi port.
+
Parameters
+ + +
[in]port- megapi dc port from PORT_1 to PORT_12
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
reset
+
Description
Reset the DC motor available PIN by megapi port.
+
Parameters
+ + +
[in]port- megapi dc port from PORT_1 to PORT_12
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
void MeMegaPiDCMotor::run (int16_t speed)
+
+
Function
run
+
Description
Control the motor forward or reverse
+
Parameters
+ + +
[in]speed- Speed value from -255 to 255
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeMegaPiDCMotor::setpin (uint8_t dc_dir_h1,
uint8_t dc_dir_h2,
uint8_t pwm_pin 
)
+
+
Function
setpin
+
Description
Reset the DC motor available PIN by its arduino port.
+
Parameters
+ + + + +
[in]dc_dir_h1- arduino port for direction pin1
[in]dc_dir_h2- arduino port for direction pin2
[in]pwm_pin- arduino port for pwm input(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ stop()

+ +
+
+ + + + + + + + +
void MeMegaPiDCMotor::stop (void )
+
+
Function
stop
+
Description
Stop the rotation of the motor
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_mega_pi_d_c_motor.js b/doc/html/class_me_mega_pi_d_c_motor.js new file mode 100644 index 00000000..c1b450ac --- /dev/null +++ b/doc/html/class_me_mega_pi_d_c_motor.js @@ -0,0 +1,10 @@ +var class_me_mega_pi_d_c_motor = +[ + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html#a514ff2f2c60e28567f803b75c95b59ca", null ], + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html#acbd1227d383653d78ae751377b2ed516", null ], + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html#ad53dab0d6fd9ccbfaef1d53f229cfe8a", null ], + [ "reset", "class_me_mega_pi_d_c_motor.html#a01f48a77e9fac7dcda0bba9dea5752aa", null ], + [ "run", "class_me_mega_pi_d_c_motor.html#ac324a1423bf3c3ed73e5df7ea9b2b92a", null ], + [ "setpin", "class_me_mega_pi_d_c_motor.html#a8d46dbfbce3b5f38622eb6f3febd4feb", null ], + [ "stop", "class_me_mega_pi_d_c_motor.html#a1df48e25908553976462a4d0e4413eda", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor-members.html b/doc/html/class_me_mega_pi_pro4_dc_motor-members.html new file mode 100644 index 00000000..fa8f2cc6 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiPro4DcMotor Member List
+
+
+ +

This is the complete list of members for MeMegaPiPro4DcMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeMegaPiPro4DcMotor(void)MeMegaPiPro4DcMotor
MeMegaPiPro4DcMotor(uint8_t port)MeMegaPiPro4DcMotor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeMegaPiPro4DcMotor
reset(uint8_t port, uint8_t slot)MeMegaPiPro4DcMotor
run(int16_t speed)MeMegaPiPro4DcMotor
s1MePortprotected
s2MePortprotected
setpin(uint8_t dir_pin, uint8_t pwm_pin)MeMegaPiPro4DcMotor
stop(void)MeMegaPiPro4DcMotor
+
+ + + + diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor.html b/doc/html/class_me_mega_pi_pro4_dc_motor.html new file mode 100644 index 00000000..d44a5ae8 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor.html @@ -0,0 +1,426 @@ + + + + + + + +MakeBlock Drive Updated: MeMegaPiPro4DcMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiPro4DcMotor Class Reference
+
+
+ +

Driver for Me DC motor device. + More...

+ +

#include <src/MeMegaPiPro4DcMotor.h>

+
+Inheritance diagram for MeMegaPiPro4DcMotor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeMegaPiPro4DcMotor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeMegaPiPro4DcMotor (void)
 
 MeMegaPiPro4DcMotor (uint8_t port)
 
void setpin (uint8_t dir_pin, uint8_t pwm_pin)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
void run (int16_t speed)
 
void stop (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me DC motor device.

+

Class: MeMegaPiPro4DcMotor

Description
Declaration of Class MeMegaPiPro4DcMotor
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeMegaPiPro4DcMotor() [1/2]

+ +
+
+ + + + + + + + +
MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor (void )
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeMegaPiPro4DcMotor() [2/2]

+ +
+
+ + + + + + + + +
MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the DC motor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MeMegaPiPro4DcMotor::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the DC motor available PIN by its RJ25 port.
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeMegaPiPro4DcMotor::reset (uint8_t port,
uint8_t slot 
)
+
+
Function
reset
+
Description
Reset the DC motor available PIN by its RJ25 port and slot.
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
void MeMegaPiPro4DcMotor::run (int16_t speed)
+
+
Function
run
+
Description
Control the motor forward or reverse
+
Parameters
+ + +
[in]speed- Speed value from -255 to 255
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeMegaPiPro4DcMotor::setpin (uint8_t dir_pin,
uint8_t pwm_pin 
)
+
+
Function
setpin
+
Description
Reset the DC motor available PIN by its arduino port.
+
Parameters
+ + + +
[in]dir_pin- arduino port for direction pin(should analog pin)
[in]pwm_pin- arduino port for pwm input(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ stop()

+ +
+
+ + + + + + + + +
void MeMegaPiPro4DcMotor::stop (void )
+
+
Function
stop
+
Description
Stop the rotation of the motor
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor.js b/doc/html/class_me_mega_pi_pro4_dc_motor.js new file mode 100644 index 00000000..ddf58ca3 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor.js @@ -0,0 +1,10 @@ +var class_me_mega_pi_pro4_dc_motor = +[ + [ "MeMegaPiPro4DcMotor", "class_me_mega_pi_pro4_dc_motor.html#a82a9c5416fb71a07550902f6dca71119", null ], + [ "MeMegaPiPro4DcMotor", "class_me_mega_pi_pro4_dc_motor.html#a0797022589246f44bbbc7fd0d0467726", null ], + [ "reset", "class_me_mega_pi_pro4_dc_motor.html#a4e6b8c161cfe6367a1c43f9b129a8597", null ], + [ "reset", "class_me_mega_pi_pro4_dc_motor.html#a8ebf2a564ca4f4ec2458d472bd4ed9f8", null ], + [ "run", "class_me_mega_pi_pro4_dc_motor.html#aa38cacfe02e74049f0b5b2ffa397676e", null ], + [ "setpin", "class_me_mega_pi_pro4_dc_motor.html#a7dedce5958822fbb8c28bb5867357c80", null ], + [ "stop", "class_me_mega_pi_pro4_dc_motor.html#afd87d1eda99dbde9a1a2223777b9b520", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor.png b/doc/html/class_me_mega_pi_pro4_dc_motor.png new file mode 100644 index 00000000..3236cbb9 Binary files /dev/null and b/doc/html/class_me_mega_pi_pro4_dc_motor.png differ diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.map b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.map new file mode 100644 index 00000000..20bdf0d6 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.md5 b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.md5 new file mode 100644 index 00000000..8f205dd2 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.md5 @@ -0,0 +1 @@ +7f41532b888bce7247922dc70b62ca66 \ No newline at end of file diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.png b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.png new file mode 100644 index 00000000..64b70714 Binary files /dev/null and b/doc/html/class_me_mega_pi_pro4_dc_motor__coll__graph.png differ diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.map b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.map new file mode 100644 index 00000000..20bdf0d6 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.md5 b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.md5 new file mode 100644 index 00000000..8f205dd2 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.md5 @@ -0,0 +1 @@ +7f41532b888bce7247922dc70b62ca66 \ No newline at end of file diff --git a/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.png b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.png new file mode 100644 index 00000000..64b70714 Binary files /dev/null and b/doc/html/class_me_mega_pi_pro4_dc_motor__inherit__graph.png differ diff --git a/doc/html/class_me_mega_pi_pro_e_s_c_motor-members.html b/doc/html/class_me_mega_pi_pro_e_s_c_motor-members.html new file mode 100644 index 00000000..66d0f590 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro_e_s_c_motor-members.html @@ -0,0 +1,115 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeMegaPiProESCMotor Member List
+
+
+ +

This is the complete list of members for MeMegaPiProESCMotor, including all inherited members.

+ + + + + + + + +
init(void)MeMegaPiProESCMotor
MeMegaPiProESCMotor(void)MeMegaPiProESCMotor
MeMegaPiProESCMotor(uint8_t port)MeMegaPiProESCMotor
reset(uint8_t port)MeMegaPiProESCMotor
run(int16_t speed)MeMegaPiProESCMotor
setpin(uint8_t pwm_pin)MeMegaPiProESCMotor
stop(void)MeMegaPiProESCMotor
+
+ + + + diff --git a/doc/html/class_me_mega_pi_pro_e_s_c_motor.html b/doc/html/class_me_mega_pi_pro_e_s_c_motor.html new file mode 100644 index 00000000..d2f4a4a2 --- /dev/null +++ b/doc/html/class_me_mega_pi_pro_e_s_c_motor.html @@ -0,0 +1,346 @@ + + + + + + + +MakeBlock Drive Updated: MeMegaPiProESCMotor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeMegaPiProESCMotor Class Reference
+
+
+ +

Driver for Me Megapipro ESC motor device. + More...

+ +

#include <src/MeMegaPiProESCMotor.h>

+ + + + + + + + + + + + + + + + +

+Public Member Functions

 MeMegaPiProESCMotor (void)
 
 MeMegaPiProESCMotor (uint8_t port)
 
void reset (uint8_t port)
 
void setpin (uint8_t pwm_pin)
 
void init (void)
 
void run (int16_t speed)
 
void stop (void)
 
+

Detailed Description

+

Driver for Me Megapipro ESC motor device.

+

Driver for Me Megapi Pro ESC motor device.

+

Class: MeMegaPiProESCMotor

Description
Declaration of Class MeMegaPiProESCMotor
+
Copyright (C), 2012-2017, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeMegaPiProESCMotor() [1/2]

+ +
+
+ + + + + + + + +
MeMegaPiProESCMotor::MeMegaPiProESCMotor (void )
+
+

Alternate Constructor which can call your own function to map the ESC motor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeMegaPiProESCMotor() [2/2]

+ +
+
+ + + + + + + + +
MeMegaPiProESCMotor::MeMegaPiProESCMotor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the ESC motor to arduino port

Parameters
+ + +
[in]port- megapi dc port from PORT_1 to PORT_12
+
+
+

Alternate Constructor which can call your own function to map the ESC motor to arduino port

Parameters
+ + +
[in]port- megapipro esc port from PORT_1 to PORT_12
+
+
+ +
+
+

Member Function Documentation

+ +

◆ init()

+ +
+
+ + + + + + + + +
void MeMegaPiProESCMotor::init (void )
+
+
Function
init
+
Description
init ESC motor
+
Output
None
+
Returns
None
+
Others
None
+
Function
init
+
Description
init esc Motor
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset()

+ +
+
+ + + + + + + + +
void MeMegaPiProESCMotor::reset (uint8_t port)
+
+
Function
setpin
+
Description
Reset the ESC motor available PIN by megapipro port.
+
Parameters
+ + +
[in]port- megapipro esc port from PORT_1 to PORT_12
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
reset
+
Description
Reset the ESC motor available PIN by megapi port.
+
Parameters
+ + +
[in]port- megapipro esc port from PORT_1 to PORT_12
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
void MeMegaPiProESCMotor::run (int16_t speed)
+
+
Function
run
+
Description
Control the motor forward or reverse
+
Parameters
+ + +
[in]speed- Speed value from 0 to 100
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeMegaPiProESCMotor::setpin (uint8_t pwm_pin)
+
+
Function
setpin
+
Description
Reset the ESC motor available PIN by its arduino port.
+
Parameters
+ + +
[in]pwm_pin- arduino port for pwm input(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ stop()

+ +
+
+ + + + + + + + +
void MeMegaPiProESCMotor::stop (void )
+
+
Function
stop
+
Description
Stop the rotation of the motor
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_mega_pi_pro_e_s_c_motor.js b/doc/html/class_me_mega_pi_pro_e_s_c_motor.js new file mode 100644 index 00000000..7e9d62db --- /dev/null +++ b/doc/html/class_me_mega_pi_pro_e_s_c_motor.js @@ -0,0 +1,10 @@ +var class_me_mega_pi_pro_e_s_c_motor = +[ + [ "MeMegaPiProESCMotor", "class_me_mega_pi_pro_e_s_c_motor.html#a5bac3025e305ce8cbfe0bb288e277ec2", null ], + [ "MeMegaPiProESCMotor", "class_me_mega_pi_pro_e_s_c_motor.html#a23bfa7d1caecb5801d98cc774fe108ae", null ], + [ "init", "class_me_mega_pi_pro_e_s_c_motor.html#a06d836fed26db76e706c02a9643b2329", null ], + [ "reset", "class_me_mega_pi_pro_e_s_c_motor.html#ad9e731bb9c8c3244b11c0d2014e64005", null ], + [ "run", "class_me_mega_pi_pro_e_s_c_motor.html#a7a247a91f39356e7e84200727f13abc1", null ], + [ "setpin", "class_me_mega_pi_pro_e_s_c_motor.html#aed9f1a9466a577ec01330e3f1759f3f4", null ], + [ "stop", "class_me_mega_pi_pro_e_s_c_motor.html#ad270cf24ae74e70c946094a0fe86f6ee", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_on_board_temp-members.html b/doc/html/class_me_on_board_temp-members.html new file mode 100644 index 00000000..7b7ab32b --- /dev/null +++ b/doc/html/class_me_on_board_temp-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOnBoardTemp Member List
+
+
+ +

This is the complete list of members for MeOnBoardTemp, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MeOnBoardTemp(void)MeOnBoardTemp
MeOnBoardTemp(uint8_t port)MeOnBoardTemp
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
readAnalog(void)MeOnBoardTemp
readValue(void)MeOnBoardTemp
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t analog_pin)MeOnBoardTemp
+
+ + + + diff --git a/doc/html/class_me_on_board_temp.html b/doc/html/class_me_on_board_temp.html new file mode 100644 index 00000000..3e86198a --- /dev/null +++ b/doc/html/class_me_on_board_temp.html @@ -0,0 +1,336 @@ + + + + + + + +MakeBlock Drive Updated: MeOnBoardTemp Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOnBoardTemp Class Reference
+
+
+ +

Driver for Auriga On Board Temperature device. + More...

+ +

#include <src/MeOnBoardTemp.h>

+
+Inheritance diagram for MeOnBoardTemp:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeOnBoardTemp:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeOnBoardTemp (void)
 
 MeOnBoardTemp (uint8_t port)
 
void setpin (uint8_t analog_pin)
 
int16_t readAnalog (void)
 
float readValue (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Auriga On Board Temperature device.

+

Class: MeOnBoardTemp

Description
Declaration of Class MeOnBoardTemp
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeOnBoardTemp() [1/2]

+ +
+
+ + + + + + + + +
MeOnBoardTemp::MeOnBoardTemp (void )
+
+

Alternate Constructor which can call your own function to map the On Board Temperature to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeOnBoardTemp() [2/2]

+ +
+
+ + + + + + + + +
MeOnBoardTemp::MeOnBoardTemp (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the On Board Temperature to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ readAnalog()

+ +
+
+ + + + + + + + +
int16_t MeOnBoardTemp::readAnalog (void )
+
+
Function
readAnalog
+
Description
Read the analog signal of On Board Temperature.
+
Output
None
+
Returns
The vlaue from On Board Temperature's analog output
+
Others
None
+ +
+
+ +

◆ readValue()

+ +
+
+ + + + + + + + +
float MeOnBoardTemp::readValue (void )
+
+
Function
readValue
+
Description
Read the value of On Board Temperature.
+
Output
None
+
Returns
The vlaue from On Board Temperature.
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeOnBoardTemp::setpin (uint8_t analog_pin)
+
+
Function
setpin
+
Description
Reset the analog available PIN by its arduino port.
+
Parameters
+ + +
[in]analog_pin- arduino port for analog signal input
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_on_board_temp.js b/doc/html/class_me_on_board_temp.js new file mode 100644 index 00000000..2c80b86a --- /dev/null +++ b/doc/html/class_me_on_board_temp.js @@ -0,0 +1,8 @@ +var class_me_on_board_temp = +[ + [ "MeOnBoardTemp", "class_me_on_board_temp.html#a06f4cfe51ec0c2dbc372a5f21188b499", null ], + [ "MeOnBoardTemp", "class_me_on_board_temp.html#ab22487c40c90a0af0f47be119868e8ad", null ], + [ "readAnalog", "class_me_on_board_temp.html#ada9bb788ed99094df48dbd9536193362", null ], + [ "readValue", "class_me_on_board_temp.html#a590a42d0aab644a6c7108d3f47b477b3", null ], + [ "setpin", "class_me_on_board_temp.html#a8df6de600f2a4d781d52de951712d641", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_on_board_temp.png b/doc/html/class_me_on_board_temp.png new file mode 100644 index 00000000..0cd835a1 Binary files /dev/null and b/doc/html/class_me_on_board_temp.png differ diff --git a/doc/html/class_me_on_board_temp__coll__graph.map b/doc/html/class_me_on_board_temp__coll__graph.map new file mode 100644 index 00000000..0ff079c9 --- /dev/null +++ b/doc/html/class_me_on_board_temp__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_on_board_temp__coll__graph.md5 b/doc/html/class_me_on_board_temp__coll__graph.md5 new file mode 100644 index 00000000..2e25204e --- /dev/null +++ b/doc/html/class_me_on_board_temp__coll__graph.md5 @@ -0,0 +1 @@ +033520db3c61cd45361c7b9e3eeb51a4 \ No newline at end of file diff --git a/doc/html/class_me_on_board_temp__coll__graph.png b/doc/html/class_me_on_board_temp__coll__graph.png new file mode 100644 index 00000000..56221252 Binary files /dev/null and b/doc/html/class_me_on_board_temp__coll__graph.png differ diff --git a/doc/html/class_me_on_board_temp__inherit__graph.map b/doc/html/class_me_on_board_temp__inherit__graph.map new file mode 100644 index 00000000..0ff079c9 --- /dev/null +++ b/doc/html/class_me_on_board_temp__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_on_board_temp__inherit__graph.md5 b/doc/html/class_me_on_board_temp__inherit__graph.md5 new file mode 100644 index 00000000..2e25204e --- /dev/null +++ b/doc/html/class_me_on_board_temp__inherit__graph.md5 @@ -0,0 +1 @@ +033520db3c61cd45361c7b9e3eeb51a4 \ No newline at end of file diff --git a/doc/html/class_me_on_board_temp__inherit__graph.png b/doc/html/class_me_on_board_temp__inherit__graph.png new file mode 100644 index 00000000..56221252 Binary files /dev/null and b/doc/html/class_me_on_board_temp__inherit__graph.png differ diff --git a/doc/html/class_me_one_wire-members.html b/doc/html/class_me_one_wire-members.html new file mode 100644 index 00000000..213bc9cb --- /dev/null +++ b/doc/html/class_me_one_wire-members.html @@ -0,0 +1,125 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeOneWire Member List
+
+
+ +

This is the complete list of members for MeOneWire, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
depower(void)MeOneWire
MeOneWire(void)MeOneWire
MeOneWire(uint8_t pin)MeOneWire
read(void)MeOneWire
read_bit(void)MeOneWire
read_bytes(uint8_t *buf, uint16_t count)MeOneWire
readIO(void)MeOneWire
reset(uint8_t pin)MeOneWire
reset(void)MeOneWire
reset_search(void)MeOneWire
search(uint8_t *newAddr)MeOneWire
select(const uint8_t rom[8])MeOneWire
skip(void)MeOneWire
target_search(uint8_t family_code)MeOneWire
write(uint8_t v, uint8_t power=0)MeOneWire
write_bit(uint8_t v)MeOneWire
write_bytes(const uint8_t *buf, uint16_t count, bool power=0)MeOneWire
+
+ + + + diff --git a/doc/html/class_me_one_wire.html b/doc/html/class_me_one_wire.html new file mode 100644 index 00000000..f1afce37 --- /dev/null +++ b/doc/html/class_me_one_wire.html @@ -0,0 +1,651 @@ + + + + + + + +MakeBlock Drive Updated: MeOneWire Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeOneWire Class Reference
+
+
+ +

Driver for 1-wire protocol. + More...

+ +

#include <src/MeOneWire.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeOneWire (void)
 
 MeOneWire (uint8_t pin)
 
bool readIO (void)
 
void reset (uint8_t pin)
 
uint8_t reset (void)
 
void select (const uint8_t rom[8])
 
void skip (void)
 
void write (uint8_t v, uint8_t power=0)
 
void write_bytes (const uint8_t *buf, uint16_t count, bool power=0)
 
uint8_t read (void)
 
void read_bytes (uint8_t *buf, uint16_t count)
 
void write_bit (uint8_t v)
 
uint8_t read_bit (void)
 
void depower (void)
 
void reset_search (void)
 
void target_search (uint8_t family_code)
 
uint8_t search (uint8_t *newAddr)
 
+

Detailed Description

+

Driver for 1-wire protocol.

+

Class: MeOneWire

Description
Declaration of Class MeOneWire.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeOneWire() [1/2]

+ +
+
+ + + + + + + + +
MeOneWire::MeOneWire (void )
+
+

Alternate Constructor which can call your own function to map the MeOneWire to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeOneWire() [2/2]

+ +
+
+ + + + + + + + +
MeOneWire::MeOneWire (uint8_t pin)
+
+

Alternate Constructor which can call your own function to map the MeOneWire to arduino port, it will assigned the shot PIN and focus pin.

Parameters
+ + +
[in]pin- arduino port for 1-wire(should digital pin)
+
+
+ +
+
+

Member Function Documentation

+ +

◆ depower()

+ +
+
+ + + + + + + + +
void MeOneWire::depower (void )
+
+
Function
depower
+
Description
Stop forcing power onto the bus. You only need to do this if you used the 'power' flag to write() or used a write_bit() call and aren't about to do another read or write. You would rather not leave this powered if you don't have to, just in case someone shorts your bus.
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read()

+ +
+
+ + + + + + + + +
uint8_t MeOneWire::read (void )
+
+
Function
read
+
Description
Read a byte of data
+
Output
None
+
Returns
The read data(8-bit data)
+
Others
None
+ +
+
+ +

◆ read_bit()

+ +
+
+ + + + + + + + +
uint8_t MeOneWire::read_bit (void )
+
+
Function
read_bit
+
Description
Read a bit. Port and bit is used to cut lookup time and provide more certain timing
+
Output
None
+
Returns
return the bit value we read
+
Others
None
+ +
+
+ +

◆ read_bytes()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeOneWire::read_bytes (uint8_t * buf,
uint16_t count 
)
+
+
Function
read_bytes
+
Description
Read certain number of data
+
Parameters
+ + + +
[out]buf- The buffer used to store the read data
[in]count- The count of the bytes we need to read
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readIO()

+ +
+
+ + + + + + + + +
bool MeOneWire::readIO (void )
+
+
Function
readIO
+
Description
Read a bit from 1-wire data port
+
Output
None
+
Returns
return the bit value we read
+
Others
None
+ +
+
+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MeOneWire::reset (uint8_t pin)
+
+
Function
reset
+
Description
Reset the available PIN for 1-wire
+
Parameters
+ + +
[in]pin- arduino port(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + +
uint8_t MeOneWire::reset (void )
+
+
Function
reset
+
Description
Perform the MeOneWire reset function. We will wait up to 250uS for the bus to come high, if it doesn't then it is broken or shorted.
+
Parameters
+ + +
[in]v- The bit value need be written
+
+
+
Output
None
+
Returns
Returns 1 if a device asserted a presence pulse, 0 otherwise.
+
Others
None
+ +
+
+ +

◆ reset_search()

+ +
+
+ + + + + + + + +
void MeOneWire::reset_search (void )
+
+
Function
reset_search
+
Description
If we need search a new device, we need call this function to clear the search state and all stored values
+
+
Output
Reset all stored values
+
Returns
None
+
Others
None
+ +
+
+ +

◆ search()

+ +
+
+ + + + + + + + +
uint8_t MeOneWire::search (uint8_t * newAddr)
+
+
Function
search
+
Description
Perform a search. If this function returns a '1' then it has enumerated the next device and you may retrieve the ROM from the MeOneWire::address variable. If there are no devices, no further devices, or something horrible happens in the middle of the enumeration then a '0' is returned. If a new device is found then its address is copied to newAddr. Use MeOneWire::reset_search() to start over. you can get the algorithm from doc\Me_Temperature\Datasheet\1-Wire_Search_Algorithm.pdf
+
Parameters
+ + +
[out]newAddr- The adrress to store the ROM data
+
+
+
Output
None
+
Returns
true - device found, ROM number in ROM_NO buffer\r
+ *   false - device not found, end of search
+
Others
None
+ +
+
+ +

◆ select()

+ +
+
+ + + + + + + + +
void MeOneWire::select (const uint8_t rom[8])
+
+
Function
select
+
Description
Issue a 1-Wire rom select command.
+
Parameters
+ + +
[in]rom[8]- 64bit ROM code.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ skip()

+ +
+
+ + + + + + + + +
void MeOneWire::skip (void )
+
+
Function
skip
+
Description
Issue a 1-Wire rom skip command.
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ target_search()

+ +
+
+ + + + + + + + +
void MeOneWire::target_search (uint8_t family_code)
+
+
Function
target_search
+
Description
Setup the search to find the device type 'family_code' on the next call of search(*newAddr) if it is present.
+
Parameters
+ + +
[in]family_code- the device type we need search
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ write()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeOneWire::write (uint8_t v,
uint8_t power = 0 
)
+
+
Function
write
+
Description
Write a byte of data
+
Parameters
+ + + +
[in]v- The value need be written
[in]power- Should we need active drivers to raise the pin high
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ write_bit()

+ +
+
+ + + + + + + + +
void MeOneWire::write_bit (uint8_t v)
+
+
Function
write_bit
+
Description
Write a bit. The bus is always left powered at the end, see note in write() about that.
+
Parameters
+ + +
[in]v- The bit value need be written
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ write_bytes()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeOneWire::write_bytes (const uint8_t * buf,
uint16_t count,
bool power = 0 
)
+
+
Function
write_bytes
+
Description
Write certain number of data
+
Parameters
+ + + + +
[in]buf- The buffer used to store the data that need be written
[in]count- The count of the bytes we need to write
[in]power- Should we need active drivers to raise the pin high
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_one_wire.js b/doc/html/class_me_one_wire.js new file mode 100644 index 00000000..590cb192 --- /dev/null +++ b/doc/html/class_me_one_wire.js @@ -0,0 +1,20 @@ +var class_me_one_wire = +[ + [ "MeOneWire", "class_me_one_wire.html#a8069007f7070f2f239af17cd824651f2", null ], + [ "MeOneWire", "class_me_one_wire.html#a56ca2b54bd03dc44d888a823ba388566", null ], + [ "depower", "class_me_one_wire.html#af049edcbd9d0f09bc5ce54973c2305eb", null ], + [ "read", "class_me_one_wire.html#a9930a16f2cdc36d15f646e41a1a083a4", null ], + [ "read_bit", "class_me_one_wire.html#abd22dddea19354d857f5e3b33b02add3", null ], + [ "read_bytes", "class_me_one_wire.html#acbaaa04392b4b406500f4953ef389a6c", null ], + [ "readIO", "class_me_one_wire.html#a8cfacb53d1246333f94c25508e833f22", null ], + [ "reset", "class_me_one_wire.html#ac7ae473bec8198fba76040fe8422cea7", null ], + [ "reset", "class_me_one_wire.html#afdf58430b9beb67f2ebba55430e7aa3c", null ], + [ "reset_search", "class_me_one_wire.html#a83f6c2c88d9f2fa5c4aabb7f540bc6ac", null ], + [ "search", "class_me_one_wire.html#a2d48b3c80326da96b627f7dc15ad1b56", null ], + [ "select", "class_me_one_wire.html#afa0cc28fb5fec3b805cc7eeb955ae8d3", null ], + [ "skip", "class_me_one_wire.html#adf1fe69dac4bda2511ce613c0e51d1cf", null ], + [ "target_search", "class_me_one_wire.html#a72274992cccec07f9ee20525edcd7208", null ], + [ "write", "class_me_one_wire.html#a50f690ef7f97a23844da2b89e78232d7", null ], + [ "write_bit", "class_me_one_wire.html#a71ff538d319b4492e3002e027b07e9fa", null ], + [ "write_bytes", "class_me_one_wire.html#a0f66689a98b50c8fd681ba6a324054a8", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_p_i_r_motion_sensor-members.html b/doc/html/class_me_p_i_r_motion_sensor-members.html new file mode 100644 index 00000000..cb345f4b --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePIRMotionSensor Member List
+
+
+ +

This is the complete list of members for MePIRMotionSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
isHumanDetected()MePIRMotionSensor
MePIRMotionSensor()MePIRMotionSensor
MePIRMotionSensor(uint8_t port)MePIRMotionSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t ModePin, uint8_t SensorPin)MePIRMotionSensor
SetPirMotionMode(uint8_t ModePin)MePIRMotionSensor
+
+ + + + diff --git a/doc/html/class_me_p_i_r_motion_sensor.html b/doc/html/class_me_p_i_r_motion_sensor.html new file mode 100644 index 00000000..f7c35009 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor.html @@ -0,0 +1,359 @@ + + + + + + + +MakeBlock Drive Updated: MePIRMotionSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePIRMotionSensor Class Reference
+
+
+ +

Driver for Me PIR Motion Sensor module. + More...

+ +

#include <src/MePIRMotionSensor.h>

+
+Inheritance diagram for MePIRMotionSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MePIRMotionSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MePIRMotionSensor ()
 
 MePIRMotionSensor (uint8_t port)
 
void setpin (uint8_t ModePin, uint8_t SensorPin)
 
void SetPirMotionMode (uint8_t ModePin)
 
bool isHumanDetected ()
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me PIR Motion Sensor module.

+

Driver for Me PIR Motionn Sensor module.

+

Class: MePIRMotionSensor

Description
Declaration of Class MePIRMotionSensor.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MePIRMotionSensor() [1/2]

+ +
+
+ + + + + + + + +
MePIRMotionSensor::MePIRMotionSensor (void )
+
+

Alternate Constructor which can call your own function to map the Motion Sensor device to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MePIRMotionSensor() [2/2]

+ +
+
+ + + + + + + + +
MePIRMotionSensor::MePIRMotionSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Motion Sensor device to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ isHumanDetected()

+ +
+
+ + + + + + + +
bool MePIRMotionSensor::isHumanDetected ()
+
+
Function
isHumanDetected
+
Description
Is human been detected.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
ture: human is detected false: no human been detected
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MePIRMotionSensor::setpin (uint8_t ModePin,
uint8_t SensorPin 
)
+
+
Function
setpin
+
Description
Reset the PIR motion sensor available PIN by its arduino port.
+
Parameters
+ + + +
[in]ModePin- arduino port for BIS0001's A port
[in]SensorPin- arduino port for BIS0001's Vo port
+
+
+
Output
None
+
Return
None
+
Others
Set global variable _KeyPin and s2
+ +
+
+ +

◆ SetPirMotionMode()

+ +
+
+ + + + + + + + +
void MePIRMotionSensor::SetPirMotionMode (uint8_t ModePin)
+
+
Function
SetPirMotionMode
+
Description
Set PIR motion sensor's trigger mode.
+
Parameters
+ + +
[in]ModePin- 1: Retriggerable, 0: Unrepeatable trigger
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_p_i_r_motion_sensor.js b/doc/html/class_me_p_i_r_motion_sensor.js new file mode 100644 index 00000000..07c018e9 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor.js @@ -0,0 +1,8 @@ +var class_me_p_i_r_motion_sensor = +[ + [ "MePIRMotionSensor", "class_me_p_i_r_motion_sensor.html#a02248fc5af91a2e8778bd4031ff434e0", null ], + [ "MePIRMotionSensor", "class_me_p_i_r_motion_sensor.html#ab845675e34478ecf04e3742844f1418c", null ], + [ "isHumanDetected", "class_me_p_i_r_motion_sensor.html#a1e7b90004c44efd782f7691a8140c3e0", null ], + [ "setpin", "class_me_p_i_r_motion_sensor.html#a413ff73fcb8fbe86fe36c0197bc64626", null ], + [ "SetPirMotionMode", "class_me_p_i_r_motion_sensor.html#aa7aa0020adee8562ff4ae2c7b84fd8de", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_p_i_r_motion_sensor.png b/doc/html/class_me_p_i_r_motion_sensor.png new file mode 100644 index 00000000..6a19bdbd Binary files /dev/null and b/doc/html/class_me_p_i_r_motion_sensor.png differ diff --git a/doc/html/class_me_p_i_r_motion_sensor__coll__graph.map b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.map new file mode 100644 index 00000000..883c1b28 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_p_i_r_motion_sensor__coll__graph.md5 b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.md5 new file mode 100644 index 00000000..925c04a6 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.md5 @@ -0,0 +1 @@ +9120016c5fd4097e9559e96bd1c4476c \ No newline at end of file diff --git a/doc/html/class_me_p_i_r_motion_sensor__coll__graph.png b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.png new file mode 100644 index 00000000..966a9fcd Binary files /dev/null and b/doc/html/class_me_p_i_r_motion_sensor__coll__graph.png differ diff --git a/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.map b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.map new file mode 100644 index 00000000..883c1b28 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.md5 b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.md5 new file mode 100644 index 00000000..925c04a6 --- /dev/null +++ b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +9120016c5fd4097e9559e96bd1c4476c \ No newline at end of file diff --git a/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.png b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.png new file mode 100644 index 00000000..966a9fcd Binary files /dev/null and b/doc/html/class_me_p_i_r_motion_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_p_s2-members.html b/doc/html/class_me_p_s2-members.html new file mode 100644 index 00000000..1d323008 --- /dev/null +++ b/doc/html/class_me_p_s2-members.html @@ -0,0 +1,179 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePS2 Member List
+
+
+ +

This is the complete list of members for MePS2, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
bufferIndex (defined in MeSerial)MeSerialprotected
ButtonPressed(uint8_t button)MePS2
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
loop(void)MePS2
MeAnalog(uint8_t button)MePS2
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MePS2()MePS2
MePS2(uint8_t port)MePS2
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeSerialvirtual
readBuffer(int16_t index)MePS2
readDataLine(void) (defined in MeSerial)MeSerial
readjoystick(void)MePS2
readSerial(void)MePS2
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
writeBuffer(int16_t index, uint8_t c)MePS2
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_p_s2.html b/doc/html/class_me_p_s2.html new file mode 100644 index 00000000..88ae624c --- /dev/null +++ b/doc/html/class_me_p_s2.html @@ -0,0 +1,628 @@ + + + + + + + +MakeBlock Drive Updated: MePS2 Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePS2 Class Reference
+
+
+ +

Driver for MePS2 handle device. + More...

+ +

#include <src/MePS2.h>

+
+Inheritance diagram for MePS2:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MePS2:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MePS2 ()
 
 MePS2 (uint8_t port)
 
void readSerial (void)
 
uint8_t readBuffer (int16_t index)
 
void writeBuffer (int16_t index, uint8_t c)
 
boolean readjoystick (void)
 
int16_t MeAnalog (uint8_t button)
 
boolean ButtonPressed (uint8_t button)
 
void loop (void)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for MePS2 handle device.

+

Class: MePS2

Description
Declaration of Class MePS2.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MePS2() [1/2]

+ +
+
+ + + + + + + +
MePS2::MePS2 ()
+
+

Alternate Constructor which can call your own function to map the MePS2 to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MePS2() [2/2]

+ +
+
+ + + + + + + + +
MePS2::MePS2 (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MePS2 to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ ButtonPressed()

+ +
+
+ + + + + + + + +
boolean MePS2::ButtonPressed (uint8_t button)
+
+
Function
ButtonPressed
+
Description
This function is used to check the button whether to press.
+
Parameters
+ + +
[in]Button
+
+
+
Output
None
+
Return
Return button state.
+
Others
None
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + + +
void MePS2::loop (void )
+
+
Function
loop
+
Description
Save the MePS2 datas to the datalist.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ MeAnalog()

+ +
+
+ + + + + + + + +
int16_t MePS2::MeAnalog (uint8_t button)
+
+
Function
MeAnalog
+
Description
Read the handle remote sensing analog value.
+
Parameters
+ + +
[in]Button
+
+
+
Output
None
+
Return
Analog value(0~255). if none return 128.
+
Others
None
+
Function
MeAnalog
+
Description
Read the handle remote sensing analog value.
+
Parameters
+ + +
[in]Button
+
+
+
Output
+

None

Return
Analog value(-128~127). if none return 0.
+
Others
None
+ +
+
+ +

◆ readBuffer()

+ +
+
+ + + + + + + + +
uint8_t MePS2::readBuffer (int16_t index)
+
+
Function
readBuffer
+
Description
Read the buffer data.
+
Parameters
+ + +
[in]index
+
+
+
Output
None
+
Return
buffer
+
Others
None
+ +
+
+ +

◆ readjoystick()

+ +
+
+ + + + + + + + +
boolean MePS2::readjoystick (void )
+
+
Function
readjoystick
+
Description
This function is used to read the handle datas.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Returns 0 if no data ready, 1 if data ready.
+
Others
None
+ +
+
+ +

◆ readSerial()

+ +
+
+ + + + + + + + +
void MePS2::readSerial (void )
+
+
Function
readSerial
+
Description
Read the Serial data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
Save the data to _serialRead.
+ +
+
+ +

◆ writeBuffer()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MePS2::writeBuffer (int16_t index,
uint8_t c 
)
+
+
Function
writeBuffer
+
Description
Write the datas to the buffer.
+
Parameters
+ + +
[in]index,c
+
+
+
Output
None
+
Return
None
+
Others
None
+
Function
writeBuffer
+
Description
Write the data to the buffer.
+
Parameters
+ + +
[in]index,c
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_p_s2.js b/doc/html/class_me_p_s2.js new file mode 100644 index 00000000..4741f1ae --- /dev/null +++ b/doc/html/class_me_p_s2.js @@ -0,0 +1,12 @@ +var class_me_p_s2 = +[ + [ "MePS2", "class_me_p_s2.html#a2fd79fe40df482bad8eacb00666f8d61", null ], + [ "MePS2", "class_me_p_s2.html#abfc47759480247f23a63a716a4699371", null ], + [ "ButtonPressed", "class_me_p_s2.html#af6995881e6754c128b4b978f378f2ef7", null ], + [ "loop", "class_me_p_s2.html#a6801dbef44b2b324731cea5d75215a41", null ], + [ "MeAnalog", "class_me_p_s2.html#a9418cffcc31f2325b022189d9c02713a", null ], + [ "readBuffer", "class_me_p_s2.html#a4df0b0985f4b63366fc8ed2b6489916b", null ], + [ "readjoystick", "class_me_p_s2.html#a83482bf8ea7f5654ad6af4603045943e", null ], + [ "readSerial", "class_me_p_s2.html#a65d5b08003a94c6bc333dec3a6957f37", null ], + [ "writeBuffer", "class_me_p_s2.html#a89823992bc9d4fef006cc7f9782aa685", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_p_s2.png b/doc/html/class_me_p_s2.png new file mode 100644 index 00000000..d6e8f6bb Binary files /dev/null and b/doc/html/class_me_p_s2.png differ diff --git a/doc/html/class_me_p_s2__coll__graph.map b/doc/html/class_me_p_s2__coll__graph.map new file mode 100644 index 00000000..3299d91b --- /dev/null +++ b/doc/html/class_me_p_s2__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_p_s2__coll__graph.md5 b/doc/html/class_me_p_s2__coll__graph.md5 new file mode 100644 index 00000000..f3de1853 --- /dev/null +++ b/doc/html/class_me_p_s2__coll__graph.md5 @@ -0,0 +1 @@ +e6c3f2061a59898fb12e12be69d4dae7 \ No newline at end of file diff --git a/doc/html/class_me_p_s2__coll__graph.png b/doc/html/class_me_p_s2__coll__graph.png new file mode 100644 index 00000000..3ad29b76 Binary files /dev/null and b/doc/html/class_me_p_s2__coll__graph.png differ diff --git a/doc/html/class_me_p_s2__inherit__graph.map b/doc/html/class_me_p_s2__inherit__graph.map new file mode 100644 index 00000000..3299d91b --- /dev/null +++ b/doc/html/class_me_p_s2__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_p_s2__inherit__graph.md5 b/doc/html/class_me_p_s2__inherit__graph.md5 new file mode 100644 index 00000000..f3de1853 --- /dev/null +++ b/doc/html/class_me_p_s2__inherit__graph.md5 @@ -0,0 +1 @@ +e6c3f2061a59898fb12e12be69d4dae7 \ No newline at end of file diff --git a/doc/html/class_me_p_s2__inherit__graph.png b/doc/html/class_me_p_s2__inherit__graph.png new file mode 100644 index 00000000..3ad29b76 Binary files /dev/null and b/doc/html/class_me_p_s2__inherit__graph.png differ diff --git a/doc/html/class_me_pm25_sensor-members.html b/doc/html/class_me_pm25_sensor-members.html new file mode 100644 index 00000000..058b9abe --- /dev/null +++ b/doc/html/class_me_pm25_sensor-members.html @@ -0,0 +1,196 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePm25Sensor Member List
+
+
+ +

This is the complete list of members for MePm25Sensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
askForData(void)MePm25Sensor
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
coreSelfTest(void)MePm25Sensor
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
MePm25Sensor()MePm25Sensor
MePm25Sensor(uint8_t port)MePm25Sensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
OutputIntimeOff(void)MePm25Sensor
OutputIntimeOn(void)MePm25Sensor
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeSerialvirtual
read0_3NumIn100ml(void)MePm25Sensor
read0_5NumIn100ml(void)MePm25Sensor
read10NumIn100ml(void)MePm25Sensor
read1_0NumIn100ml(void)MePm25Sensor
read2_5NumIn100ml(void)MePm25Sensor
read5_0NumIn100ml(void)MePm25Sensor
readDataLine(void) (defined in MeSerial)MeSerial
readPm10Concentration(void)MePm25Sensor
readPm1_0Concentration(void)MePm25Sensor
readPm2_5Concentration(void)MePm25Sensor
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
returnchecksum(void)MePm25Sensor
returnCoreSelfTest(void)MePm25Sensor
returnlen(void)MePm25Sensor
rxloop(void)MePm25Sensor
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setCoreEfficient(uint8_t efficent)MePm25Sensor
setCoreSelfTestTime(uint8_t settime)MePm25Sensor
setHardware(bool mode)MeSerial
setOuputCompatibility(void)MePm25Sensor
setOutputIntimePeriod(uint16_t settime)MePm25Sensor
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
turnOffFanLaser(void)MePm25Sensor
turnOnFanLaser(void)MePm25Sensor
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_pm25_sensor.html b/doc/html/class_me_pm25_sensor.html new file mode 100644 index 00000000..9a8a22ec --- /dev/null +++ b/doc/html/class_me_pm25_sensor.html @@ -0,0 +1,1158 @@ + + + + + + + +MakeBlock Drive Updated: MePm25Sensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePm25Sensor Class Reference
+
+
+ +

Driver for Me PM2.5 sensor device. + More...

+ +

#include <src/MePm25Sensor.h>

+
+Inheritance diagram for MePm25Sensor:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MePm25Sensor:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MePm25Sensor ()
 
 MePm25Sensor (uint8_t port)
 
uint16_t readPm1_0Concentration (void)
 
uint16_t readPm2_5Concentration (void)
 
uint16_t readPm10Concentration (void)
 
uint16_t read0_3NumIn100ml (void)
 
uint16_t read0_5NumIn100ml (void)
 
uint16_t read1_0NumIn100ml (void)
 
uint16_t read2_5NumIn100ml (void)
 
uint16_t read5_0NumIn100ml (void)
 
uint16_t read10NumIn100ml (void)
 
uint16_t setOuputCompatibility (void)
 
uint16_t turnOnFanLaser (void)
 
uint16_t turnOffFanLaser (void)
 
uint16_t OutputIntimeOn (void)
 
uint16_t OutputIntimeOff (void)
 
uint16_t setOutputIntimePeriod (uint16_t settime)
 
uint16_t askForData (void)
 
uint16_t coreSelfTest (void)
 
uint16_t returnCoreSelfTest (void)
 
uint16_t setCoreSelfTestTime (uint8_t settime)
 
uint16_t setCoreEfficient (uint8_t efficent)
 
void rxloop (void)
 
uint16_t returnlen (void)
 
uint16_t returnchecksum (void)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me PM2.5 sensor device.

+

Class: MePm25Sensor

Description
Declaration of Class MePm25Sensor.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MePm25Sensor() [1/2]

+ +
+
+ + + + + + + +
MePm25Sensor::MePm25Sensor ()
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MePm25Sensor() [2/2]

+ +
+
+ + + + + + + + +
MePm25Sensor::MePm25Sensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, If the hardware serial was selected, it will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, If the hardware serial was selected, it will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ askForData()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::askForData (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ coreSelfTest()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::coreSelfTest (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ OutputIntimeOff()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::OutputIntimeOff (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ OutputIntimeOn()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::OutputIntimeOn (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read0_3NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read0_3NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read0_5NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read0_5NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read10NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read10NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read1_0NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read1_0NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read2_5NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read2_5NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read5_0NumIn100ml()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::read5_0NumIn100ml (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readPm10Concentration()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::readPm10Concentration (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readPm1_0Concentration()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::readPm1_0Concentration (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readPm2_5Concentration()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::readPm2_5Concentration (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ returnchecksum()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::returnchecksum (void )
+
+
Function
smartServoEventHandle
+
Description
This function is used to process protocol messages of smart servo.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ returnCoreSelfTest()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::returnCoreSelfTest (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ returnlen()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::returnlen (void )
+
+
Function
smartServoEventHandle
+
Description
This function is used to process protocol messages of smart servo.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ rxloop()

+ +
+
+ + + + + + + + +
void MePm25Sensor::rxloop (void )
+
+
Function
smartServoEventHandle
+
Description
This function is used to process protocol messages of smart servo.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setCoreEfficient()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::setCoreEfficient (uint8_t efficent)
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setCoreSelfTestTime()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::setCoreSelfTestTime (uint8_t settime)
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setOuputCompatibility()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::setOuputCompatibility (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setOutputIntimePeriod()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::setOutputIntimePeriod (uint16_t settime)
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ turnOffFanLaser()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::turnOffFanLaser (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ turnOnFanLaser()

+ +
+
+ + + + + + + + +
uint16_t MePm25Sensor::turnOnFanLaser (void )
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_pm25_sensor.js b/doc/html/class_me_pm25_sensor.js new file mode 100644 index 00000000..4ac0c81d --- /dev/null +++ b/doc/html/class_me_pm25_sensor.js @@ -0,0 +1,28 @@ +var class_me_pm25_sensor = +[ + [ "MePm25Sensor", "class_me_pm25_sensor.html#a1cc18797bdc8959a726025fbb8ea888a", null ], + [ "MePm25Sensor", "class_me_pm25_sensor.html#a1d7cdd82e198a2e040a190c8f6fe652a", null ], + [ "askForData", "class_me_pm25_sensor.html#abcec24407e3cbc74c6e47ca2abdd082a", null ], + [ "coreSelfTest", "class_me_pm25_sensor.html#a8c2cb9ec0e5e254eb20639e3167e9d14", null ], + [ "OutputIntimeOff", "class_me_pm25_sensor.html#a255b47a6afeeac32f7dd9d50a97241e7", null ], + [ "OutputIntimeOn", "class_me_pm25_sensor.html#a98a6e7af47ae69ffd23fdae581aef083", null ], + [ "read0_3NumIn100ml", "class_me_pm25_sensor.html#aef664694c3ca8512d694795dd704e5a3", null ], + [ "read0_5NumIn100ml", "class_me_pm25_sensor.html#aae4537c8e8a21c6304221193b9f35472", null ], + [ "read10NumIn100ml", "class_me_pm25_sensor.html#a7abb152fbb1530757a3b4e6994b4a578", null ], + [ "read1_0NumIn100ml", "class_me_pm25_sensor.html#ad07e4c9369d6def86457816936e4ce1e", null ], + [ "read2_5NumIn100ml", "class_me_pm25_sensor.html#a5e6ad588c26febcdf79d53231d492553", null ], + [ "read5_0NumIn100ml", "class_me_pm25_sensor.html#ac780e647570499912c45802baaee8dc2", null ], + [ "readPm10Concentration", "class_me_pm25_sensor.html#a3835d73853146cbbedb10bf35b24469a", null ], + [ "readPm1_0Concentration", "class_me_pm25_sensor.html#a3ab7cc63abcb3d89abf615d3c8f68f78", null ], + [ "readPm2_5Concentration", "class_me_pm25_sensor.html#ad4f1efe5497f5e2978fc2a3d2fcfcfe8", null ], + [ "returnchecksum", "class_me_pm25_sensor.html#ae8e7a458edbc826dd1b75f3d135540bf", null ], + [ "returnCoreSelfTest", "class_me_pm25_sensor.html#a8fec18eca69dbfaa2e55797ffa8cca60", null ], + [ "returnlen", "class_me_pm25_sensor.html#af756cb35791d5643cebcac6a7ae06514", null ], + [ "rxloop", "class_me_pm25_sensor.html#a17bf2e8a068c549f0be44465735899cb", null ], + [ "setCoreEfficient", "class_me_pm25_sensor.html#aa25fb8cdc6c8ea19f5d8495a3844fb42", null ], + [ "setCoreSelfTestTime", "class_me_pm25_sensor.html#a59a38b9cfb0a6145308dfef3a73db42e", null ], + [ "setOuputCompatibility", "class_me_pm25_sensor.html#af061f8c09a9e3bfb4509f7f8cb6b59c6", null ], + [ "setOutputIntimePeriod", "class_me_pm25_sensor.html#ac126c70ddc9816cac9eedbb9b4387c33", null ], + [ "turnOffFanLaser", "class_me_pm25_sensor.html#ae2c91a85f42874ba1f9a4b2cc985ad24", null ], + [ "turnOnFanLaser", "class_me_pm25_sensor.html#a15457eb6a96687f86ed148e593a94a33", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_pm25_sensor.png b/doc/html/class_me_pm25_sensor.png new file mode 100644 index 00000000..000b9867 Binary files /dev/null and b/doc/html/class_me_pm25_sensor.png differ diff --git a/doc/html/class_me_pm25_sensor__coll__graph.map b/doc/html/class_me_pm25_sensor__coll__graph.map new file mode 100644 index 00000000..ba43dfa9 --- /dev/null +++ b/doc/html/class_me_pm25_sensor__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_pm25_sensor__coll__graph.md5 b/doc/html/class_me_pm25_sensor__coll__graph.md5 new file mode 100644 index 00000000..3ec965de --- /dev/null +++ b/doc/html/class_me_pm25_sensor__coll__graph.md5 @@ -0,0 +1 @@ +a90269b648311a5333ac3d21059b43d3 \ No newline at end of file diff --git a/doc/html/class_me_pm25_sensor__coll__graph.png b/doc/html/class_me_pm25_sensor__coll__graph.png new file mode 100644 index 00000000..af4cbe8a Binary files /dev/null and b/doc/html/class_me_pm25_sensor__coll__graph.png differ diff --git a/doc/html/class_me_pm25_sensor__inherit__graph.map b/doc/html/class_me_pm25_sensor__inherit__graph.map new file mode 100644 index 00000000..ba43dfa9 --- /dev/null +++ b/doc/html/class_me_pm25_sensor__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_pm25_sensor__inherit__graph.md5 b/doc/html/class_me_pm25_sensor__inherit__graph.md5 new file mode 100644 index 00000000..3ec965de --- /dev/null +++ b/doc/html/class_me_pm25_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +a90269b648311a5333ac3d21059b43d3 \ No newline at end of file diff --git a/doc/html/class_me_pm25_sensor__inherit__graph.png b/doc/html/class_me_pm25_sensor__inherit__graph.png new file mode 100644 index 00000000..af4cbe8a Binary files /dev/null and b/doc/html/class_me_pm25_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_port-members.html b/doc/html/class_me_port-members.html new file mode 100644 index 00000000..e60e1f8a --- /dev/null +++ b/doc/html/class_me_port-members.html @@ -0,0 +1,133 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePort Member List
+
+
+ +

This is the complete list of members for MePort, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
+
+ + + + diff --git a/doc/html/class_me_port.html b/doc/html/class_me_port.html new file mode 100644 index 00000000..8d2a319a --- /dev/null +++ b/doc/html/class_me_port.html @@ -0,0 +1,924 @@ + + + + + + + +MakeBlock Drive Updated: MePort Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +

Port Mapping for RJ25. + More...

+ +

#include <src/MePort.h>

+
+Inheritance diagram for MePort:
+
+
Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + +

+Protected Attributes

uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Port Mapping for RJ25.

+

Class: MePort

+
Description
Declaration of Class MePort
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MePort() [1/3]

+ +
+
+ + + + + + + + +
MePort::MePort (void )
+
+

Alternate Constructor which can call your own function to map the MePort to arduino port, no pins are used or initialized here

+ +
+
+ +

◆ MePort() [2/3]

+ +
+
+ + + + + + + + +
MePort::MePort (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MePort to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MePort() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MePort::MePort (uint8_t port,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the MePort to arduino port, no pins are used or initialized here, but PWM frequency set to 976 Hz

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ aRead1()

+ +
+
+ + + + + + + + +
int16_t MePort::aRead1 (void )
+
+
Function
aRead1
+
Description
Read the analog value on slot1 of current RJ25 object's port
+
Output
None
+
Returns
Analog value from 0-1023
+
Others
None
+ +
+
+ +

◆ aRead2()

+ +
+
+ + + + + + + + +
int16_t MePort::aRead2 (void )
+
+
Function
aRead2
+
Description
Read the analog value on slot2 of current RJ25 object's port
+
Output
None
+
Returns
Analog value from 0-1023
+
Others
None
+ +
+
+ +

◆ aWrite1()

+ +
+
+ + + + + + + + +
void MePort::aWrite1 (int16_t value)
+
+
Function
aWrite1
+
Description
Set the PWM output value on slot1 of current RJ25 object's port
+
Parameters
+ + +
[in]value- Analog value between 0 to 255
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ aWrite2()

+ +
+
+ + + + + + + + +
void MePort::aWrite2 (int16_t value)
+
+
Function
aWrite2
+
Description
Set the PWM output value on slot2 of current RJ25 object's port
+
Parameters
+ + +
[in]value- Analog value between 0 to 255
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ dpRead1()

+ +
+
+ + + + + + + + +
bool MePort::dpRead1 (void )
+
+
Function
dpRead1
+
Description
Read the digital input value on slot1 of current RJ25 object's port, the input mode set as INPUT_PULLUP.
+
Output
None
+
Returns
Digital input value
+
Others
None
+ +
+
+ +

◆ dpRead2()

+ +
+
+ + + + + + + + +
bool MePort::dpRead2 (void )
+
+
Function
dpRead2
+
Description
Read the digital input value on slot2 of current RJ25 object's port, the input mode set as INPUT_PULLUP.
+
Output
None
+
Returns
Digital input value
+
Others
None
+ +
+
+ +

◆ dRead1()

+ +
+
+ + + + + + + + +
bool MePort::dRead1 (uint8_t mode = INPUT)
+
+
Function
dRead1
+
Description
Read the digital input value on slot1 of current RJ25 object's port
+
Parameters
+ + +
[in]mode- digital input mode INPUT or INPUT_PULLUP
+
+
+
Output
None
+
Returns
Digital input value
+
Others
None
+ +
+
+ +

◆ dRead2()

+ +
+
+ + + + + + + + +
bool MePort::dRead2 (uint8_t mode = INPUT)
+
+
Function
dRead2
+
Description
Read the digital input value on slot2 of current RJ25 object's port
+
Parameters
+ + +
[in]mode- digital input mode INPUT or INPUT_PULLUP
+
+
+
Output
None
+
Returns
Digital input value
+
Others
None
+ +
+
+ +

◆ dWrite1()

+ +
+
+ + + + + + + + +
void MePort::dWrite1 (bool value)
+
+
Function
dWrite1
+
Description
Set the digital output value on slot1 of current RJ25 object's port
+
Parameters
+ + +
[in]value- digital output value HIGH or LOW
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ dWrite2()

+ +
+
+ + + + + + + + +
void MePort::dWrite2 (bool value)
+
+
Function
dWrite2
+
Description
Set the digital output value on slot2 of current RJ25 object's port
+
Parameters
+ + +
[in]value- digital output value HIGH or LOW
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ getPort()

+ +
+
+ + + + + + + + +
uint8_t MePort::getPort (void )
+
+
Function
getPort
+
Description
Get current valid port of current RJ25 object
+
Output
None
+
Returns
Port bumber from PORT_1 to M2
+
Others
None
+ +
+
+ +

◆ getSlot()

+ +
+
+ + + + + + + + +
uint8_t MePort::getSlot (void )
+
+
Function
getSlot
+
Description
Get current valid slot of current RJ25 object's port
+
Output
None
+
Returns
Slot bumber SLOT1 or SLOT2
+
Others
None
+ +
+
+ +

◆ pin() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t MePort::pin (uint8_t port,
uint8_t slot 
)
+
+
Function
pin
+
Description
Return the arduino pin number of current RJ25 object's port
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
The PIN number of arduino
+
Others
None
+ +
+
+ +

◆ pin() [2/2]

+ +
+
+ + + + + + + + +
uint8_t MePort::pin (void )
+
+
Function
pin
+
Description
Return the arduino pin number of current RJ25 object's port, if the RJ25 module have one available PIN.
+
Output
None
+
Returns
The PIN number of arduino
+
Others
None
+ +
+
+ +

◆ pin1()

+ +
+
+ + + + + + + + +
uint8_t MePort::pin1 (void )
+
+
Function
pin1
+
Description
Return the arduino pin number of current RJ25 object's slot1
+
Output
None
+
Returns
The PIN number of arduino
+
Others
None
+ +
+
+ +

◆ pin2()

+ +
+
+ + + + + + + + +
uint8_t MePort::pin2 (void )
+
+
Function
pin2
+
Description
Return the arduino pin number of current RJ25 object's slot2
+
Output
None
+
Returns
The PIN number of arduino
+
Others
None
+ +
+
+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MePort::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the RJ25 available PIN by its port
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MePort::reset (uint8_t port,
uint8_t slot 
)
+
+
Function
reset
+
Description
Reset the RJ25 available PIN by its port and slot
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+

Member Data Documentation

+ +

◆ _port

+ +
+
+ + + + + +
+ + + + +
uint8_t MePort::_port
+
+protected
+
+
Description
Variables used to store the port
+ +
+
+ +

◆ _slot

+ +
+
+ + + + + +
+ + + + +
uint8_t MePort::_slot
+
+protected
+
+
Description
Variables used to store the slot
+ +
+
+ +

◆ s1

+ +
+
+ + + + + +
+ + + + +
uint8_t MePort::s1
+
+protected
+
+
Description
Variables used to store the slot1 gpio number
+ +
+
+ +

◆ s2

+ +
+
+ + + + + +
+ + + + +
uint8_t MePort::s2
+
+protected
+
+
Description
Variables used to store the slot2 gpio number
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_port.js b/doc/html/class_me_port.js new file mode 100644 index 00000000..9aa0377a --- /dev/null +++ b/doc/html/class_me_port.js @@ -0,0 +1,28 @@ +var class_me_port = +[ + [ "MePort", "class_me_port.html#ae4b9e8e718b626d0ce4017a430878210", null ], + [ "MePort", "class_me_port.html#a7a1d7cdf061740148cd893ba481420a3", null ], + [ "MePort", "class_me_port.html#a1458b606f98da409d7ab4fa7d09c6816", null ], + [ "aRead1", "class_me_port.html#acfd28b1ab8cc6af5bf8223446022525c", null ], + [ "aRead2", "class_me_port.html#a63709dcbe9850c0d3baec1fed72809bf", null ], + [ "aWrite1", "class_me_port.html#adb4d7959f2059bf9986a8e5a631988ae", null ], + [ "aWrite2", "class_me_port.html#a3834f0f30618ec31789d524dd367e44f", null ], + [ "dpRead1", "class_me_port.html#aabcb0e1dc89942cf302b8cbac2cbd0a5", null ], + [ "dpRead2", "class_me_port.html#a2e4b6faf3e9494e819ccee47dfb8010e", null ], + [ "dRead1", "class_me_port.html#a8b7b990f5fa85dfc28f7f3d0d7ba46b9", null ], + [ "dRead2", "class_me_port.html#ab4fd13565335bd781da8f44bae803031", null ], + [ "dWrite1", "class_me_port.html#a9d5f60427202c26bc8da4b1e6a66c5c2", null ], + [ "dWrite2", "class_me_port.html#a0d9ee041f8361f45bcc83bed9577415f", null ], + [ "getPort", "class_me_port.html#a8d9ca22e35477573b27c4165ac61def0", null ], + [ "getSlot", "class_me_port.html#a4c73dec349340e958b9567b06fa6f27c", null ], + [ "pin", "class_me_port.html#a637d42b5a62d655b8517bc8a363206f3", null ], + [ "pin", "class_me_port.html#aea7dad0142d940c0395b1782fe5adeae", null ], + [ "pin1", "class_me_port.html#a1ed16a0f863a618cc9f32b27015107e7", null ], + [ "pin2", "class_me_port.html#a8a1b3cd06dffbb48d40c3adf25011803", null ], + [ "reset", "class_me_port.html#a7b82ce913d98ecff906569d795073892", null ], + [ "reset", "class_me_port.html#a91e3cca62e5f8fffead56f8104488d4d", null ], + [ "_port", "class_me_port.html#adc9cdd4e574061d41244fc662974544f", null ], + [ "_slot", "class_me_port.html#a4159543b593b047cd82fedab30b178b7", null ], + [ "s1", "class_me_port.html#ab5295b9e84ecedf3f93ab47cf8f10284", null ], + [ "s2", "class_me_port.html#a6c09cece23372a6ab340512a0db3e37d", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_port.png b/doc/html/class_me_port.png new file mode 100644 index 00000000..f26095b3 Binary files /dev/null and b/doc/html/class_me_port.png differ diff --git a/doc/html/class_me_port__inherit__graph.map b/doc/html/class_me_port__inherit__graph.map new file mode 100644 index 00000000..e8cc182e --- /dev/null +++ b/doc/html/class_me_port__inherit__graph.map @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/class_me_port__inherit__graph.md5 b/doc/html/class_me_port__inherit__graph.md5 new file mode 100644 index 00000000..7f0bc760 --- /dev/null +++ b/doc/html/class_me_port__inherit__graph.md5 @@ -0,0 +1 @@ +80ef6c1162d19b9f7ca83511c2d1f5f6 \ No newline at end of file diff --git a/doc/html/class_me_port__inherit__graph.png b/doc/html/class_me_port__inherit__graph.png new file mode 100644 index 00000000..6f4290ab Binary files /dev/null and b/doc/html/class_me_port__inherit__graph.png differ diff --git a/doc/html/class_me_potentiometer-members.html b/doc/html/class_me_potentiometer-members.html new file mode 100644 index 00000000..fefa9db3 --- /dev/null +++ b/doc/html/class_me_potentiometer-members.html @@ -0,0 +1,137 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePotentiometer Member List
+
+
+ +

This is the complete list of members for MePotentiometer, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MePotentiometer(void)MePotentiometer
MePotentiometer(uint8_t port)MePotentiometer
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
read(void)MePotentiometer
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t potentiometerPin)MePotentiometer
+
+ + + + diff --git a/doc/html/class_me_potentiometer.html b/doc/html/class_me_potentiometer.html new file mode 100644 index 00000000..b9cfc232 --- /dev/null +++ b/doc/html/class_me_potentiometer.html @@ -0,0 +1,317 @@ + + + + + + + +MakeBlock Drive Updated: MePotentiometer Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePotentiometer Class Reference
+
+
+ +

Driver for Me potentiometer module. + More...

+ +

#include <src/MePotentiometer.h>

+
+Inheritance diagram for MePotentiometer:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MePotentiometer:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MePotentiometer (void)
 
 MePotentiometer (uint8_t port)
 
void setpin (uint8_t potentiometerPin)
 
uint16_t read (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me potentiometer module.

+

Class: MePotentiometer

Description
Declaration of Class MePotentiometer.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MePotentiometer() [1/2]

+ +
+
+ + + + + + + + +
MePotentiometer::MePotentiometer (void )
+
+

Alternate Constructor which can call your own function to map the Me potentiometer device to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MePotentiometer() [2/2]

+ +
+
+ + + + + + + + +
MePotentiometer::MePotentiometer (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Me potentiometer device to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ read()

+ +
+
+ + + + + + + + +
uint16_t MePotentiometer::read (void )
+
+
Function
read()
+
Description
Read DAC value of Me potentiometer module.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
The value of potentiometer device(0-1024)
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MePotentiometer::setpin (uint8_t potentiometerPin)
+
+
Function
setpin
+
Description
Reset the potentiometer device available PIN by its arduino port.
+
Parameters
+ + +
[in]potentiometerPin- arduino port for potentiometer output port
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_potentiometer.js b/doc/html/class_me_potentiometer.js new file mode 100644 index 00000000..fb726edd --- /dev/null +++ b/doc/html/class_me_potentiometer.js @@ -0,0 +1,7 @@ +var class_me_potentiometer = +[ + [ "MePotentiometer", "class_me_potentiometer.html#add2858c8d9ea25a49f498be2fe33785d", null ], + [ "MePotentiometer", "class_me_potentiometer.html#ac21a8e502a18305cfbf967daa54121c9", null ], + [ "read", "class_me_potentiometer.html#a10026bd4d880b63d8bd4b06834e2a115", null ], + [ "setpin", "class_me_potentiometer.html#aeab20b74c2e17d9c150a1d102a0c5df4", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_potentiometer.png b/doc/html/class_me_potentiometer.png new file mode 100644 index 00000000..a1523d47 Binary files /dev/null and b/doc/html/class_me_potentiometer.png differ diff --git a/doc/html/class_me_potentiometer__coll__graph.map b/doc/html/class_me_potentiometer__coll__graph.map new file mode 100644 index 00000000..17f4cb5c --- /dev/null +++ b/doc/html/class_me_potentiometer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_potentiometer__coll__graph.md5 b/doc/html/class_me_potentiometer__coll__graph.md5 new file mode 100644 index 00000000..c9399e99 --- /dev/null +++ b/doc/html/class_me_potentiometer__coll__graph.md5 @@ -0,0 +1 @@ +79813f9e16e9cc03f593cf6956da875e \ No newline at end of file diff --git a/doc/html/class_me_potentiometer__coll__graph.png b/doc/html/class_me_potentiometer__coll__graph.png new file mode 100644 index 00000000..602346a1 Binary files /dev/null and b/doc/html/class_me_potentiometer__coll__graph.png differ diff --git a/doc/html/class_me_potentiometer__inherit__graph.map b/doc/html/class_me_potentiometer__inherit__graph.map new file mode 100644 index 00000000..17f4cb5c --- /dev/null +++ b/doc/html/class_me_potentiometer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_potentiometer__inherit__graph.md5 b/doc/html/class_me_potentiometer__inherit__graph.md5 new file mode 100644 index 00000000..c9399e99 --- /dev/null +++ b/doc/html/class_me_potentiometer__inherit__graph.md5 @@ -0,0 +1 @@ +79813f9e16e9cc03f593cf6956da875e \ No newline at end of file diff --git a/doc/html/class_me_potentiometer__inherit__graph.png b/doc/html/class_me_potentiometer__inherit__graph.png new file mode 100644 index 00000000..602346a1 Binary files /dev/null and b/doc/html/class_me_potentiometer__inherit__graph.png differ diff --git a/doc/html/class_me_pressure_sensor-members.html b/doc/html/class_me_pressure_sensor-members.html new file mode 100644 index 00000000..e4ef5d9d --- /dev/null +++ b/doc/html/class_me_pressure_sensor-members.html @@ -0,0 +1,116 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MePressureSensor Member List
+
+
+ +

This is the complete list of members for MePressureSensor, including all inherited members.

+ + + + + + + + + +
begin(uint8_t mode=BMP180_ULTRAHIGHRES) (defined in MePressureSensor)MePressureSensor
MePressureSensor() (defined in MePressureSensor)MePressureSensor
readAltitude(float sealevelPressure=101325) (defined in MePressureSensor)MePressureSensor
readPressure(void) (defined in MePressureSensor)MePressureSensor
readRawPressure(void) (defined in MePressureSensor)MePressureSensor
readRawTemperature(void) (defined in MePressureSensor)MePressureSensor
readSealevelPressure(float altitude_meters=0) (defined in MePressureSensor)MePressureSensor
readTemperature(void) (defined in MePressureSensor)MePressureSensor
+
+ + + + diff --git a/doc/html/class_me_pressure_sensor.html b/doc/html/class_me_pressure_sensor.html new file mode 100644 index 00000000..21975ae0 --- /dev/null +++ b/doc/html/class_me_pressure_sensor.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: MePressureSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MePressureSensor Class Reference
+
+
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+boolean begin (uint8_t mode=BMP180_ULTRAHIGHRES)
 
+float readTemperature (void)
 
+int32_t readPressure (void)
 
+int32_t readSealevelPressure (float altitude_meters=0)
 
+float readAltitude (float sealevelPressure=101325)
 
+uint16_t readRawTemperature (void)
 
+uint32_t readRawPressure (void)
 
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_r_g_b_led-members.html b/doc/html/class_me_r_g_b_led-members.html new file mode 100644 index 00000000..c900d07a --- /dev/null +++ b/doc/html/class_me_r_g_b_led-members.html @@ -0,0 +1,148 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeRGBLed Member List
+
+
+ +

This is the complete list of members for MeRGBLed, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue)MeRGBLed
getColorAt(uint8_t index)MeRGBLed
getNumber(void)MeRGBLed
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeRGBLed(void)MeRGBLed
MeRGBLed(uint8_t port)MeRGBLed
MeRGBLed(uint8_t port, uint8_t led_num)MeRGBLed
MeRGBLed(uint8_t port, uint8_t slot, uint8_t led_num)MeRGBLed
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeRGBLed
reset(uint8_t port, uint8_t slot)MeRGBLed
s1MePortprotected
s2MePortprotected
setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)MeRGBLed
setColor(uint8_t red, uint8_t green, uint8_t blue)MeRGBLed
setColor(uint8_t index, long value)MeRGBLed
setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)MeRGBLed
setNumber(uint8_t num_led)MeRGBLed
setpin(uint8_t port)MeRGBLed
show(void)MeRGBLed
~MeRGBLed(void)MeRGBLed
+
+ + + + diff --git a/doc/html/class_me_r_g_b_led.html b/doc/html/class_me_r_g_b_led.html new file mode 100644 index 00000000..649b22bd --- /dev/null +++ b/doc/html/class_me_r_g_b_led.html @@ -0,0 +1,826 @@ + + + + + + + +MakeBlock Drive Updated: MeRGBLed Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeRGBLed Class Reference
+
+
+ +

Driver for W2812 full-color LED. + More...

+ +

#include <src/MeRGBLed.h>

+
+Inheritance diagram for MeRGBLed:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeRGBLed:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeRGBLed (void)
 
 MeRGBLed (uint8_t port)
 
 MeRGBLed (uint8_t port, uint8_t led_num)
 
 MeRGBLed (uint8_t port, uint8_t slot, uint8_t led_num)
 
 ~MeRGBLed (void)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
void setpin (uint8_t port)
 
uint8_t getNumber (void)
 
cRGB getColorAt (uint8_t index)
 
void fillPixelsBak (uint8_t red, uint8_t green, uint8_t blue)
 
bool setColorAt (uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
 
bool setColor (uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
 
bool setColor (uint8_t red, uint8_t green, uint8_t blue)
 
bool setColor (uint8_t index, long value)
 
void setNumber (uint8_t num_led)
 
void show (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for W2812 full-color LED.

+

Driver for W2812 full-color LED lights.

+

Class: MeRGBLed

+
Description
Declaration of Class MeRGBLed
+
Copyright (C), 2014-2018, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeRGBLed() [1/4]

+ +
+
+ + + + + + + + +
MeRGBLed::MeRGBLed (void )
+
+

Alternate Constructor which can call your own function to map the MeRGBLed to arduino port, no pins are used or initialized here, it only assigned the LED display buffer. The default number of light strips is 32.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeRGBLed() [2/4]

+ +
+
+ + + + + + + + +
MeRGBLed::MeRGBLed (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeRGBLed to arduino port, it will assigned the LED display buffer and initialization the GPIO of LED lights. The slot2 will be used here, and the default number of light strips is 32.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeRGBLed() [3/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeRGBLed::MeRGBLed (uint8_t port,
uint8_t led_num 
)
+
+

Alternate Constructor which can call your own function to map the MeRGBLed to arduino port, it will assigned the LED display buffer and initialization the GPIO of LED lights. The slot2 will be used here, you can reset the LED number by this constructor.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]led_num- The LED number
+
+
+ +
+
+ +

◆ MeRGBLed() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
MeRGBLed::MeRGBLed (uint8_t port,
uint8_t slot,
uint8_t led_num 
)
+
+

Alternate Constructor which can call your own function to map the MeRGBLed to arduino port, it will assigned the LED display buffer and initialization the GPIO of LED lights. You can set any slot for the LED data PIN, and reset the LED number by this constructor.

Parameters
+ + + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
[in]led_num- The LED number
+
+
+ +
+
+ +

◆ ~MeRGBLed()

+ +
+
+ + + + + + + + +
MeRGBLed::~MeRGBLed (void )
+
+

Destructor which can call your own function, it will release the LED buffer

+ +
+
+

Member Function Documentation

+ +

◆ fillPixelsBak()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeRGBLed::fillPixelsBak (uint8_t red,
uint8_t green,
uint8_t blue 
)
+
+
Function
fillPixelsBak
+
Description
fill the LED color data to pixels_bak.
+
Parameters
+ + + + +
[in]red- Red values
[in]green- green values
[in]blue- blue values
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ getColorAt()

+ +
+
+ + + + + + + + +
cRGB MeRGBLed::getColorAt (uint8_t index)
+
+
Function
getColorAt
+
Description
Get the LED color value from its index
+
Parameters
+ + +
[in]index- The LED index number you want to read its value
+
+
+
Output
None
+
Returns
The LED color value, include the R,G,B
+
Others
The index value from 1 to the max
+ +
+
+ +

◆ getNumber()

+ +
+
+ + + + + + + + +
uint8_t MeRGBLed::getNumber (void )
+
+
Function
getNumber
+
Description
Get the LED number you can light it.
+
Output
None
+
Returns
The total number of LED's
+
Others
The index value from 1 to the max
+ +
+
+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MeRGBLed::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the LED available data PIN by its RJ25 port, and slot2 will be used as default.
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeRGBLed::reset (uint8_t port,
uint8_t slot 
)
+
+
Function
reset
+
Description
Reset the LED available data PIN by its RJ25 port and slot.
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setColor() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool MeRGBLed::setColor (uint8_t index,
long value 
)
+
+
Function
setColor
+
Description
Set the LED color for any LED.
+
Parameters
+ + +
[in]value- the LED color defined as long type, for example (white) = 0xFFFFFF
+
+
+
Output
None
+
Returns
TRUE: Successful implementation FALSE: Wrong execution
+
Others
The index value from 1 to the max, if you set the index 0, all the LED will be lit
+ +
+
+ +

◆ setColor() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool MeRGBLed::setColor (uint8_t index,
uint8_t red,
uint8_t green,
uint8_t blue 
)
+
+
Function
setColor
+
Description
Set the LED color for any LED.
+
Parameters
+ + + + + +
[in]index- The LED index number you want to set its color
[in]red- Red values
[in]green- green values
[in]blue- blue values
+
+
+
Output
None
+
Returns
TRUE: Successful implementation FALSE: Wrong execution
+
Others
The index value from 1 to the max, if you set the index 0, all the LED will be lit
+ +
+
+ +

◆ setColor() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool MeRGBLed::setColor (uint8_t red,
uint8_t green,
uint8_t blue 
)
+
+
Function
setColor
+
Description
Set the LED color for all LED.
+
Parameters
+ + + + +
[in]red- Red values
[in]green- green values
[in]blue- blue values
+
+
+
Output
None
+
Returns
TRUE: Successful implementation FALSE: Wrong execution
+
Others
All the LED will be lit.
+ +
+
+ +

◆ setColorAt()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool MeRGBLed::setColorAt (uint8_t index,
uint8_t red,
uint8_t green,
uint8_t blue 
)
+
+
Function
setColorAt
+
Description
Set the LED color for any LED.
+
Parameters
+ + + + + +
[in]index- The LED index number you want to set its color
[in]red- Red values
[in]green- green values
[in]blue- blue values
+
+
+
Output
None
+
Returns
TRUE: Successful implementation FALSE: Wrong execution
+
Others
The index value from 0 to the max.
+ +
+
+ +

◆ setNumber()

+ +
+
+ + + + + + + + +
void MeRGBLed::setNumber (uint8_t num_leds)
+
+
Function
setNumber
+
Description
Assigned the LED display buffer by the LED number
+
Parameters
+ + +
[in]num_leds- The LED number you used
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeRGBLed::setpin (uint8_t port)
+
+
Function
setpin
+
Description
Reset the LED available data PIN by its arduino port.
+
Parameters
+ + +
[in]port- arduino port(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ show()

+ +
+
+ + + + + + + + +
void MeRGBLed::show (void )
+
+
Function
show
+
Description
Transmission the data to WS2812
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_r_g_b_led.js b/doc/html/class_me_r_g_b_led.js new file mode 100644 index 00000000..328104f7 --- /dev/null +++ b/doc/html/class_me_r_g_b_led.js @@ -0,0 +1,20 @@ +var class_me_r_g_b_led = +[ + [ "MeRGBLed", "class_me_r_g_b_led.html#addbe094cefa309fc7a5486f13ba628c0", null ], + [ "MeRGBLed", "class_me_r_g_b_led.html#ac6bf6ad922bb2e0cb2b1d0763dd25348", null ], + [ "MeRGBLed", "class_me_r_g_b_led.html#a6204f460f613534e783318e7a8e9039d", null ], + [ "MeRGBLed", "class_me_r_g_b_led.html#a5f7c3954ceb5ec785dd6fcb6f64e76ab", null ], + [ "~MeRGBLed", "class_me_r_g_b_led.html#a211af5eeebf2b79f6bc1ba5102a89523", null ], + [ "fillPixelsBak", "class_me_r_g_b_led.html#a25ae4338ba5b885746560fa277c065ba", null ], + [ "getColorAt", "class_me_r_g_b_led.html#a2bf63b839691eed62c9a0eac076b290d", null ], + [ "getNumber", "class_me_r_g_b_led.html#a68784e19385f21058f9b4ffddba82b4d", null ], + [ "reset", "class_me_r_g_b_led.html#a030e1f328cd19061104369868d5d1b1c", null ], + [ "reset", "class_me_r_g_b_led.html#a08ac8295d2a090a51069f404fd375b29", null ], + [ "setColor", "class_me_r_g_b_led.html#a04c16004bb6035a004eb5b8042f4aa14", null ], + [ "setColor", "class_me_r_g_b_led.html#ab7a91e9e4cfe48f1f38bd6ca25953834", null ], + [ "setColor", "class_me_r_g_b_led.html#a921b6b54e13ffcb8b4d55a830d6cd28e", null ], + [ "setColorAt", "class_me_r_g_b_led.html#a31f967cfa254d0943b5712925dc381b8", null ], + [ "setNumber", "class_me_r_g_b_led.html#ac80f183e41fb3d860ac7100e0639390f", null ], + [ "setpin", "class_me_r_g_b_led.html#a8dfb56420333855fee707db26ede3b7e", null ], + [ "show", "class_me_r_g_b_led.html#ac3d66e93ecd6dadc953d71e24728c26a", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_r_g_b_led.png b/doc/html/class_me_r_g_b_led.png new file mode 100644 index 00000000..c93f2dde Binary files /dev/null and b/doc/html/class_me_r_g_b_led.png differ diff --git a/doc/html/class_me_r_g_b_led__coll__graph.map b/doc/html/class_me_r_g_b_led__coll__graph.map new file mode 100644 index 00000000..029dae1c --- /dev/null +++ b/doc/html/class_me_r_g_b_led__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_r_g_b_led__coll__graph.md5 b/doc/html/class_me_r_g_b_led__coll__graph.md5 new file mode 100644 index 00000000..1613e7e1 --- /dev/null +++ b/doc/html/class_me_r_g_b_led__coll__graph.md5 @@ -0,0 +1 @@ +8312de24efc49c04366cbf0507500137 \ No newline at end of file diff --git a/doc/html/class_me_r_g_b_led__coll__graph.png b/doc/html/class_me_r_g_b_led__coll__graph.png new file mode 100644 index 00000000..0b6e80e7 Binary files /dev/null and b/doc/html/class_me_r_g_b_led__coll__graph.png differ diff --git a/doc/html/class_me_r_g_b_led__inherit__graph.map b/doc/html/class_me_r_g_b_led__inherit__graph.map new file mode 100644 index 00000000..029dae1c --- /dev/null +++ b/doc/html/class_me_r_g_b_led__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_r_g_b_led__inherit__graph.md5 b/doc/html/class_me_r_g_b_led__inherit__graph.md5 new file mode 100644 index 00000000..1613e7e1 --- /dev/null +++ b/doc/html/class_me_r_g_b_led__inherit__graph.md5 @@ -0,0 +1 @@ +8312de24efc49c04366cbf0507500137 \ No newline at end of file diff --git a/doc/html/class_me_r_g_b_led__inherit__graph.png b/doc/html/class_me_r_g_b_led__inherit__graph.png new file mode 100644 index 00000000..0b6e80e7 Binary files /dev/null and b/doc/html/class_me_r_g_b_led__inherit__graph.png differ diff --git a/doc/html/class_me_serial-members.html b/doc/html/class_me_serial-members.html new file mode 100644 index 00000000..0d4e692a --- /dev/null +++ b/doc/html/class_me_serial-members.html @@ -0,0 +1,171 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSerial Member List
+
+
+ +

This is the complete list of members for MeSerial, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeSerialvirtual
readDataLine(void) (defined in MeSerial)MeSerial
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_serial.html b/doc/html/class_me_serial.html new file mode 100644 index 00000000..e479c4a8 --- /dev/null +++ b/doc/html/class_me_serial.html @@ -0,0 +1,755 @@ + + + + + + + +MakeBlock Drive Updated: MeSerial Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +

Driver for serial. + More...

+ +

#include <src/MeSerial.h>

+
+Inheritance diagram for MeSerial:
+
+
Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeSerial:
+
+
Collaboration graph
+ + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+ + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
+

Detailed Description

+

Driver for serial.

+

Class: MeSerial

Description
Declaration of Class MeSerial.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeSerial() [1/3]

+ +
+
+ + + + + + + + +
MeSerial::MeSerial (void )
+
+

Alternate Constructor which can call your own function to map the serial to arduino port, no pins are used or initialized here. hardware serial will be used by default.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeSerial() [2/3]

+ +
+
+ + + + + + + + +
MeSerial::MeSerial (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the serial to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeSerial() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
MeSerial::MeSerial (uint8_t receivePin,
uint8_t transmitPin,
bool inverse_logic = false 
)
+
+

Alternate Constructor which can call your own function to map the serial to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + + + +
[in]receivePin- the rx pin of serial(arduino port)
[in]transmitPin- the tx pin of serial(arduino port)
[in]inverse_logic- Whether the Serial level need inv.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ available()

+ +
+
+ + + + + +
+ + + + + + + + +
int16_t MeSerial::available (void )
+
+virtual
+
+
Function
available
+
Description
Get the number of bytes (characters) available for reading from a software serial port. This is data that's already arrived and stored in the serial receive buffer.
+
Output
None
+
Returns
The number of bytes available to read
+
Others
None
+ +

Reimplemented from SoftwareSerial.

+ +
+
+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeSerial::begin (long baudrate)
+
+
Function
begin
+
Description
Sets the speed (baud rate) for the serial communication. Supported baud rates are 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 31250, 38400, 57600, and 115200.
+
Parameters
+ + +
[in]baudrate- he baud rate (long)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ end()

+ +
+
+ + + + + + + + +
void MeSerial::end (void )
+
+
Function
end
+
Description
Stop listening and release the object
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ isListening()

+ +
+
+ + + + + + + + +
bool MeSerial::isListening (void )
+
+
Function
isListening
+
Description
Tests to see if requested software serial port is actively listening.
+
Output
None
+
Returns
Returns true if we were actually listening.
+
Others
None
+ +
+
+ +

◆ listen()

+ +
+
+ + + + + + + + +
bool MeSerial::listen (void )
+
+
Function
listen
+
Description
Enables the selected software serial port to listen, used for software serial. Only one software serial port can listen at a time; data that arrives for other ports will be discarded. Any data already received is discarded during the call to listen() (unless the given instance is already listening).
+
Output
None
+
Returns
This function sets the current object as the "listening" one and returns true if it replaces another
+
Others
None
+ +
+
+ +

◆ poll()

+ +
+
+ + + + + + + + +
int16_t MeSerial::poll (void )
+
+
Function
poll
+
Description
If we used the serial as software serial port, and set the _polling mask true. we beed use this function to read the serial data.
+
Output
None
+
Returns
The character read, or -1 if none is available
+
Others
None
+ +
+
+ +

◆ printf()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeSerial::printf (char * fmt,
 ... 
)
+
+
Function
printf
+
Description
Printf format string (of which "printf" stands for "print formatted") refers to a control parameter used by a class of functions in the string-processing libraries of various programming languages.
+
Parameters
+ + +
[in]fmt- A string that specifies the format of the output. The formatting string determines what additional arguments you need to provide.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ read()

+ +
+
+ + + + + +
+ + + + + + + + +
int16_t MeSerial::read (void )
+
+virtual
+
+
Function
read
+
Description
Return a character that was received on the RX pin of the software serial port. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function).
+
Output
None
+
Returns
The character read, or -1 if none is available
+
Others
None
+ +

Reimplemented from SoftwareSerial.

+ +

Reimplemented in MeVoice.

+ +
+
+ +

◆ sendString()

+ +
+
+ + + + + + + + +
void MeSerial::sendString (char * str)
+
+
Function
sendString
+
Description
Send a string as a series of bytes, used for printf().
+
Parameters
+ + +
[in]str- A string to send as a series of bytes
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setHardware()

+ +
+
+ + + + + + + + +
void MeSerial::setHardware (bool mode)
+
+
Function
setHardware
+
Description
if need change the hardware and software serial, this function can be used.
+
Parameters
+ + +
[in]mode- if need use hardware serial this value should set to true, or set it false.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ write()

+ +
+
+ + + + + +
+ + + + + + + + +
size_t MeSerial::write (uint8_t byte)
+
+virtual
+
+
Function
write
+
Description
Writes binary data to the serial port. This data is sent as a byte or series of bytes;
+
Parameters
+ + +
[in]byte- a value to send as a single byte
+
+
+
Output
None
+
Returns
it will return the number of bytes written, though reading that number is optional
+
Others
None
+ +

Reimplemented from SoftwareSerial.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_serial.js b/doc/html/class_me_serial.js new file mode 100644 index 00000000..80040055 --- /dev/null +++ b/doc/html/class_me_serial.js @@ -0,0 +1,17 @@ +var class_me_serial = +[ + [ "MeSerial", "class_me_serial.html#aaa113d4dc7bf62acae7b7ca559c23245", null ], + [ "MeSerial", "class_me_serial.html#a63ac4943dae1b910fd627758ba0c20a2", null ], + [ "MeSerial", "class_me_serial.html#a06d4cb2f572533e9b1414cc1e6d4929b", null ], + [ "available", "class_me_serial.html#a4b784a1b24df5e06f208d697e9e1ed3f", null ], + [ "begin", "class_me_serial.html#a2e491a6206475d8d254a785043e0de22", null ], + [ "end", "class_me_serial.html#abd68e3efb8adfcc71089dadbd4acd143", null ], + [ "isListening", "class_me_serial.html#a4c4af893caafb362da7906ddabe16327", null ], + [ "listen", "class_me_serial.html#a5dd4784d18202db78fb8333afd97c031", null ], + [ "poll", "class_me_serial.html#a721bd751d68b01eeafd206163eab10a4", null ], + [ "printf", "class_me_serial.html#a30bae57ed633a2b7c8a41ff0de0a6679", null ], + [ "read", "class_me_serial.html#a00be49316c437fdb4615c4e40869ff60", null ], + [ "sendString", "class_me_serial.html#ab4d91285ca3d044f73793137cc1ff3cd", null ], + [ "setHardware", "class_me_serial.html#a73dde79161f876956fd6d070f14510d3", null ], + [ "write", "class_me_serial.html#ad28782e0bebe4255a8ba7995957176e6", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_serial.png b/doc/html/class_me_serial.png new file mode 100644 index 00000000..edcaf7ee Binary files /dev/null and b/doc/html/class_me_serial.png differ diff --git a/doc/html/class_me_serial__coll__graph.map b/doc/html/class_me_serial__coll__graph.map new file mode 100644 index 00000000..80a52141 --- /dev/null +++ b/doc/html/class_me_serial__coll__graph.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/class_me_serial__coll__graph.md5 b/doc/html/class_me_serial__coll__graph.md5 new file mode 100644 index 00000000..3c9808ce --- /dev/null +++ b/doc/html/class_me_serial__coll__graph.md5 @@ -0,0 +1 @@ +9e48cf06cd6242a330d61f00b480a4cc \ No newline at end of file diff --git a/doc/html/class_me_serial__coll__graph.png b/doc/html/class_me_serial__coll__graph.png new file mode 100644 index 00000000..e366779a Binary files /dev/null and b/doc/html/class_me_serial__coll__graph.png differ diff --git a/doc/html/class_me_serial__inherit__graph.map b/doc/html/class_me_serial__inherit__graph.map new file mode 100644 index 00000000..a372a636 --- /dev/null +++ b/doc/html/class_me_serial__inherit__graph.map @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/class_me_serial__inherit__graph.md5 b/doc/html/class_me_serial__inherit__graph.md5 new file mode 100644 index 00000000..dfe1bf87 --- /dev/null +++ b/doc/html/class_me_serial__inherit__graph.md5 @@ -0,0 +1 @@ +edd454ddfff66e062edabee8e5207ad2 \ No newline at end of file diff --git a/doc/html/class_me_serial__inherit__graph.png b/doc/html/class_me_serial__inherit__graph.png new file mode 100644 index 00000000..0bd726ee Binary files /dev/null and b/doc/html/class_me_serial__inherit__graph.png differ diff --git a/doc/html/class_me_shutter-members.html b/doc/html/class_me_shutter-members.html new file mode 100644 index 00000000..d6ddcfc5 --- /dev/null +++ b/doc/html/class_me_shutter-members.html @@ -0,0 +1,141 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeShutter Member List
+
+
+ +

This is the complete list of members for MeShutter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
focusOff(void)MeShutter
focusOn(void)MeShutter
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeShutter(void)MeShutter
MeShutter(uint8_t port)MeShutter
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t ShotPin, uint8_t FocusPin)MeShutter
setState(uint8_t state)MeShutter
shotOff(void)MeShutter
shotOn(void)MeShutter
+
+ + + + diff --git a/doc/html/class_me_shutter.html b/doc/html/class_me_shutter.html new file mode 100644 index 00000000..4a49eead --- /dev/null +++ b/doc/html/class_me_shutter.html @@ -0,0 +1,432 @@ + + + + + + + +MakeBlock Drive Updated: MeShutter Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeShutter Class Reference
+
+
+ +

Driver for Me Shutter device. + More...

+ +

#include <src/MeShutter.h>

+
+Inheritance diagram for MeShutter:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeShutter:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeShutter (void)
 
 MeShutter (uint8_t port)
 
void setpin (uint8_t ShotPin, uint8_t FocusPin)
 
void shotOn (void)
 
void shotOff (void)
 
void focusOn (void)
 
void focusOff (void)
 
void setState (uint8_t state)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Shutter device.

+

Class: MeShutter

Description
Declaration of Class MeShutter.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeShutter() [1/2]

+ +
+
+ + + + + + + + +
MeShutter::MeShutter (void )
+
+

Alternate Constructor which can call your own function to map the MeShutter to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeShutter() [2/2]

+ +
+
+ + + + + + + + +
MeShutter::MeShutter (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the MeShutter to arduino port, and the shot and focus PIN will be set LOW

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ focusOff()

+ +
+
+ + + + + + + + +
void MeShutter::focusOff (void )
+
+
Function
focusOff
+
Description
Set the focus PIN off
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ focusOn()

+ +
+
+ + + + + + + + +
void MeShutter::focusOn (void )
+
+
Function
focusOn
+
Description
Set the focus PIN on
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeShutter::setpin (uint8_t ShotPin,
uint8_t FocusPin 
)
+
+
Function
setpin
+
Description
Reset the shutter available PIN by its arduino port.
+
Parameters
+ + + +
[in]ShotPin- arduino port for shot PIN(should digital pin)
[in]FocusPin- arduino port for focus PIN(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setState()

+ +
+
+ + + + + + + + +
void MeShutter::setState (uint8_t state)
+
+
Function
focusOff
+
Description
Set shutter device's work state.
+
Parameters
+ + +
[in]state- 0:shotOff
+ 1:shotOn
+ 2:focusOff
+ 3:focusOn
+
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ shotOff()

+ +
+
+ + + + + + + + +
void MeShutter::shotOff (void )
+
+
Function
shotOff
+
Description
Set the shot PIN off
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ shotOn()

+ +
+
+ + + + + + + + +
void MeShutter::shotOn (void )
+
+
Function
shotOn
+
Description
Set the shot PIN on
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_shutter.js b/doc/html/class_me_shutter.js new file mode 100644 index 00000000..59418fd4 --- /dev/null +++ b/doc/html/class_me_shutter.js @@ -0,0 +1,11 @@ +var class_me_shutter = +[ + [ "MeShutter", "class_me_shutter.html#a19cb9b364ab8e4309620b3f11dd3323d", null ], + [ "MeShutter", "class_me_shutter.html#a072f6dd9c71d200ec8879784744e0576", null ], + [ "focusOff", "class_me_shutter.html#ad8a99473a3461e639eea31793ade7b4f", null ], + [ "focusOn", "class_me_shutter.html#a4427ea37c8313acd5643ec6f3859fd36", null ], + [ "setpin", "class_me_shutter.html#a2fc368db549be0ae724d60095512c53f", null ], + [ "setState", "class_me_shutter.html#a1426ff39c1754dbfd32655c4b73f61ed", null ], + [ "shotOff", "class_me_shutter.html#a600e6f23491519772a16044c93691852", null ], + [ "shotOn", "class_me_shutter.html#a44766a55c3bd837d77de4af19ec844f7", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_shutter.png b/doc/html/class_me_shutter.png new file mode 100644 index 00000000..ee405212 Binary files /dev/null and b/doc/html/class_me_shutter.png differ diff --git a/doc/html/class_me_shutter__coll__graph.map b/doc/html/class_me_shutter__coll__graph.map new file mode 100644 index 00000000..3f94058f --- /dev/null +++ b/doc/html/class_me_shutter__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_shutter__coll__graph.md5 b/doc/html/class_me_shutter__coll__graph.md5 new file mode 100644 index 00000000..36e25e5f --- /dev/null +++ b/doc/html/class_me_shutter__coll__graph.md5 @@ -0,0 +1 @@ +c5561d27982a5b38225bc36d0de94530 \ No newline at end of file diff --git a/doc/html/class_me_shutter__coll__graph.png b/doc/html/class_me_shutter__coll__graph.png new file mode 100644 index 00000000..9a547906 Binary files /dev/null and b/doc/html/class_me_shutter__coll__graph.png differ diff --git a/doc/html/class_me_shutter__inherit__graph.map b/doc/html/class_me_shutter__inherit__graph.map new file mode 100644 index 00000000..3f94058f --- /dev/null +++ b/doc/html/class_me_shutter__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_shutter__inherit__graph.md5 b/doc/html/class_me_shutter__inherit__graph.md5 new file mode 100644 index 00000000..36e25e5f --- /dev/null +++ b/doc/html/class_me_shutter__inherit__graph.md5 @@ -0,0 +1 @@ +c5561d27982a5b38225bc36d0de94530 \ No newline at end of file diff --git a/doc/html/class_me_shutter__inherit__graph.png b/doc/html/class_me_shutter__inherit__graph.png new file mode 100644 index 00000000..9a547906 Binary files /dev/null and b/doc/html/class_me_shutter__inherit__graph.png differ diff --git a/doc/html/class_me_smart_servo-members.html b/doc/html/class_me_smart_servo-members.html new file mode 100644 index 00000000..eb967429 --- /dev/null +++ b/doc/html/class_me_smart_servo-members.html @@ -0,0 +1,200 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSmartServo Member List
+
+
+ +

This is the complete list of members for MeSmartServo, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
assignDevIdRequest(void)MeSmartServo
assignDevIdResponse(void *arg)MeSmartServo
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
errorCodeCheckResponse(void *arg)MeSmartServo
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getAngleRequest(uint8_t devId)MeSmartServo
getCurrentRequest(uint8_t devId)MeSmartServo
getPort(void)MePort
getSlot(void)MePort
getSpeedRequest(uint8_t devId)MeSmartServo
getTempRequest(uint8_t devId)MeSmartServo
getValue(String key) (defined in MeSerial)MeSerial
getVoltageRequest(uint8_t devId)MeSmartServo
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
handSharke(uint8_t dev_id)MeSmartServo
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
MeSmartServo()MeSmartServo
MeSmartServo(uint8_t port)MeSmartServo
move(uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)MeSmartServo
moveTo(uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)MeSmartServo
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
processSysexMessage(void)MeSmartServo
read()MeSerialvirtual
readByte(uint8_t *argv, int16_t idx)MeSmartServo
readDataLine(void) (defined in MeSerial)MeSerial
readFloat(uint8_t *argv, int16_t idx)MeSmartServo
readLong(uint8_t *argv, int idx)MeSmartServo
readShort(uint8_t *argv, int16_t idx, boolean ignore_high)MeSmartServo
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendByte(uint8_t val)MeSmartServo
sendFloat(float val)MeSmartServo
sendLong(long val)MeSmartServo
sendShort(int16_t val, boolean ignore_high)MeSmartServo
sendString(char *str)MeSerial
setBreak(uint8_t dev_id, uint8_t breakStatus)MeSmartServo
setHardware(bool mode)MeSerial
setInitAngle(uint8_t dev_id, uint8_t=0, int16_t=40)MeSmartServo
setPwmMove(uint8_t dev_id, int16_t pwm_value)MeSmartServo
setRGBLed(uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value)MeSmartServo
setZero(uint8_t dev_id)MeSmartServo
smartServoCmdResponse(void *arg)MeSmartServo
smartServoEventHandle(void)MeSmartServo
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_smart_servo.html b/doc/html/class_me_smart_servo.html new file mode 100644 index 00000000..094ee237 --- /dev/null +++ b/doc/html/class_me_smart_servo.html @@ -0,0 +1,1424 @@ + + + + + + + +MakeBlock Drive Updated: MeSmartServo Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeSmartServo Class Reference
+
+
+ +

Driver for Me Smart Servo device. + More...

+ +

#include <src/MeSmartServo.h>

+
+Inheritance diagram for MeSmartServo:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeSmartServo:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeSmartServo ()
 
 MeSmartServo (uint8_t port)
 
uint8_t readByte (uint8_t *argv, int16_t idx)
 
short readShort (uint8_t *argv, int16_t idx, boolean ignore_high)
 
float readFloat (uint8_t *argv, int16_t idx)
 
long readLong (uint8_t *argv, int idx)
 
uint8_t sendByte (uint8_t val)
 
uint8_t sendShort (int16_t val, boolean ignore_high)
 
uint8_t sendFloat (float val)
 
uint8_t sendLong (long val)
 
boolean assignDevIdRequest (void)
 
boolean moveTo (uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)
 
boolean move (uint8_t dev_id, long angle_value, float speed, smartServoCb callback=NULL)
 
boolean setZero (uint8_t dev_id)
 
boolean setBreak (uint8_t dev_id, uint8_t breakStatus)
 
boolean setRGBLed (uint8_t dev_id, uint8_t r_value, uint8_t g_value, uint8_t b_value)
 
boolean handSharke (uint8_t dev_id)
 
boolean setPwmMove (uint8_t dev_id, int16_t pwm_value)
 
boolean setInitAngle (uint8_t dev_id, uint8_t=0, int16_t=40)
 
long getAngleRequest (uint8_t devId)
 
float getSpeedRequest (uint8_t devId)
 
float getVoltageRequest (uint8_t devId)
 
float getTempRequest (uint8_t devId)
 
float getCurrentRequest (uint8_t devId)
 
void assignDevIdResponse (void *arg)
 
void errorCodeCheckResponse (void *arg)
 
void smartServoCmdResponse (void *arg)
 
void processSysexMessage (void)
 
void smartServoEventHandle (void)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Smart Servo device.

+

Class: MeSmartServo

Description
Declaration of Class MeSmartServo.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeSmartServo() [1/2]

+ +
+
+ + + + + + + +
MeSmartServo::MeSmartServo ()
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeSmartServo() [2/2]

+ +
+
+ + + + + + + + +
MeSmartServo::MeSmartServo (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, If the hardware serial was selected, it will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+

Alternate Constructor which can call your own function to map the Me Smart Servo to arduino port, If the hardware serial was selected, it will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ assignDevIdRequest()

+ +
+
+ + + + + + + + +
boolean MeSmartServo::assignDevIdRequest (void )
+
+
Function
assignDevIdRequest
+
Description
distribution device ID number to the smart servo link.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ assignDevIdResponse()

+ +
+
+ + + + + + + + +
void MeSmartServo::assignDevIdResponse (void * arg)
+
+
Function
assignDevIdResponse
+
Description
distribution device ID number return packet processing.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+
Function
assignDevIdResponse
+
Description
distribution device ID number return packet processing.
+
Parameters
+ + +
[in]*arg- address of input parameter.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ errorCodeCheckResponse()

+ +
+
+ + + + + + + + +
void MeSmartServo::errorCodeCheckResponse (void * arg)
+
+
Function
errorCodeCheckResponse
+
Description
This function is used to process the error response message of smart servo.
+
Parameters
+ + +
[in]*arg- address of input parameter.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ getAngleRequest()

+ +
+
+ + + + + + + + +
long MeSmartServo::getAngleRequest (uint8_t devId)
+
+
Function
getAngleRequest
+
Description
This function used to get the smart servo's angle.
+
Parameters
+ + +
[in]devId- the device id of servo that we want to read its angle.
+
+
+
Output
None
+
Returns
the angle of smart servo.
+
Others
None
+ +
+
+ +

◆ getCurrentRequest()

+ +
+
+ + + + + + + + +
float MeSmartServo::getCurrentRequest (uint8_t devId)
+
+
Function
getCurrentRequest
+
Description
This function used to get the smart servo's current.
+
Parameters
+ + +
[in]devId- the device id of servo that we want to read its current.
+
+
+
Output
None
+
Returns
the current of smart servo.
+
Others
None
+ +
+
+ +

◆ getSpeedRequest()

+ +
+
+ + + + + + + + +
float MeSmartServo::getSpeedRequest (uint8_t devId)
+
+
Function
getSpeedRequest
+
Description
This function used to get the smart servo's speed.
+
Parameters
+ + +
[in]devId- the device id of servo that we want to read its speed.
+
+
+
Output
None
+
Returns
the speed of smart servo.
+
Others
None
+ +
+
+ +

◆ getTempRequest()

+ +
+
+ + + + + + + + +
float MeSmartServo::getTempRequest (uint8_t devId)
+
+
Function
getTempRequest
+
Description
This function used to get the smart servo's temperature.
+
Parameters
+ + +
[in]devId- the device id of servo that we want to read its temperature.
+
+
+
Output
None
+
Returns
the temperature of smart servo.
+
Others
None
+ +
+
+ +

◆ getVoltageRequest()

+ +
+
+ + + + + + + + +
float MeSmartServo::getVoltageRequest (uint8_t devId)
+
+
Function
getVoltageRequest
+
Description
This function used to get the smart servo's voltage.
+
Parameters
+ + +
[in]devId- the device id of servo that we want to read its voltage.
+
+
+
Output
None
+
Returns
the voltage of smart servo.
+
Others
None
+ +
+
+ +

◆ handSharke()

+ +
+
+ + + + + + + + +
boolean MeSmartServo::handSharke (uint8_t dev_id)
+
+
Function
handSharke
+
Description
This function is used MCU and servo handshake.
+
Parameters
+ + +
[in]dev_id- the device id of servo that we want to handsharke.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ move()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::move (uint8_t dev_id,
long angle_value,
float speed,
smartServoCb callback = NULL 
)
+
+
Function
move
+
Description
smart servo moves to the relative angle.
+
Parameters
+ + + + + +
[in]dev_id- the device id of servo that we want to move.
[in]angle_value- the relative angle value we want move to.
[in]speed- move speed value(The unit is rpm).
[in]callback- callback function when the target position has been reached(Optional parameters).
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ moveTo()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::moveTo (uint8_t dev_id,
long angle_value,
float speed,
smartServoCb callback = NULL 
)
+
+
Function
moveTo
+
Description
smart servo moves to the absolute angle.
+
Parameters
+ + + + + +
[in]dev_id- the device id of servo that we want to move.
[in]angle_value- the absolute angle value we want move to.
[in]speed- move speed value(The unit is rpm).
[in]callback- callback function when the target position has been reached(Optional parameters).
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ processSysexMessage()

+ +
+
+ + + + + + + + +
void MeSmartServo::processSysexMessage (void )
+
+
Function
processSysexMessage
+
Description
This function is used to process protocol messages of smart servo.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readByte()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t MeSmartServo::readByte (uint8_t * argv,
int16_t idx 
)
+
+
Function
readByte
+
Description
change 2byte 7bit read date to 1byte byte data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readFloat()

+ +
+
+ + + + + + + + + + + + + + + + + + +
float MeSmartServo::readFloat (uint8_t * argv,
int16_t idx 
)
+
+
Function
readFloat
+
Description
change (5byte 7bit) read date to 4byte float data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readLong()

+ +
+
+ + + + + + + + + + + + + + + + + + +
long MeSmartServo::readLong (uint8_t * argv,
int idx 
)
+
+
Function
readLong
+
Description
change (5byte 7bit) read date to 4byte long data.
+
Parameters
+ + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ readShort()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
short MeSmartServo::readShort (uint8_t * argv,
int16_t idx,
boolean ignore_high 
)
+
+
Function
readShort
+
Description
change (2byte 7bit) or (3byte 7bit) read date to 2byte short data.
+
Parameters
+ + + + +
[in]*argv- the buffer for input data.
+
[in]idx- the index used to identify the first address of read data.
+
[in]ignore_high- is there have third byte high-level data.
+
+
+
+
Output
return the converted data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ sendByte()

+ +
+
+ + + + + + + + +
uint8_t MeSmartServo::sendByte (uint8_t val)
+
+
Function
sendByte
+
Description
send (1byte 8bit) date to 2byte 7bit data.
+
Parameters
+ + +
[in]val- the byte data to be converted.
+
+
+
+
Output
return the checksum data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ sendFloat()

+ +
+
+ + + + + + + + +
uint8_t MeSmartServo::sendFloat (float val)
+
+
Function
sendFloat
+
Description
send (4byte float) date to 5byte 7bit data.
+
Parameters
+ + +
[in]val- the short data to be converted.
+
+
+
+
Output
return the checksum data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ sendLong()

+ +
+
+ + + + + + + + +
uint8_t MeSmartServo::sendLong (long val)
+
+
Function
sendLong
+
Description
send (4byte long) date to 5byte 7bit data.
+
Parameters
+ + +
[in]val- the short data to be converted.
+
+
+
+
Output
return the checksum data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ sendShort()

+ +
+
+ + + + + + + + + + + + + + + + + + +
uint8_t MeSmartServo::sendShort (int16_t val,
boolean ignore_high 
)
+
+
Function
sendShort
+
Description
send (2byte short) date to 2byte or 3byte 7bit data.
+
Parameters
+ + + +
[in]val- the short data to be converted.
+
[in]ignore_high- is there have third byte high-level data.
+
+
+
+
Output
return the checksum data.
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setBreak()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::setBreak (uint8_t dev_id,
uint8_t breakStatus 
)
+
+
Function
setBreak
+
Description
set smart servo break status.
+
Parameters
+ + + +
[in]dev_id- the device id of servo that we want to set.
[in]breakStatus- the break status of servo.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ setInitAngle()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::setInitAngle (uint8_t dev_id,
uint8_t mode = 0,
int16_t speed = 40 
)
+
+
Function
setInitAngle
+
Description
This function is used to move smart servo to its 0 degrees.
+
Parameters
+ + + + +
[in]dev_id- the device id of servo that we want to set.
[in]mode- the return mode, 0 is the quick return mode.
[in]speed- the speed value return to init angle.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ setPwmMove()

+ +
+
+ + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::setPwmMove (uint8_t dev_id,
int16_t pwm_value 
)
+
+
Function
setPwmMove
+
Description
This function is used to set the pwm motion of smart servo.
+
Parameters
+ + + +
[in]dev_id- the device id of servo that we want to set.
[in]pwm_value- the pwm value we wan't set the servo motor.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ setRGBLed()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
boolean MeSmartServo::setRGBLed (uint8_t dev_id,
uint8_t r_value,
uint8_t g_value,
uint8_t b_value 
)
+
+
Function
setRGBLed
+
Description
set the color of smart servo's RGB LED.
+
Parameters
+ + + + + +
[in]dev_id- the device id of servo that we want to set.
[in]r_value- Red component.
[in]g_value- green component.
[in]B_value- Blue component.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ setZero()

+ +
+
+ + + + + + + + +
boolean MeSmartServo::setZero (uint8_t dev_id)
+
+
Function
setZero
+
Description
set smart servo current angle zero postion.
+
Parameters
+ + +
[in]dev_id- the device id of servo that we want to initialization position.
+
+
+
Output
None
+
Returns
If the assignment is successful, return true.
+
Others
None
+ +
+
+ +

◆ smartServoCmdResponse()

+ +
+
+ + + + + + + + +
void MeSmartServo::smartServoCmdResponse (void * arg)
+
+
Function
smartServoCmdResponse
+
Description
This function is used to process the response message of smart servo.
+
Parameters
+ + +
[in]*arg- address of input parameter.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ smartServoEventHandle()

+ +
+
+ + + + + + + + +
void MeSmartServo::smartServoEventHandle (void )
+
+
Function
smartServoEventHandle
+
Description
This function is used to process protocol messages of smart servo.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_smart_servo.js b/doc/html/class_me_smart_servo.js new file mode 100644 index 00000000..76e6c654 --- /dev/null +++ b/doc/html/class_me_smart_servo.js @@ -0,0 +1,32 @@ +var class_me_smart_servo = +[ + [ "MeSmartServo", "class_me_smart_servo.html#a8423e173c2a4c24f442e0536054fbba0", null ], + [ "MeSmartServo", "class_me_smart_servo.html#a488fddfc5eed85885f9652f820fb87e9", null ], + [ "assignDevIdRequest", "class_me_smart_servo.html#ad416c90e90bffb8e56caa8d79fe2d473", null ], + [ "assignDevIdResponse", "class_me_smart_servo.html#a5b6fa025da9977cba9212b64988acb2a", null ], + [ "errorCodeCheckResponse", "class_me_smart_servo.html#ac003fe9876a2e1b6981326783718a12f", null ], + [ "getAngleRequest", "class_me_smart_servo.html#adb14101ef4f0981f5ba3eabfd02775c7", null ], + [ "getCurrentRequest", "class_me_smart_servo.html#adc467ef432434d9b279f794a453da64c", null ], + [ "getSpeedRequest", "class_me_smart_servo.html#a058cffd56063ed54f5bcdd0995861c18", null ], + [ "getTempRequest", "class_me_smart_servo.html#ab65dd2a4b12d6604fac57595737cfeeb", null ], + [ "getVoltageRequest", "class_me_smart_servo.html#ae2f7bcf1cc941f324a0873129dd7b33b", null ], + [ "handSharke", "class_me_smart_servo.html#aa3f5a58c87f7ae9c1bd46c4f9c3816c9", null ], + [ "move", "class_me_smart_servo.html#accf6f85b682196fa8e3f36f2a2e5e508", null ], + [ "moveTo", "class_me_smart_servo.html#aad84a194b3ed4f175d336bca6a596ec6", null ], + [ "processSysexMessage", "class_me_smart_servo.html#a3eb0b8f79dd50b4e55526d261b40d8a1", null ], + [ "readByte", "class_me_smart_servo.html#a1aaad24e2abbcba8fe5be7d3d0d84e63", null ], + [ "readFloat", "class_me_smart_servo.html#ae66a39120aa542835ed7baefe543170c", null ], + [ "readLong", "class_me_smart_servo.html#add30c4b6013c26a2b92b37992a2a9feb", null ], + [ "readShort", "class_me_smart_servo.html#a86115d5159d786936b9f9fbde7669cb3", null ], + [ "sendByte", "class_me_smart_servo.html#a412e124ef188a4937ea6d4648724ae96", null ], + [ "sendFloat", "class_me_smart_servo.html#a68d970c3f3634048cf85d31ee5475c86", null ], + [ "sendLong", "class_me_smart_servo.html#a640143e57999486cf952f8184ecdadbf", null ], + [ "sendShort", "class_me_smart_servo.html#acf5bd557ed6e873d6832b765bc1ebdbc", null ], + [ "setBreak", "class_me_smart_servo.html#ae7e58107842eb0c2d13596c99d0e8838", null ], + [ "setInitAngle", "class_me_smart_servo.html#aedb7c0b2bba4e771865752acdae65b0d", null ], + [ "setPwmMove", "class_me_smart_servo.html#a6117a6fdeb20a0da8310be42011f699e", null ], + [ "setRGBLed", "class_me_smart_servo.html#a2ba807a9e25bf953e83f22e1f862edc9", null ], + [ "setZero", "class_me_smart_servo.html#ab86b0e9279876f94f28120aaa36c9429", null ], + [ "smartServoCmdResponse", "class_me_smart_servo.html#a9576044532f0ca58cf8d554e9f31cacf", null ], + [ "smartServoEventHandle", "class_me_smart_servo.html#a24f968f6117983c8c17bfbecc53793b6", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_smart_servo.png b/doc/html/class_me_smart_servo.png new file mode 100644 index 00000000..061ab491 Binary files /dev/null and b/doc/html/class_me_smart_servo.png differ diff --git a/doc/html/class_me_smart_servo__coll__graph.map b/doc/html/class_me_smart_servo__coll__graph.map new file mode 100644 index 00000000..a4bde50d --- /dev/null +++ b/doc/html/class_me_smart_servo__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_smart_servo__coll__graph.md5 b/doc/html/class_me_smart_servo__coll__graph.md5 new file mode 100644 index 00000000..6bea9b8c --- /dev/null +++ b/doc/html/class_me_smart_servo__coll__graph.md5 @@ -0,0 +1 @@ +9ffd2e9cd4b164dc18f1c9aabaf9d2fa \ No newline at end of file diff --git a/doc/html/class_me_smart_servo__coll__graph.png b/doc/html/class_me_smart_servo__coll__graph.png new file mode 100644 index 00000000..5b60b300 Binary files /dev/null and b/doc/html/class_me_smart_servo__coll__graph.png differ diff --git a/doc/html/class_me_smart_servo__inherit__graph.map b/doc/html/class_me_smart_servo__inherit__graph.map new file mode 100644 index 00000000..a4bde50d --- /dev/null +++ b/doc/html/class_me_smart_servo__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_smart_servo__inherit__graph.md5 b/doc/html/class_me_smart_servo__inherit__graph.md5 new file mode 100644 index 00000000..6bea9b8c --- /dev/null +++ b/doc/html/class_me_smart_servo__inherit__graph.md5 @@ -0,0 +1 @@ +9ffd2e9cd4b164dc18f1c9aabaf9d2fa \ No newline at end of file diff --git a/doc/html/class_me_smart_servo__inherit__graph.png b/doc/html/class_me_smart_servo__inherit__graph.png new file mode 100644 index 00000000..5b60b300 Binary files /dev/null and b/doc/html/class_me_smart_servo__inherit__graph.png differ diff --git a/doc/html/class_me_sound_sensor.html b/doc/html/class_me_sound_sensor.html new file mode 100644 index 00000000..e3f7add3 --- /dev/null +++ b/doc/html/class_me_sound_sensor.html @@ -0,0 +1,115 @@ + + + + + + + +MakeBlock Drive Updated: MeSoundSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeSoundSensor Class Reference
+
+
+ +

Driver for Me sound sensor device. + More...

+

Detailed Description

+

Driver for Me sound sensor device.

+
Copyright (C), 2012-2016, MakeBlock
+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_me_stepper-members.html b/doc/html/class_me_stepper-members.html new file mode 100644 index 00000000..e6f01256 --- /dev/null +++ b/doc/html/class_me_stepper-members.html @@ -0,0 +1,155 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeStepper Member List
+
+
+ +

This is the complete list of members for MeStepper, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
computeNewSpeed()MeStepperprotected
currentPosition()MeStepper
disableOutputs() (defined in MeStepper)MeStepper
distanceToGo()MeStepper
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
enableOutputs() (defined in MeStepper)MeStepper
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeStepper()MeStepper
MeStepper(uint8_t port)MeStepper
move(long relative)MeStepper
moveTo(long absolute)MeStepper
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
run()MeStepper
runSpeed()MeStepper
runSpeedToPosition()MeStepper
runToNewPosition(long position)MeStepper
runToPosition()MeStepper
s1MePortprotected
s2MePortprotected
setAcceleration(float acceleration)MeStepper
setCurrentPosition(long position)MeStepper
setMaxSpeed(float speed)MeStepper
setpin(uint8_t dir_data, uint8_t step_data)MeStepper
setSpeed(float speed)MeStepper
speed()MeStepper
step()MeStepperprotectedvirtual
targetPosition()MeStepper
+
+ + + + diff --git a/doc/html/class_me_stepper.html b/doc/html/class_me_stepper.html new file mode 100644 index 00000000..70cd9d85 --- /dev/null +++ b/doc/html/class_me_stepper.html @@ -0,0 +1,839 @@ + + + + + + + +MakeBlock Drive Updated: MeStepper Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+ +

Driver for Me Stepper device. + More...

+ +

#include <src/MeStepper.h>

+
+Inheritance diagram for MeStepper:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeStepper:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeStepper ()
 
 MeStepper (uint8_t port)
 
void setpin (uint8_t dir_data, uint8_t step_data)
 
void moveTo (long absolute)
 
void move (long relative)
 
boolean run ()
 
boolean runSpeed ()
 
void setMaxSpeed (float speed)
 
void setAcceleration (float acceleration)
 
void setSpeed (float speed)
 
float speed ()
 
long distanceToGo ()
 
long targetPosition ()
 
long currentPosition ()
 
void setCurrentPosition (long position)
 
void runToPosition ()
 
boolean runSpeedToPosition ()
 
void runToNewPosition (long position)
 
+void disableOutputs ()
 
+void enableOutputs ()
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + +

+Protected Member Functions

void computeNewSpeed ()
 
virtual void step ()
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me Stepper device.

+

Class: MeStepper

Description
Declaration of Class MeStepper.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeStepper() [1/2]

+ +
+
+ + + + + + + +
MeStepper::MeStepper ()
+
+

Alternate Constructor which can call your own function to map the stepper to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeStepper() [2/2]

+ +
+
+ + + + + + + + +
MeStepper::MeStepper (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the stepper to arduino port, the slot2 pin will be used here since specify slot is not be set.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ computeNewSpeed()

+ +
+
+ + + + + +
+ + + + + + + +
void MeStepper::computeNewSpeed ()
+
+protected
+
+
Function
computeNewSpeed
+
Description
Compute New Speed of Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ currentPosition()

+ +
+
+ + + + + + + +
long MeStepper::currentPosition ()
+
+
Function
currentPosition
+
Description
Stepper's current position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the current position of Stepper.
+
Others
None
+ +
+
+ +

◆ distanceToGo()

+ +
+
+ + + + + + + +
long MeStepper::distanceToGo ()
+
+
Function
distanceToGo
+
Description
The distance that Stepper should go.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the length of Stepper's running.
+
Others
None
+ +
+
+ +

◆ move()

+ +
+
+ + + + + + + + +
void MeStepper::move (long relative)
+
+
Function
move
+
Description
Stepper moves to the aim.
+
Parameters
+ + +
[in]relative- The relative length to Stepper's movement.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ moveTo()

+ +
+
+ + + + + + + + +
void MeStepper::moveTo (long absolute)
+
+
Function
moveTo
+
Description
Stepper moves to the aim.
+
Parameters
+ + +
[in]absolute- The absolute length to Stepper's movement.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + +
boolean MeStepper::run ()
+
+
Function
run
+
Description
Stepper's status-—run or not.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the status.
+
Others
None
+ +
+
+ +

◆ runSpeed()

+ +
+
+ + + + + + + +
boolean MeStepper::runSpeed ()
+
+
Function
runSpeed
+
Description
The speed of Stepper's running.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return true or false.
+
Others
None
+ +
+
+ +

◆ runSpeedToPosition()

+ +
+
+ + + + + + + +
boolean MeStepper::runSpeedToPosition ()
+
+
Function
runSpeedToPosition
+
Description
The speed of Stepper on the way to position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return true or false.
+
Others
None
+ +
+
+ +

◆ runToNewPosition()

+ +
+
+ + + + + + + + +
void MeStepper::runToNewPosition (long position)
+
+
Function
runToNewPosition
+
Description
The Stepper runs to new position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ runToPosition()

+ +
+
+ + + + + + + +
void MeStepper::runToPosition ()
+
+
Function
runToPosition
+
Description
Stepper runs to position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setAcceleration()

+ +
+
+ + + + + + + + +
void MeStepper::setAcceleration (float acceleration)
+
+
Function
setAcceleration
+
Description
Set Acceleration for Stepper.
+
Parameters
+ + +
[in]acceleration- The acceleration for Stepper.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setCurrentPosition()

+ +
+
+ + + + + + + + +
void MeStepper::setCurrentPosition (long position)
+
+
Function
setCurrentPosition
+
Description
Set Stepper's current position.
+
Parameters
+ + +
[in]position- The current position for Stepper.
+
+
+
Output
None
+
Return
Return the current position of Stepper.
+
Others
None
+ +
+
+ +

◆ setMaxSpeed()

+ +
+
+ + + + + + + + +
void MeStepper::setMaxSpeed (float speed)
+
+
Function
setMaxSpeed
+
Description
Set Max Speed for Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeStepper::setpin (uint8_t dir_data,
uint8_t step_data 
)
+
+
Function
setpin
+
Description
Set pin for Stepper.
+
Parameters
+ + + +
[in]dir_data- The direction data of Stepper's movement.
[in]step_data- The command data for Stepper.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setSpeed()

+ +
+
+ + + + + + + + +
void MeStepper::setSpeed (float speed)
+
+
Function
setSpeed
+
Description
Set Speed for Stepper.
+
Parameters
+ + +
[in]speed- The speed of Stepper.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ speed()

+ +
+
+ + + + + + + +
float MeStepper::speed ()
+
+
Function
speed
+
Description
The Speed of Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the Stepper's speed.
+
Others
None
+ +
+
+ +

◆ step()

+ +
+
+ + + + + +
+ + + + + + + +
void MeStepper::step ()
+
+protectedvirtual
+
+
Function
step
+
Description
Stepper runs step by step.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ targetPosition()

+ +
+
+ + + + + + + +
long MeStepper::targetPosition ()
+
+
Function
targetPosition
+
Description
Stepper goes to target position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the position of Stepper.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_stepper.js b/doc/html/class_me_stepper.js new file mode 100644 index 00000000..a5105e0c --- /dev/null +++ b/doc/html/class_me_stepper.js @@ -0,0 +1,23 @@ +var class_me_stepper = +[ + [ "MeStepper", "class_me_stepper.html#a34e8a0c1b7eb99ff9fe6a0d805cc12d1", null ], + [ "MeStepper", "class_me_stepper.html#a10df219f3839e1c88100c1d84e46c01e", null ], + [ "computeNewSpeed", "class_me_stepper.html#a231aef8a0a448f194f19a6ef5ddcbbc9", null ], + [ "currentPosition", "class_me_stepper.html#a98ecf9b60b9c5bc588963a27d141106a", null ], + [ "distanceToGo", "class_me_stepper.html#ace0023e3e3dcb3fed6dee4754211a64d", null ], + [ "move", "class_me_stepper.html#aa8020356bb0c793c2ea78737f9c5f387", null ], + [ "moveTo", "class_me_stepper.html#a2bf300dfaa8901eac1fe334a3d01bb50", null ], + [ "run", "class_me_stepper.html#aab1323d0500213e02ddc17527b7487a2", null ], + [ "runSpeed", "class_me_stepper.html#ad615be6e513b7d519e1b546ae9f2aac6", null ], + [ "runSpeedToPosition", "class_me_stepper.html#a901a56566194e21be9ebacc5e2bd9dfc", null ], + [ "runToNewPosition", "class_me_stepper.html#a5b936d0e8e9684e89de40c4740a95952", null ], + [ "runToPosition", "class_me_stepper.html#a6076bbfe63621dc4f08a83756a3fd570", null ], + [ "setAcceleration", "class_me_stepper.html#ac9ed9b7961f4812b4cb3455aa0987f64", null ], + [ "setCurrentPosition", "class_me_stepper.html#a3a3a66d03b75a43d6f33cf5cfcfe63ca", null ], + [ "setMaxSpeed", "class_me_stepper.html#a5bbeb502699499f95116ba48ee690978", null ], + [ "setpin", "class_me_stepper.html#a4ca8dff894ce12f5639afbc276345435", null ], + [ "setSpeed", "class_me_stepper.html#aa938e51919218e49bfc89b95e1bff27a", null ], + [ "speed", "class_me_stepper.html#aebc944454624fecb1c1d676a08990f08", null ], + [ "step", "class_me_stepper.html#a5dd329462fb6ca6421790f2fed2024ae", null ], + [ "targetPosition", "class_me_stepper.html#a48397cd52c4edf5d5c4c8b23df4f86de", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_stepper.png b/doc/html/class_me_stepper.png new file mode 100644 index 00000000..5252f34e Binary files /dev/null and b/doc/html/class_me_stepper.png differ diff --git a/doc/html/class_me_stepper__coll__graph.map b/doc/html/class_me_stepper__coll__graph.map new file mode 100644 index 00000000..152e9384 --- /dev/null +++ b/doc/html/class_me_stepper__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_stepper__coll__graph.md5 b/doc/html/class_me_stepper__coll__graph.md5 new file mode 100644 index 00000000..78fc99f5 --- /dev/null +++ b/doc/html/class_me_stepper__coll__graph.md5 @@ -0,0 +1 @@ +7b732626d452a34d177856d83842f037 \ No newline at end of file diff --git a/doc/html/class_me_stepper__coll__graph.png b/doc/html/class_me_stepper__coll__graph.png new file mode 100644 index 00000000..28df51da Binary files /dev/null and b/doc/html/class_me_stepper__coll__graph.png differ diff --git a/doc/html/class_me_stepper__inherit__graph.map b/doc/html/class_me_stepper__inherit__graph.map new file mode 100644 index 00000000..152e9384 --- /dev/null +++ b/doc/html/class_me_stepper__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_stepper__inherit__graph.md5 b/doc/html/class_me_stepper__inherit__graph.md5 new file mode 100644 index 00000000..78fc99f5 --- /dev/null +++ b/doc/html/class_me_stepper__inherit__graph.md5 @@ -0,0 +1 @@ +7b732626d452a34d177856d83842f037 \ No newline at end of file diff --git a/doc/html/class_me_stepper__inherit__graph.png b/doc/html/class_me_stepper__inherit__graph.png new file mode 100644 index 00000000..28df51da Binary files /dev/null and b/doc/html/class_me_stepper__inherit__graph.png differ diff --git a/doc/html/class_me_stepper_on_board-members.html b/doc/html/class_me_stepper_on_board-members.html new file mode 100644 index 00000000..3d5792b3 --- /dev/null +++ b/doc/html/class_me_stepper_on_board-members.html @@ -0,0 +1,135 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeStepperOnBoard Member List
+
+ +
+ + + + diff --git a/doc/html/class_me_stepper_on_board.html b/doc/html/class_me_stepper_on_board.html new file mode 100644 index 00000000..90a8e158 --- /dev/null +++ b/doc/html/class_me_stepper_on_board.html @@ -0,0 +1,1027 @@ + + + + + + + +MakeBlock Drive Updated: MeStepperOnBoard Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeStepperOnBoard Class Reference
+
+
+ +

Driver for Me Stepper on MegaPi. + More...

+ +

#include <src/MeStepperOnBoard.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeStepperOnBoard ()
 
 MeStepperOnBoard (int slot)
 
void setMicroStep (int8_t value)
 
void setpin (int slot)
 
void moveTo (long absolute)
 
void moveTo (long absolute, int16_t extId, cb callback)
 
void move (long relative)
 
void move (long relative, int16_t extId, cb callback)
 
boolean run (void)
 
boolean runSpeed (void)
 
void setMaxSpeed (float speed)
 
void setAcceleration (float acceleration)
 
void setSpeed (float speed)
 
float speed (void)
 
long distanceToGo (void)
 
long targetPosition (void)
 
long currentPosition (void)
 
void setCurrentPosition (long position)
 
void runToPosition (void)
 
boolean runSpeedToPosition (void)
 
void runToNewPosition (long position)
 
void disableOutputs (void)
 
void enableOutputs (void)
 
void update (void)
 
virtual void step (void)
 
int16_t getPort (void)
 
+ + + +

+Protected Member Functions

void computeNewSpeed ()
 
+

Detailed Description

+

Driver for Me Stepper on MegaPi.

+

Class: MeStepperOnBoard

Description
Declaration of Class MeStepperOnBoard.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeStepperOnBoard() [1/2]

+ +
+
+ + + + + + + +
MeStepperOnBoard::MeStepperOnBoard ()
+
+

Alternate Constructor which can call your own function to map the stepper to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeStepperOnBoard() [2/2]

+ +
+
+ + + + + + + + +
MeStepperOnBoard::MeStepperOnBoard (int slot)
+
+

Alternate Constructor which can call your own function to map the stepper to arduino port.

Parameters
+ + +
[in]slot- The slot of MegaPi boards.
+
+
+

Alternate Constructor which can call your own function to map the stepper to arduino port.

Parameters
+ + +
[in]slot- The slot of megapi boards.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ computeNewSpeed()

+ +
+
+ + + + + +
+ + + + + + + + +
void MeStepperOnBoard::computeNewSpeed (void )
+
+protected
+
+
Function
computeNewSpeed
+
Description
Compute New Speed of Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ currentPosition()

+ +
+
+ + + + + + + + +
long MeStepperOnBoard::currentPosition (void )
+
+
Function
currentPosition
+
Description
Stepper's current position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the current position of Stepper.
+
Others
None
+ +
+
+ +

◆ disableOutputs()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::disableOutputs (void )
+
+
Function
disableOutputs
+
Description
The Stepper disable the outputs.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ distanceToGo()

+ +
+
+ + + + + + + + +
long MeStepperOnBoard::distanceToGo (void )
+
+
Function
distanceToGo
+
Description
The distance that Stepper should go.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the length of Stepper's running.
+
Others
None
+ +
+
+ +

◆ enableOutputs()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::enableOutputs (void )
+
+
Function
enableOutputs
+
Description
The Stepper disable the outputs.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ getPort()

+ +
+
+ + + + + + + + +
int16_t MeStepperOnBoard::getPort (void )
+
+
Function
getPort
+
Description
get the slot number of the stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
The Slot number Stepper used.
+
Others
None
+ +
+
+ +

◆ move() [1/2]

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::move (long relative)
+
+
Function
move
+
Description
Stepper moves to the relative positions.
+
Parameters
+ + +
[in]relative- The relative length to Stepper's movement.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ move() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeStepperOnBoard::move (long relative,
int16_t extId,
cb callback 
)
+
+
Function
move
+
Description
Stepper moves to the relative positions.
+
Parameters
+ + + + +
[in]relative- The relative length to Stepper's movement.
[in]extId- It is used to indicate the ID of motor.
[in]callback- callback function when the target position has been reached.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ moveTo() [1/2]

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::moveTo (long absolute)
+
+
Function
moveTo
+
Description
Stepper moves to the absolute position.
+
Parameters
+ + +
[in]absolute- The absolute length to Stepper's movement.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ moveTo() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void MeStepperOnBoard::moveTo (long absolute,
int16_t extId,
cb callback 
)
+
+
Function
moveTo
+
Description
Stepper moves to the absolute position.
+
Parameters
+ + + + +
[in]absolute- The absolute length to Stepper's movement.
[in]extId- It is used to indicate the ID of motor.
[in]callback- callback function when the target position has been reached.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ run()

+ +
+
+ + + + + + + + +
boolean MeStepperOnBoard::run (void )
+
+
Function
run
+
Description
Stepper's status-—run or not.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the status.
+
Others
None
+ +
+
+ +

◆ runSpeed()

+ +
+
+ + + + + + + + +
boolean MeStepperOnBoard::runSpeed (void )
+
+
Function
runSpeed
+
Description
The speed of Stepper's running.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return true or false.
+
Others
None
+ +
+
+ +

◆ runSpeedToPosition()

+ +
+
+ + + + + + + + +
boolean MeStepperOnBoard::runSpeedToPosition (void )
+
+
Function
runSpeedToPosition
+
Description
The speed of Stepper on the way to position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return true or false.
+
Others
None
+ +
+
+ +

◆ runToNewPosition()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::runToNewPosition (long position)
+
+
Function
runToNewPosition
+
Description
The Stepper runs to new position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ runToPosition()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::runToPosition (void )
+
+
Function
runToPosition
+
Description
Stepper runs to position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setAcceleration()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setAcceleration (float acceleration)
+
+
Function
setAcceleration
+
Description
Set Acceleration for Stepper.
+
Parameters
+ + +
[in]acceleration- The acceleration for Stepper.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setCurrentPosition()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setCurrentPosition (long position)
+
+
Function
setCurrentPosition
+
Description
Set Stepper's current position.
+
Parameters
+ + +
[in]position- The current position for Stepper.
+
+
+
Output
None
+
Return
Return the current position of Stepper.
+
Others
None
+ +
+
+ +

◆ setMaxSpeed()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setMaxSpeed (float speed)
+
+
Function
setMaxSpeed
+
Description
Set Max Speed for Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setMicroStep()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setMicroStep (int8_t value)
+
+
Function
setMicroStep
+
Description
Set the micro step.
+
Parameters
+ + +
[in]value- the Subdivided value.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setpin (int slot)
+
+
Function
setpin
+
Description
Set pin for Stepper.
+
Parameters
+ + +
[in]slot- The slot of MegaPi boards.
+
+
+
Output
None
+
Return
None
+
Others
None
+
Function
setpin
+
Description
Set pin for Stepper.
+
Parameters
+ + +
[in]slot- The slot of megapi boards.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ setSpeed()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::setSpeed (float speed)
+
+
Function
setSpeed
+
Description
Set Speed for Stepper.
+
Parameters
+ + +
[in]speed- The speed of Stepper.
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ speed()

+ +
+
+ + + + + + + + +
float MeStepperOnBoard::speed (void )
+
+
Function
speed
+
Description
The Speed of Stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the Stepper's speed.
+
Others
None
+ +
+
+ +

◆ step()

+ +
+
+ + + + + +
+ + + + + + + + +
void MeStepperOnBoard::step (void )
+
+virtual
+
+
Function
step
+
Description
Stepper runs step by step.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+ +

◆ targetPosition()

+ +
+
+ + + + + + + + +
long MeStepperOnBoard::targetPosition (void )
+
+
Function
targetPosition
+
Description
Stepper goes to target position.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
Return the position of Stepper.
+
Others
None
+ +
+
+ +

◆ update()

+ +
+
+ + + + + + + + +
void MeStepperOnBoard::update (void )
+
+
Function
update
+
Description
The Stepper loop function, used to move the stepper.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Return
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_stepper_on_board.js b/doc/html/class_me_stepper_on_board.js new file mode 100644 index 00000000..f7b18477 --- /dev/null +++ b/doc/html/class_me_stepper_on_board.js @@ -0,0 +1,30 @@ +var class_me_stepper_on_board = +[ + [ "MeStepperOnBoard", "class_me_stepper_on_board.html#a6476b785a367f0bf0f6be0b5f1d256db", null ], + [ "MeStepperOnBoard", "class_me_stepper_on_board.html#a8f2852b3a7c35103dae8b9cae3f9ec54", null ], + [ "computeNewSpeed", "class_me_stepper_on_board.html#acee54708cc0281b3a4643e2661eb5c83", null ], + [ "currentPosition", "class_me_stepper_on_board.html#a836435093e011021ba4c0db7a3896617", null ], + [ "disableOutputs", "class_me_stepper_on_board.html#ad663fa9672bc29c860558ab65884f51b", null ], + [ "distanceToGo", "class_me_stepper_on_board.html#aaa90efc7806ed103617729527bf3f7f7", null ], + [ "enableOutputs", "class_me_stepper_on_board.html#af749d02703cca7e3651ee273e918308b", null ], + [ "getPort", "class_me_stepper_on_board.html#a3f0d66021a8967ad91b7ed7cd62a8123", null ], + [ "move", "class_me_stepper_on_board.html#aad362da829622be269f2903cf2000b3e", null ], + [ "move", "class_me_stepper_on_board.html#a6f0502cf085c9a108cd7c0f29eb18273", null ], + [ "moveTo", "class_me_stepper_on_board.html#a52fd44017b98f6f557321483f98dda71", null ], + [ "moveTo", "class_me_stepper_on_board.html#a952049fc3361c7f33f5bfb2c8f78707e", null ], + [ "run", "class_me_stepper_on_board.html#a49e9754f36126eee4b63403dc581822f", null ], + [ "runSpeed", "class_me_stepper_on_board.html#a0f376d74435f5cf1f6adece94c372d71", null ], + [ "runSpeedToPosition", "class_me_stepper_on_board.html#ada03839c1d65ef9ffd1bb64db5da0bc9", null ], + [ "runToNewPosition", "class_me_stepper_on_board.html#a20298c8fc1fb1ef4998fbcd2dd7c52ba", null ], + [ "runToPosition", "class_me_stepper_on_board.html#a951f051a706bdda80961766ce5f2e388", null ], + [ "setAcceleration", "class_me_stepper_on_board.html#a568dff526477425da5dd7640dd6f8dca", null ], + [ "setCurrentPosition", "class_me_stepper_on_board.html#af8e05271185ffe7c3bd520c8483d930d", null ], + [ "setMaxSpeed", "class_me_stepper_on_board.html#ab8d690efadd05acd2f453989990872b5", null ], + [ "setMicroStep", "class_me_stepper_on_board.html#a8cb61d386f7b800f1a2f752c46cfff54", null ], + [ "setpin", "class_me_stepper_on_board.html#a881cf1984ee0cfcb773b5ab6265c40cf", null ], + [ "setSpeed", "class_me_stepper_on_board.html#a61eea9139c60f539c7e439676d819ba0", null ], + [ "speed", "class_me_stepper_on_board.html#aa7bd0bc1c0dd3a147398ec654b4cf8ac", null ], + [ "step", "class_me_stepper_on_board.html#a2df202c7c7cf5a72c200e4063555cb97", null ], + [ "targetPosition", "class_me_stepper_on_board.html#a2ad468c8d4083b29aa445d8ee516a16b", null ], + [ "update", "class_me_stepper_on_board.html#a1f6128e6d2943f70fd9431a0df08fa01", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_temperature-members.html b/doc/html/class_me_temperature-members.html new file mode 100644 index 00000000..5b99578d --- /dev/null +++ b/doc/html/class_me_temperature-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTemperature Member List
+
+
+ +

This is the complete list of members for MeTemperature, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeTemperature(void)MeTemperature
MeTemperature(uint8_t port)MeTemperature
MeTemperature(uint8_t port, uint8_t slot)MeTemperature
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MeTemperature
reset(uint8_t port, uint8_t slot)MeTemperature
s1MePortprotected
s2MePortprotected
setpin(uint8_t port)MeTemperature
temperature(void)MeTemperature
+
+ + + + diff --git a/doc/html/class_me_temperature.html b/doc/html/class_me_temperature.html new file mode 100644 index 00000000..9eb76721 --- /dev/null +++ b/doc/html/class_me_temperature.html @@ -0,0 +1,421 @@ + + + + + + + +MakeBlock Drive Updated: MeTemperature Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeTemperature Class Reference
+
+
+ +

Driver for temperature sensor device. + More...

+ +

#include <src/MeTemperature.h>

+
+Inheritance diagram for MeTemperature:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeTemperature:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeTemperature (void)
 
 MeTemperature (uint8_t port)
 
 MeTemperature (uint8_t port, uint8_t slot)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
void setpin (uint8_t port)
 
float temperature (void)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for temperature sensor device.

+

Class: MeTemperature

Description
Declaration of Class MeTemperature.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeTemperature() [1/3]

+ +
+
+ + + + + + + + +
MeTemperature::MeTemperature (void )
+
+

Alternate Constructor which can call your own function to map the temperature sensor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeTemperature() [2/3]

+ +
+
+ + + + + + + + +
MeTemperature::MeTemperature (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the temperature sensor to arduino port, the slot2 pin will be used here since specify slot is not be set.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+ +

◆ MeTemperature() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
MeTemperature::MeTemperature (uint8_t port,
uint8_t slot 
)
+
+

Alternate Constructor which can call your own function to map the temperature sensor to arduino port.

Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ reset() [1/2]

+ +
+
+ + + + + + + + +
void MeTemperature::reset (uint8_t port)
+
+
Function
reset
+
Description
Reset the available PIN for temperature sensor by its RJ25 port, the slot2 pin will be used here since specify slot is not be set
+
Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ reset() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeTemperature::reset (uint8_t port,
uint8_t slot 
)
+
+
Function
reset
+
Description
Reset the available PIN for temperature sensor by its RJ25 port.
+
Parameters
+ + + +
[in]port- RJ25 port from PORT_1 to M2
[in]slot- SLOT1 or SLOT2
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeTemperature::setpin (uint8_t port)
+
+
Function
setpin
+
Description
Reset available PIN for temperature sensor by its arduino port.
+
Parameters
+ + +
[in]port- arduino port(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ temperature()

+ +
+
+ + + + + + + + +
float MeTemperature::temperature (void )
+
+
Function
temperature
+
Description
Get the celsius of temperature
+
Output
None
+
Returns
The temperature value get from the sensor.
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_temperature.js b/doc/html/class_me_temperature.js new file mode 100644 index 00000000..25c5f4a8 --- /dev/null +++ b/doc/html/class_me_temperature.js @@ -0,0 +1,10 @@ +var class_me_temperature = +[ + [ "MeTemperature", "class_me_temperature.html#a1583b8551a9f33b7abe02cbfe2761fa8", null ], + [ "MeTemperature", "class_me_temperature.html#a93c1c6633fa8515b317f83e4a780b71a", null ], + [ "MeTemperature", "class_me_temperature.html#a657de368a959e2f9985fc2867a6ea0e2", null ], + [ "reset", "class_me_temperature.html#acd6c944b6634a5db1d01d9827e089076", null ], + [ "reset", "class_me_temperature.html#ace428c9659b6d39de5ca5004cf9a6017", null ], + [ "setpin", "class_me_temperature.html#a4b6942b8b6c171c9b105d6e9f33dfcf8", null ], + [ "temperature", "class_me_temperature.html#a8dbbe2ee926c8a957c433c99d508563b", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_temperature.png b/doc/html/class_me_temperature.png new file mode 100644 index 00000000..30a53a88 Binary files /dev/null and b/doc/html/class_me_temperature.png differ diff --git a/doc/html/class_me_temperature__coll__graph.map b/doc/html/class_me_temperature__coll__graph.map new file mode 100644 index 00000000..371296fd --- /dev/null +++ b/doc/html/class_me_temperature__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_temperature__coll__graph.md5 b/doc/html/class_me_temperature__coll__graph.md5 new file mode 100644 index 00000000..9bacdeee --- /dev/null +++ b/doc/html/class_me_temperature__coll__graph.md5 @@ -0,0 +1 @@ +d047b4dae31b5c69da4aa11b032015ab \ No newline at end of file diff --git a/doc/html/class_me_temperature__coll__graph.png b/doc/html/class_me_temperature__coll__graph.png new file mode 100644 index 00000000..25503119 Binary files /dev/null and b/doc/html/class_me_temperature__coll__graph.png differ diff --git a/doc/html/class_me_temperature__inherit__graph.map b/doc/html/class_me_temperature__inherit__graph.map new file mode 100644 index 00000000..371296fd --- /dev/null +++ b/doc/html/class_me_temperature__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_temperature__inherit__graph.md5 b/doc/html/class_me_temperature__inherit__graph.md5 new file mode 100644 index 00000000..9bacdeee --- /dev/null +++ b/doc/html/class_me_temperature__inherit__graph.md5 @@ -0,0 +1 @@ +d047b4dae31b5c69da4aa11b032015ab \ No newline at end of file diff --git a/doc/html/class_me_temperature__inherit__graph.png b/doc/html/class_me_temperature__inherit__graph.png new file mode 100644 index 00000000..25503119 Binary files /dev/null and b/doc/html/class_me_temperature__inherit__graph.png differ diff --git a/doc/html/class_me_touch_sensor-members.html b/doc/html/class_me_touch_sensor-members.html new file mode 100644 index 00000000..8168ade9 --- /dev/null +++ b/doc/html/class_me_touch_sensor-members.html @@ -0,0 +1,138 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeTouchSensor Member List
+
+
+ +

This is the complete list of members for MeTouchSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeTouchSensor(void)MeTouchSensor
MeTouchSensor(uint8_t port)MeTouchSensor
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t TogPin, uint8_t OutputPin)MeTouchSensor
SetTogMode(uint8_t TogMode)MeTouchSensor
touched(void)MeTouchSensor
+
+ + + + diff --git a/doc/html/class_me_touch_sensor.html b/doc/html/class_me_touch_sensor.html new file mode 100644 index 00000000..2cc83a95 --- /dev/null +++ b/doc/html/class_me_touch_sensor.html @@ -0,0 +1,353 @@ + + + + + + + +MakeBlock Drive Updated: MeTouchSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeTouchSensor Class Reference
+
+
+ +

Driver for Me touch sensor device. + More...

+ +

#include <src/MeTouchSensor.h>

+
+Inheritance diagram for MeTouchSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeTouchSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeTouchSensor (void)
 
 MeTouchSensor (uint8_t port)
 
void setpin (uint8_t TogPin, uint8_t OutputPin)
 
bool touched (void)
 
void SetTogMode (uint8_t TogMode)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me touch sensor device.

+

Class: MeTouchSensor

Description
Declaration of Class MeTouchSensor.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeTouchSensor() [1/2]

+ +
+
+ + + + + + + + +
MeTouchSensor::MeTouchSensor (void )
+
+

Alternate Constructor which can call your own function to map the touch Sensor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeTouchSensor() [2/2]

+ +
+
+ + + + + + + + +
MeTouchSensor::MeTouchSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the touch Sensor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ setpin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void MeTouchSensor::setpin (uint8_t TogPin,
uint8_t OutputPin 
)
+
+
Function
setpin
+
Description
Reset the touch Sensor available PIN by its arduino port.
+
Parameters
+ + + +
[in]TogPin- arduino port for output type option pin(should digital pin)
[in]OutputPin- arduino port for output pin(should digital pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ SetTogMode()

+ +
+
+ + + + + + + + +
void MeTouchSensor::SetTogMode (uint8_t TogMode)
+
+
Function
SetTogMode
+
Description
Set the output type.
+
Parameters
+ + +
[in]TogMode- 1=> Toggle mode; 0(default)=>Direct mode
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ touched()

+ +
+
+ + + + + + + + +
bool MeTouchSensor::touched (void )
+
+
Function
touched
+
Description
Read and return the output signal.
+
Output
None
+
Returns
The output signal of touch sensor
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_touch_sensor.js b/doc/html/class_me_touch_sensor.js new file mode 100644 index 00000000..c8f8724a --- /dev/null +++ b/doc/html/class_me_touch_sensor.js @@ -0,0 +1,8 @@ +var class_me_touch_sensor = +[ + [ "MeTouchSensor", "class_me_touch_sensor.html#a09705164b54337f2f36da27c62854599", null ], + [ "MeTouchSensor", "class_me_touch_sensor.html#a0ecfd6da5fea8197e371ad544f9c07f9", null ], + [ "setpin", "class_me_touch_sensor.html#ac456229aced293ccdbea89a2e0d9dfc5", null ], + [ "SetTogMode", "class_me_touch_sensor.html#a1518fb0549ecf88e4d7060026563ecc6", null ], + [ "touched", "class_me_touch_sensor.html#a859d24b3f023a2eaf4b2a87ca5c11768", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_touch_sensor.png b/doc/html/class_me_touch_sensor.png new file mode 100644 index 00000000..ee50126a Binary files /dev/null and b/doc/html/class_me_touch_sensor.png differ diff --git a/doc/html/class_me_touch_sensor__coll__graph.map b/doc/html/class_me_touch_sensor__coll__graph.map new file mode 100644 index 00000000..c030baf8 --- /dev/null +++ b/doc/html/class_me_touch_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_touch_sensor__coll__graph.md5 b/doc/html/class_me_touch_sensor__coll__graph.md5 new file mode 100644 index 00000000..0278a7c4 --- /dev/null +++ b/doc/html/class_me_touch_sensor__coll__graph.md5 @@ -0,0 +1 @@ +9806e79f391e9bd25eee3d106578466c \ No newline at end of file diff --git a/doc/html/class_me_touch_sensor__coll__graph.png b/doc/html/class_me_touch_sensor__coll__graph.png new file mode 100644 index 00000000..e5acc00e Binary files /dev/null and b/doc/html/class_me_touch_sensor__coll__graph.png differ diff --git a/doc/html/class_me_touch_sensor__inherit__graph.map b/doc/html/class_me_touch_sensor__inherit__graph.map new file mode 100644 index 00000000..c030baf8 --- /dev/null +++ b/doc/html/class_me_touch_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_touch_sensor__inherit__graph.md5 b/doc/html/class_me_touch_sensor__inherit__graph.md5 new file mode 100644 index 00000000..0278a7c4 --- /dev/null +++ b/doc/html/class_me_touch_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +9806e79f391e9bd25eee3d106578466c \ No newline at end of file diff --git a/doc/html/class_me_touch_sensor__inherit__graph.png b/doc/html/class_me_touch_sensor__inherit__graph.png new file mode 100644 index 00000000..e5acc00e Binary files /dev/null and b/doc/html/class_me_touch_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_u_s_b_host-members.html b/doc/html/class_me_u_s_b_host-members.html new file mode 100644 index 00000000..03ef508e --- /dev/null +++ b/doc/html/class_me_u_s_b_host-members.html @@ -0,0 +1,145 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeUSBHost Member List
+
+
+ +

This is the complete list of members for MeUSBHost, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
ch375_online (defined in MeUSBHost)MeUSBHost
device_online (defined in MeUSBHost)MeUSBHost
device_ready (defined in MeUSBHost)MeUSBHost
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
host_recv()MeUSBHost
init(int8_t type)MeUSBHost
initHIDDevice()MeUSBHost
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeUSBHost()MeUSBHost
MeUSBHost(uint8_t s1, uint8_t s2) (defined in MeUSBHost)MeUSBHost
MeUSBHost(uint8_t port)MeUSBHost
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
probeDevice()MeUSBHost
RECV_BUFFER (defined in MeUSBHost)MeUSBHost
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
resetBus()MeUSBHost
s1MePortprotected
s2MePortprotected
+
+ + + + diff --git a/doc/html/class_me_u_s_b_host.html b/doc/html/class_me_u_s_b_host.html new file mode 100644 index 00000000..309665d8 --- /dev/null +++ b/doc/html/class_me_u_s_b_host.html @@ -0,0 +1,425 @@ + + + + + + + +MakeBlock Drive Updated: MeUSBHost Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeUSBHost Class Reference
+
+
+ +

Driver for Me USB Host module. + More...

+ +

#include <src/MeUSBHost.h>

+
+Inheritance diagram for MeUSBHost:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeUSBHost:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeUSBHost ()
 
MeUSBHost (uint8_t s1, uint8_t s2)
 
 MeUSBHost (uint8_t port)
 
void init (int8_t type)
 
int16_t initHIDDevice ()
 
int16_t probeDevice ()
 
void resetBus ()
 
uint8_t host_recv ()
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + +

+Public Attributes

+bool ch375_online
 
+bool device_online
 
+bool device_ready
 
+uint8_t RECV_BUFFER [CH375_MAX_DATA_LEN]
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me USB Host module.

+

Class: MeUSBHost

Description
Declaration of Class MeUSBHost.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeUSBHost() [1/2]

+ +
+
+ + + + + + + +
MeUSBHost::MeUSBHost ()
+
+

Alternate Constructor which can call your own function to map the USB Host to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeUSBHost() [2/2]

+ +
+
+ + + + + + + + +
MeUSBHost::MeUSBHost (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the USB Host to arduino port,
+ the slot2 pin will be used for key pin.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ host_recv()

+ +
+
+ + + + + + + +
uint8_t MeUSBHost::host_recv ()
+
+
Function
host_recv
+
Description
The USB Host receive data.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
Return the length of data.
+
Others
None
+ +
+
+ +

◆ init()

+ +
+
+ + + + + + + + +
void MeUSBHost::init (int8_t type)
+
+
Function
init
+
Description
Init the data Bus.
+
Parameters
+ + +
[in]type- The type of data Bus.
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ initHIDDevice()

+ +
+
+ + + + + + + +
int16_t MeUSBHost::initHIDDevice ()
+
+
Function
initHIDDevice
+
Description
Init the HID Device.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The result of initHIDDevice's action.
+
Others
None
+ +
+
+ +

◆ probeDevice()

+ +
+
+ + + + + + + +
int16_t MeUSBHost::probeDevice ()
+
+
Function
probeDevice
+
Description
Prode of USB Host Device.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
The result of device's probe.
+
Others
None
+ +
+
+ +

◆ resetBus()

+ +
+
+ + + + + + + +
void MeUSBHost::resetBus ()
+
+
Function
resetBus
+
Description
Reset the data Bus.
+
Parameters
+ + +
[in]None
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_u_s_b_host.js b/doc/html/class_me_u_s_b_host.js new file mode 100644 index 00000000..12dbfd27 --- /dev/null +++ b/doc/html/class_me_u_s_b_host.js @@ -0,0 +1,10 @@ +var class_me_u_s_b_host = +[ + [ "MeUSBHost", "class_me_u_s_b_host.html#a046694bf0110a4fed7650f2c370e167c", null ], + [ "MeUSBHost", "class_me_u_s_b_host.html#a27367dd6f4253fa7222af2cc4c90d91d", null ], + [ "host_recv", "class_me_u_s_b_host.html#afdf22bd1a9c271c87d981b3da4a6e711", null ], + [ "init", "class_me_u_s_b_host.html#a4a05983202d4f7479f3480053543d7e5", null ], + [ "initHIDDevice", "class_me_u_s_b_host.html#ab243f4416f3d91498c3b7a94abf96e0e", null ], + [ "probeDevice", "class_me_u_s_b_host.html#a1ec6f4ebdb3f888e04d8ef5c83ff75f0", null ], + [ "resetBus", "class_me_u_s_b_host.html#a11d5c84408175ade230ef51021c42232", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_u_s_b_host.png b/doc/html/class_me_u_s_b_host.png new file mode 100644 index 00000000..3d10f91f Binary files /dev/null and b/doc/html/class_me_u_s_b_host.png differ diff --git a/doc/html/class_me_u_s_b_host__coll__graph.map b/doc/html/class_me_u_s_b_host__coll__graph.map new file mode 100644 index 00000000..27aab225 --- /dev/null +++ b/doc/html/class_me_u_s_b_host__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_u_s_b_host__coll__graph.md5 b/doc/html/class_me_u_s_b_host__coll__graph.md5 new file mode 100644 index 00000000..63d1be0b --- /dev/null +++ b/doc/html/class_me_u_s_b_host__coll__graph.md5 @@ -0,0 +1 @@ +c2b01c1d769327b07302964b8dbf532a \ No newline at end of file diff --git a/doc/html/class_me_u_s_b_host__coll__graph.png b/doc/html/class_me_u_s_b_host__coll__graph.png new file mode 100644 index 00000000..f3d806c9 Binary files /dev/null and b/doc/html/class_me_u_s_b_host__coll__graph.png differ diff --git a/doc/html/class_me_u_s_b_host__inherit__graph.map b/doc/html/class_me_u_s_b_host__inherit__graph.map new file mode 100644 index 00000000..27aab225 --- /dev/null +++ b/doc/html/class_me_u_s_b_host__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_u_s_b_host__inherit__graph.md5 b/doc/html/class_me_u_s_b_host__inherit__graph.md5 new file mode 100644 index 00000000..63d1be0b --- /dev/null +++ b/doc/html/class_me_u_s_b_host__inherit__graph.md5 @@ -0,0 +1 @@ +c2b01c1d769327b07302964b8dbf532a \ No newline at end of file diff --git a/doc/html/class_me_u_s_b_host__inherit__graph.png b/doc/html/class_me_u_s_b_host__inherit__graph.png new file mode 100644 index 00000000..f3d806c9 Binary files /dev/null and b/doc/html/class_me_u_s_b_host__inherit__graph.png differ diff --git a/doc/html/class_me_ultrasonic_sensor-members.html b/doc/html/class_me_ultrasonic_sensor-members.html new file mode 100644 index 00000000..9b49a276 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor-members.html @@ -0,0 +1,139 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeUltrasonicSensor Member List
+
+
+ +

This is the complete list of members for MeUltrasonicSensor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_portMePortprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
distanceCm(uint16_t=400)MeUltrasonicSensor
distanceInch(uint16_t=180)MeUltrasonicSensor
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
getPort(void)MePort
getSlot(void)MePort
measure(unsigned long=30000)MeUltrasonicSensor
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeUltrasonicSensor(void)MeUltrasonicSensor
MeUltrasonicSensor(uint8_t port)MeUltrasonicSensor
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
setpin(uint8_t SignalPin)MeUltrasonicSensor
+
+ + + + diff --git a/doc/html/class_me_ultrasonic_sensor.html b/doc/html/class_me_ultrasonic_sensor.html new file mode 100644 index 00000000..0b7f8ca9 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor.html @@ -0,0 +1,379 @@ + + + + + + + +MakeBlock Drive Updated: MeUltrasonicSensor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeUltrasonicSensor Class Reference
+
+
+ +

Driver for Me ultrasonic sensor device. + More...

+ +

#include <src/MeUltrasonicSensor.h>

+
+Inheritance diagram for MeUltrasonicSensor:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for MeUltrasonicSensor:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeUltrasonicSensor (void)
 
 MeUltrasonicSensor (uint8_t port)
 
void setpin (uint8_t SignalPin)
 
double distanceCm (uint16_t=400)
 
double distanceInch (uint16_t=180)
 
long measure (unsigned long=30000)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me ultrasonic sensor device.

+

Class: MeUltrasonicSensor

Description
Declaration of Class MeUltrasonicSensor.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeUltrasonicSensor() [1/2]

+ +
+
+ + + + + + + + +
MeUltrasonicSensor::MeUltrasonicSensor (void )
+
+

Alternate Constructor which can call your own function to map the ultrasonic sensor to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeUltrasonicSensor() [2/2]

+ +
+
+ + + + + + + + +
MeUltrasonicSensor::MeUltrasonicSensor (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the ultrasonic Sensor to arduino port

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ distanceCm()

+ +
+
+ + + + + + + + +
double MeUltrasonicSensor::distanceCm (uint16_t MAXcm = 400)
+
+
Function
distanceCm
+
Description
Centimeters return the distance
+
Parameters
+ + +
[in]MAXcm- The Max centimeters can be measured, the default value is 400.
+
+
+
Output
None
+
Returns
The distance measurement in centimeters
+
Others
None
+ +
+
+ +

◆ distanceInch()

+ +
+
+ + + + + + + + +
double MeUltrasonicSensor::distanceInch (uint16_t MAXinch = 180)
+
+
Function
distanceInch
+
Description
Inch return the distance
+
Parameters
+ + +
[in]MAXinch- The Max inch can be measured, the default value is 180.
+
+
+
Output
None
+
Returns
The distance measurement in inch
+
Others
None
+ +
+
+ +

◆ measure()

+ +
+
+ + + + + + + + +
long MeUltrasonicSensor::measure (unsigned long timeout = 30000)
+
+
Function
measure
+
Description
To get the duration of the ultrasonic sensor
+
Parameters
+ + +
[in]timeout- This value is used to define the measurement range, The default value is 30000.
+
+
+
Output
None
+
Returns
The duration value associated with distance
+
Others
None
+ +
+
+ +

◆ setpin()

+ +
+
+ + + + + + + + +
void MeUltrasonicSensor::setpin (uint8_t SignalPin)
+
+
Function
setpin
+
Description
Reset the ultrasonic Sensor available PIN by its arduino port.
+
Parameters
+ + +
[in]SignalPin- arduino port for sensor read(should analog pin)
+
+
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_ultrasonic_sensor.js b/doc/html/class_me_ultrasonic_sensor.js new file mode 100644 index 00000000..f0eccb34 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor.js @@ -0,0 +1,9 @@ +var class_me_ultrasonic_sensor = +[ + [ "MeUltrasonicSensor", "class_me_ultrasonic_sensor.html#a1c80a8cdd1d38cbeda6d643d41dc1fa0", null ], + [ "MeUltrasonicSensor", "class_me_ultrasonic_sensor.html#a979e0ac40c81bc61a942de16a385c52f", null ], + [ "distanceCm", "class_me_ultrasonic_sensor.html#a72ad8300b4ab09413acb1e3f0a54c208", null ], + [ "distanceInch", "class_me_ultrasonic_sensor.html#a1a4ed1ecf9c37b556c4514306347ee29", null ], + [ "measure", "class_me_ultrasonic_sensor.html#ac2ccac04ce9765c9c4b33d878db32ff6", null ], + [ "setpin", "class_me_ultrasonic_sensor.html#aebf1069f210e0dcd0a8d8d44e9810f63", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_ultrasonic_sensor.png b/doc/html/class_me_ultrasonic_sensor.png new file mode 100644 index 00000000..4c417701 Binary files /dev/null and b/doc/html/class_me_ultrasonic_sensor.png differ diff --git a/doc/html/class_me_ultrasonic_sensor__coll__graph.map b/doc/html/class_me_ultrasonic_sensor__coll__graph.map new file mode 100644 index 00000000..80d45152 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_ultrasonic_sensor__coll__graph.md5 b/doc/html/class_me_ultrasonic_sensor__coll__graph.md5 new file mode 100644 index 00000000..f9dd2b74 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor__coll__graph.md5 @@ -0,0 +1 @@ +844a3b6f40368344604aa604226fac83 \ No newline at end of file diff --git a/doc/html/class_me_ultrasonic_sensor__coll__graph.png b/doc/html/class_me_ultrasonic_sensor__coll__graph.png new file mode 100644 index 00000000..bda61a7a Binary files /dev/null and b/doc/html/class_me_ultrasonic_sensor__coll__graph.png differ diff --git a/doc/html/class_me_ultrasonic_sensor__inherit__graph.map b/doc/html/class_me_ultrasonic_sensor__inherit__graph.map new file mode 100644 index 00000000..80d45152 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_me_ultrasonic_sensor__inherit__graph.md5 b/doc/html/class_me_ultrasonic_sensor__inherit__graph.md5 new file mode 100644 index 00000000..f9dd2b74 --- /dev/null +++ b/doc/html/class_me_ultrasonic_sensor__inherit__graph.md5 @@ -0,0 +1 @@ +844a3b6f40368344604aa604226fac83 \ No newline at end of file diff --git a/doc/html/class_me_ultrasonic_sensor__inherit__graph.png b/doc/html/class_me_ultrasonic_sensor__inherit__graph.png new file mode 100644 index 00000000..bda61a7a Binary files /dev/null and b/doc/html/class_me_ultrasonic_sensor__inherit__graph.png differ diff --git a/doc/html/class_me_voice-members.html b/doc/html/class_me_voice-members.html new file mode 100644 index 00000000..2c86263b --- /dev/null +++ b/doc/html/class_me_voice-members.html @@ -0,0 +1,175 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeVoice Member List
+
+
+ +

This is the complete list of members for MeVoice, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long=9600)MeVoice
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getCode(void)MeVoice
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
loop(void)MeVoice
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
MeVoice(void)MeVoice
MeVoice(uint8_t port)MeVoice
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read(void)MeVoicevirtual
readDataLine(void) (defined in MeSerial)MeSerial
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_voice.html b/doc/html/class_me_voice.html new file mode 100644 index 00000000..3fdac7b0 --- /dev/null +++ b/doc/html/class_me_voice.html @@ -0,0 +1,488 @@ + + + + + + + +MakeBlock Drive Updated: MeVoice Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeVoice Class Reference
+
+
+ +

Driver for Me voice device. + More...

+ +

#include <src/MeVoice.h>

+
+Inheritance diagram for MeVoice:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeVoice:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeVoice (void)
 
 MeVoice (uint8_t port)
 
void begin (long=9600)
 
int16_t read (void)
 
uint8_t getCode (void)
 
void loop (void)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me voice device.

+

Class: MeVoice

Description
Declaration of Class MeVoice
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeVoice() [1/2]

+ +
+
+ + + + + + + + +
MeVoice::MeVoice (void )
+
+

Alternate Constructor which can call your own function to map the Voice device to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeVoice() [2/2]

+ +
+
+ + + + + + + + +
MeVoice::MeVoice (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Voice device to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+

Member Function Documentation

+ +

◆ begin()

+ +
+
+ + + + + + + + +
void MeVoice::begin (long speed = 9600)
+
+
Function
begin
+
Description
Sets the speed (baud rate) for the serial communication. Supported baud rates is 57600 bps
+
Output
None
+
Returns
None
+
Others
None
+ +
+
+ +

◆ getCode()

+ +
+
+ + + + + + + + +
uint8_t MeVoice::getCode (void )
+
+
Function
getCode
+
Description
Get the button code
+
Output
None
+
Returns
Return the button code
+
Others
None
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + + +
void MeVoice::loop (void )
+
+
Function
loop
+
Description
This function used with getCode, it should called in the main loop
+
Output
None
+
Returns
None
+
Others
This function used with getCode
+ +
+
+ +

◆ read()

+ +
+
+ + + + + +
+ + + + + + + + +
int16_t MeVoice::read (void )
+
+virtual
+
+
Function
read
+
Description
Return a character that was received on the RX pin of the software serial port. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function).
+
Output
None
+
Returns
The character read, or -1 if none is available
+
Others
None
+ +

Reimplemented from MeSerial.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_voice.js b/doc/html/class_me_voice.js new file mode 100644 index 00000000..7f5acde8 --- /dev/null +++ b/doc/html/class_me_voice.js @@ -0,0 +1,9 @@ +var class_me_voice = +[ + [ "MeVoice", "class_me_voice.html#af9c1752c4d82263049f676b31ffb2438", null ], + [ "MeVoice", "class_me_voice.html#a4eaae4a750179d7132dc533a80e749b1", null ], + [ "begin", "class_me_voice.html#a54a988d062a82fa0514a2c268043bf7c", null ], + [ "getCode", "class_me_voice.html#a0ea6a575219b569d2c093cf50838e30b", null ], + [ "loop", "class_me_voice.html#ae31f0be6411947ecef97104bf26bf646", null ], + [ "read", "class_me_voice.html#a8e03afa2722be68289d8e5d7963935e9", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_voice.png b/doc/html/class_me_voice.png new file mode 100644 index 00000000..7d2d950d Binary files /dev/null and b/doc/html/class_me_voice.png differ diff --git a/doc/html/class_me_voice__coll__graph.map b/doc/html/class_me_voice__coll__graph.map new file mode 100644 index 00000000..3cf6cc44 --- /dev/null +++ b/doc/html/class_me_voice__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_voice__coll__graph.md5 b/doc/html/class_me_voice__coll__graph.md5 new file mode 100644 index 00000000..ae55aa24 --- /dev/null +++ b/doc/html/class_me_voice__coll__graph.md5 @@ -0,0 +1 @@ +37f31982575148055acd2c59547f8fb4 \ No newline at end of file diff --git a/doc/html/class_me_voice__coll__graph.png b/doc/html/class_me_voice__coll__graph.png new file mode 100644 index 00000000..701a925f Binary files /dev/null and b/doc/html/class_me_voice__coll__graph.png differ diff --git a/doc/html/class_me_voice__inherit__graph.map b/doc/html/class_me_voice__inherit__graph.map new file mode 100644 index 00000000..3cf6cc44 --- /dev/null +++ b/doc/html/class_me_voice__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_voice__inherit__graph.md5 b/doc/html/class_me_voice__inherit__graph.md5 new file mode 100644 index 00000000..ae55aa24 --- /dev/null +++ b/doc/html/class_me_voice__inherit__graph.md5 @@ -0,0 +1 @@ +37f31982575148055acd2c59547f8fb4 \ No newline at end of file diff --git a/doc/html/class_me_voice__inherit__graph.png b/doc/html/class_me_voice__inherit__graph.png new file mode 100644 index 00000000..701a925f Binary files /dev/null and b/doc/html/class_me_voice__inherit__graph.png differ diff --git a/doc/html/class_me_wifi-members.html b/doc/html/class_me_wifi-members.html new file mode 100644 index 00000000..e1ddc64a --- /dev/null +++ b/doc/html/class_me_wifi-members.html @@ -0,0 +1,173 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MeWifi Member List
+
+
+ +

This is the complete list of members for MeWifi, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bitPeriod (defined in MeSerial)MeSerialprotected
_byte (defined in MeSerial)MeSerialprotected
_hard (defined in MeSerial)MeSerialprotected
_lastTime (defined in MeSerial)MeSerialprotected
_polling (defined in MeSerial)MeSerialprotected
_portMePortprotected
_scratch (defined in MeSerial)MeSerialprotected
_slotMePortprotected
aRead1(void)MePort
aRead2(void)MePort
available()MeSerialvirtual
aWrite1(int16_t value)MePort
aWrite2(int16_t value)MePort
begin(long baudrate)MeSerial
buffer (defined in MeSerial)MeSerialprotected
bufferIndex (defined in MeSerial)MeSerialprotected
concatenateWith(String s1, String s2) (defined in MeSerial)MeSerial
dataLineAvailable(void) (defined in MeSerial)MeSerial
dpRead1(void)MePort
dpRead2(void)MePort
dRead1(uint8_t mode=INPUT)MePort
dRead2(uint8_t mode=INPUT)MePort
dWrite1(bool value)MePort
dWrite2(bool value)MePort
end(void)MeSerial
equalString(String s1, String s2) (defined in MeSerial)MeSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
getPort(void)MePort
getSlot(void)MePort
getValue(String key) (defined in MeSerial)MeSerial
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening(void)MeSerial
lastLine (defined in MeSerial)MeSerialprotected
letterOf(int i, String s) (defined in MeSerial)MeSerial
listen(void)MeSerial
MePort(void)MePort
MePort(uint8_t port)MePort
MePort(uint8_t port, uint8_t slot)MePort
MeSerial(void)MeSerial
MeSerial(uint8_t port)MeSerial
MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)MeSerial
MeWifi()MeWifi
MeWifi(uint8_t port)MeWifi
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
pin(void)MePort
pin(uint8_t port, uint8_t slot)MePort
pin1(void)MePort
pin2(void)MePort
poll(void)MeSerial
printf(char *fmt,...)MeSerial
read()MeSerialvirtual
readDataLine(void) (defined in MeSerial)MeSerial
reset(uint8_t port)MePort
reset(uint8_t port, uint8_t slot)MePort
s1MePortprotected
s2MePortprotected
sendString(char *str)MeSerial
setHardware(bool mode)MeSerial
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
stringLength(String s) (defined in MeSerial)MeSerial
write(uint8_t byte)MeSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_me_wifi.html b/doc/html/class_me_wifi.html new file mode 100644 index 00000000..a8c53171 --- /dev/null +++ b/doc/html/class_me_wifi.html @@ -0,0 +1,378 @@ + + + + + + + +MakeBlock Drive Updated: MeWifi Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
MeWifi Class Reference
+
+
+ +

Driver for Me wifi device. + More...

+ +

#include <src/MeWifi.h>

+
+Inheritance diagram for MeWifi:
+
+
Inheritance graph
+ + + + + + + + + + + +
[legend]
+
+Collaboration diagram for MeWifi:
+
+
Collaboration graph
+ + + + + + + + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MeWifi ()
 
 MeWifi (uint8_t port)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
+boolean dataLineAvailable (void)
 
+String readDataLine (void)
 
+String concatenateWith (String s1, String s2)
 
+char letterOf (int i, String s)
 
+int stringLength (String s)
 
+boolean equalString (String s1, String s2)
 
+float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
+static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
+bool _hard
 
+bool _polling
 
+bool _scratch
 
+int16_t _bitPeriod
 
+int16_t _byte
 
+long _lastTime
 
+char buffer [64]
 
+String lastLine
 
+int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 
+

Detailed Description

+

Driver for Me wifi device.

+

Class: MeWifi

Description
Declaration of Class MeWifi.
+
Copyright (C), 2012-2016, MakeBlock
+

Constructor & Destructor Documentation

+ +

◆ MeWifi() [1/2]

+ +
+
+ + + + + + + +
MeWifi::MeWifi ()
+
+

Alternate Constructor which can call your own function to map the Me wifi to arduino port, no pins are used or initialized here.

Parameters
+ + +
[in]None
+
+
+ +
+
+ +

◆ MeWifi() [2/2]

+ +
+
+ + + + + + + + +
MeWifi::MeWifi (uint8_t port)
+
+

Alternate Constructor which can call your own function to map the Me wifi to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
+ + +
[in]port- RJ25 port from PORT_1 to M2
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/doc/html/class_me_wifi.js b/doc/html/class_me_wifi.js new file mode 100644 index 00000000..c2d82037 --- /dev/null +++ b/doc/html/class_me_wifi.js @@ -0,0 +1,5 @@ +var class_me_wifi = +[ + [ "MeWifi", "class_me_wifi.html#aaec7c63be7254e4a4471b42c75ddf320", null ], + [ "MeWifi", "class_me_wifi.html#a1fc0a632eefc50c65c993cadbf2e91d8", null ] +]; \ No newline at end of file diff --git a/doc/html/class_me_wifi.png b/doc/html/class_me_wifi.png new file mode 100644 index 00000000..697c213f Binary files /dev/null and b/doc/html/class_me_wifi.png differ diff --git a/doc/html/class_me_wifi__coll__graph.map b/doc/html/class_me_wifi__coll__graph.map new file mode 100644 index 00000000..744cfae8 --- /dev/null +++ b/doc/html/class_me_wifi__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_wifi__coll__graph.md5 b/doc/html/class_me_wifi__coll__graph.md5 new file mode 100644 index 00000000..07c7044f --- /dev/null +++ b/doc/html/class_me_wifi__coll__graph.md5 @@ -0,0 +1 @@ +f6502939a11f204c544503535ead22b0 \ No newline at end of file diff --git a/doc/html/class_me_wifi__coll__graph.png b/doc/html/class_me_wifi__coll__graph.png new file mode 100644 index 00000000..6bfe5f5c Binary files /dev/null and b/doc/html/class_me_wifi__coll__graph.png differ diff --git a/doc/html/class_me_wifi__inherit__graph.map b/doc/html/class_me_wifi__inherit__graph.map new file mode 100644 index 00000000..744cfae8 --- /dev/null +++ b/doc/html/class_me_wifi__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/doc/html/class_me_wifi__inherit__graph.md5 b/doc/html/class_me_wifi__inherit__graph.md5 new file mode 100644 index 00000000..07c7044f --- /dev/null +++ b/doc/html/class_me_wifi__inherit__graph.md5 @@ -0,0 +1 @@ +f6502939a11f204c544503535ead22b0 \ No newline at end of file diff --git a/doc/html/class_me_wifi__inherit__graph.png b/doc/html/class_me_wifi__inherit__graph.png new file mode 100644 index 00000000..6bfe5f5c Binary files /dev/null and b/doc/html/class_me_wifi__inherit__graph.png differ diff --git a/doc/html/class_mecolor.html b/doc/html/class_mecolor.html new file mode 100644 index 00000000..582c2525 --- /dev/null +++ b/doc/html/class_mecolor.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Mecolor Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Mecolor Class Reference
+
+
+ +

Driver for MeColorSensor module. + More...

+ +

#include <src/MeColorSensor.h>

+

Detailed Description

+

Driver for MeColorSensor module.

+
Copyright (C), 2012-2016, MakeBlock
+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_s_p_i_class-members.html b/doc/html/class_s_p_i_class-members.html new file mode 100644 index 00000000..2350422f --- /dev/null +++ b/doc/html/class_s_p_i_class-members.html @@ -0,0 +1,122 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SPIClass Member List
+
+
+ +

This is the complete list of members for SPIClass, including all inherited members.

+ + + + + + + + + + + + + + + +
attachInterrupt() (defined in SPIClass)SPIClassinlinestatic
begin() (defined in SPIClass)SPIClassstatic
beginTransaction(SPISettings settings) (defined in SPIClass)SPIClassinlinestatic
detachInterrupt() (defined in SPIClass)SPIClassinlinestatic
end() (defined in SPIClass)SPIClassstatic
endTransaction(void) (defined in SPIClass)SPIClassinlinestatic
notUsingInterrupt(uint8_t interruptNumber) (defined in SPIClass)SPIClassstatic
setBitOrder(uint8_t bitOrder) (defined in SPIClass)SPIClassinlinestatic
setClockDivider(uint8_t clockDiv) (defined in SPIClass)SPIClassinlinestatic
setDataMode(uint8_t dataMode) (defined in SPIClass)SPIClassinlinestatic
transfer(uint8_t data) (defined in SPIClass)SPIClassinlinestatic
transfer(void *buf, size_t count) (defined in SPIClass)SPIClassinlinestatic
transfer16(uint16_t data) (defined in SPIClass)SPIClassinlinestatic
usingInterrupt(uint8_t interruptNumber) (defined in SPIClass)SPIClassstatic
+
+ + + + diff --git a/doc/html/class_s_p_i_class.html b/doc/html/class_s_p_i_class.html new file mode 100644 index 00000000..d3de90d1 --- /dev/null +++ b/doc/html/class_s_p_i_class.html @@ -0,0 +1,158 @@ + + + + + + + +MakeBlock Drive Updated: SPIClass Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
SPIClass Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static void begin ()
 
+static void usingInterrupt (uint8_t interruptNumber)
 
+static void notUsingInterrupt (uint8_t interruptNumber)
 
+static void beginTransaction (SPISettings settings)
 
+static uint8_t transfer (uint8_t data)
 
+static uint16_t transfer16 (uint16_t data)
 
+static void transfer (void *buf, size_t count)
 
+static void endTransaction (void)
 
+static void end ()
 
+static void setBitOrder (uint8_t bitOrder)
 
+static void setDataMode (uint8_t dataMode)
 
+static void setClockDivider (uint8_t clockDiv)
 
+static void attachInterrupt ()
 
+static void detachInterrupt ()
 
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_s_p_i_settings-members.html b/doc/html/class_s_p_i_settings-members.html new file mode 100644 index 00000000..e664723e --- /dev/null +++ b/doc/html/class_s_p_i_settings-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SPISettings Member List
+
+
+ +

This is the complete list of members for SPISettings, including all inherited members.

+ + + + +
SPIClass (defined in SPISettings)SPISettingsfriend
SPISettings(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) (defined in SPISettings)SPISettingsinline
SPISettings() (defined in SPISettings)SPISettingsinline
+
+ + + + diff --git a/doc/html/class_s_p_i_settings.html b/doc/html/class_s_p_i_settings.html new file mode 100644 index 00000000..24e6e33a --- /dev/null +++ b/doc/html/class_s_p_i_settings.html @@ -0,0 +1,126 @@ + + + + + + + +MakeBlock Drive Updated: SPISettings Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
SPISettings Class Reference
+
+
+ + + + +

+Public Member Functions

SPISettings (uint32_t clock, uint8_t bitOrder, uint8_t dataMode)
 
+ + + +

+Friends

+class SPIClass
 
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_servo-members.html b/doc/html/class_servo-members.html new file mode 100644 index 00000000..5293618b --- /dev/null +++ b/doc/html/class_servo-members.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Servo Member List
+
+
+ +

This is the complete list of members for Servo, including all inherited members.

+ + + + + + + + + + +
attach(int pin) (defined in Servo)Servo
attach(int pin, int min, int max) (defined in Servo)Servo
attached() (defined in Servo)Servo
detach() (defined in Servo)Servo
read() (defined in Servo)Servo
readMicroseconds() (defined in Servo)Servo
Servo() (defined in Servo)Servo
write(int value) (defined in Servo)Servo
writeMicroseconds(int value) (defined in Servo)Servo
+
+ + + + diff --git a/doc/html/class_servo.html b/doc/html/class_servo.html new file mode 100644 index 00000000..b1576690 --- /dev/null +++ b/doc/html/class_servo.html @@ -0,0 +1,140 @@ + + + + + + + +MakeBlock Drive Updated: Servo Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
Servo Class Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

+uint8_t attach (int pin)
 
+uint8_t attach (int pin, int min, int max)
 
+void detach ()
 
+void write (int value)
 
+void writeMicroseconds (int value)
 
+int read ()
 
+int readMicroseconds ()
 
+bool attached ()
 
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_software_serial-members.html b/doc/html/class_software_serial-members.html new file mode 100644 index 00000000..260bac2a --- /dev/null +++ b/doc/html/class_software_serial-members.html @@ -0,0 +1,123 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
SoftwareSerial Member List
+
+
+ +

This is the complete list of members for SoftwareSerial, including all inherited members.

+ + + + + + + + + + + + + + + + +
available() (defined in SoftwareSerial)SoftwareSerialvirtual
begin(long speed) (defined in SoftwareSerial)SoftwareSerial
end() (defined in SoftwareSerial)SoftwareSerial
flush() (defined in SoftwareSerial)SoftwareSerialvirtual
handle_interrupt() __attribute__((__always_inline__)) (defined in SoftwareSerial)SoftwareSerialinlinestatic
isListening() (defined in SoftwareSerial)SoftwareSerialinline
listen() (defined in SoftwareSerial)SoftwareSerial
operator bool() (defined in SoftwareSerial)SoftwareSerialinline
overflow() (defined in SoftwareSerial)SoftwareSerialinline
peek() (defined in SoftwareSerial)SoftwareSerial
read() (defined in SoftwareSerial)SoftwareSerialvirtual
SoftwareSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false) (defined in SoftwareSerial)SoftwareSerial
stopListening() (defined in SoftwareSerial)SoftwareSerial
write(uint8_t byte) (defined in SoftwareSerial)SoftwareSerialvirtual
~SoftwareSerial() (defined in SoftwareSerial)SoftwareSerial
+
+ + + + diff --git a/doc/html/class_software_serial.html b/doc/html/class_software_serial.html new file mode 100644 index 00000000..aa42e9d5 --- /dev/null +++ b/doc/html/class_software_serial.html @@ -0,0 +1,278 @@ + + + + + + + +MakeBlock Drive Updated: SoftwareSerial Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+Inheritance diagram for SoftwareSerial:
+
+
Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + +
[legend]
+
+Collaboration diagram for SoftwareSerial:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
+void begin (long speed)
 
+bool listen ()
 
+void end ()
 
+bool isListening ()
 
+bool stopListening ()
 
+bool overflow ()
 
+int peek ()
 
virtual size_t write (uint8_t byte)
 
virtual int read ()
 
virtual int available ()
 
+virtual void flush ()
 
operator bool ()
 
+ + + +

+Static Public Member Functions

+static void handle_interrupt () __attribute__((__always_inline__))
 
+

Member Function Documentation

+ +

◆ available()

+ +
+
+ + + + + +
+ + + + + + + +
virtual int SoftwareSerial::available ()
+
+virtual
+
+ +

Reimplemented in MeSerial.

+ +
+
+ +

◆ read()

+ +
+
+ + + + + +
+ + + + + + + +
virtual int SoftwareSerial::read ()
+
+virtual
+
+ +

Reimplemented in MeInfraredReceiver, MeSerial, and MeVoice.

+ +
+
+ +

◆ write()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual size_t SoftwareSerial::write (uint8_t byte)
+
+virtual
+
+ +

Reimplemented in MeSerial.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_software_serial.png b/doc/html/class_software_serial.png new file mode 100644 index 00000000..f7ab7ff4 Binary files /dev/null and b/doc/html/class_software_serial.png differ diff --git a/doc/html/class_software_serial__coll__graph.map b/doc/html/class_software_serial__coll__graph.map new file mode 100644 index 00000000..f210d705 --- /dev/null +++ b/doc/html/class_software_serial__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_software_serial__coll__graph.md5 b/doc/html/class_software_serial__coll__graph.md5 new file mode 100644 index 00000000..62050c3c --- /dev/null +++ b/doc/html/class_software_serial__coll__graph.md5 @@ -0,0 +1 @@ +784cb99f57a39707a07bf937bd69e77b \ No newline at end of file diff --git a/doc/html/class_software_serial__coll__graph.png b/doc/html/class_software_serial__coll__graph.png new file mode 100644 index 00000000..d4c2bff0 Binary files /dev/null and b/doc/html/class_software_serial__coll__graph.png differ diff --git a/doc/html/class_software_serial__inherit__graph.map b/doc/html/class_software_serial__inherit__graph.map new file mode 100644 index 00000000..830b1042 --- /dev/null +++ b/doc/html/class_software_serial__inherit__graph.map @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/class_software_serial__inherit__graph.md5 b/doc/html/class_software_serial__inherit__graph.md5 new file mode 100644 index 00000000..54a056cf --- /dev/null +++ b/doc/html/class_software_serial__inherit__graph.md5 @@ -0,0 +1 @@ +2299f95c80323d283df478be7b53da7f \ No newline at end of file diff --git a/doc/html/class_software_serial__inherit__graph.png b/doc/html/class_software_serial__inherit__graph.png new file mode 100644 index 00000000..0ede9c95 Binary files /dev/null and b/doc/html/class_software_serial__inherit__graph.png differ diff --git a/doc/html/class_two_wire-members.html b/doc/html/class_two_wire-members.html new file mode 100644 index 00000000..6b240abb --- /dev/null +++ b/doc/html/class_two_wire-members.html @@ -0,0 +1,135 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
TwoWire Member List
+
+
+ +

This is the complete list of members for TwoWire, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
available(void) (defined in TwoWire)TwoWirevirtual
begin() (defined in TwoWire)TwoWire
begin(uint8_t) (defined in TwoWire)TwoWire
begin(int) (defined in TwoWire)TwoWire
beginTransmission(uint8_t) (defined in TwoWire)TwoWire
beginTransmission(int) (defined in TwoWire)TwoWire
end() (defined in TwoWire)TwoWire
endTransmission(void) (defined in TwoWire)TwoWire
endTransmission(uint8_t) (defined in TwoWire)TwoWire
flush(void) (defined in TwoWire)TwoWirevirtual
onReceive(void(*)(int)) (defined in TwoWire)TwoWire
onRequest(void(*)(void)) (defined in TwoWire)TwoWire
peek(void) (defined in TwoWire)TwoWirevirtual
read(void) (defined in TwoWire)TwoWirevirtual
requestFrom(uint8_t, uint8_t) (defined in TwoWire)TwoWire
requestFrom(uint8_t, uint8_t, uint8_t) (defined in TwoWire)TwoWire
requestFrom(uint8_t, uint8_t, uint32_t, uint8_t, uint8_t) (defined in TwoWire)TwoWire
requestFrom(int, int) (defined in TwoWire)TwoWire
requestFrom(int, int, int) (defined in TwoWire)TwoWire
setClock(uint32_t) (defined in TwoWire)TwoWire
TwoWire() (defined in TwoWire)TwoWire
write(uint8_t) (defined in TwoWire)TwoWirevirtual
write(const uint8_t *, size_t) (defined in TwoWire)TwoWirevirtual
write(unsigned long n) (defined in TwoWire)TwoWireinline
write(long n) (defined in TwoWire)TwoWireinline
write(unsigned int n) (defined in TwoWire)TwoWireinline
write(int n) (defined in TwoWire)TwoWireinline
+
+ + + + diff --git a/doc/html/class_two_wire.html b/doc/html/class_two_wire.html new file mode 100644 index 00000000..7977e7b0 --- /dev/null +++ b/doc/html/class_two_wire.html @@ -0,0 +1,214 @@ + + + + + + + +MakeBlock Drive Updated: TwoWire Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
TwoWire Class Reference
+
+
+
+Inheritance diagram for TwoWire:
+
+
Inheritance graph
+ + + + + +
[legend]
+
+Collaboration diagram for TwoWire:
+
+
Collaboration graph
+ + + + + +
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+void begin ()
 
+void begin (uint8_t)
 
+void begin (int)
 
+void end ()
 
+void setClock (uint32_t)
 
+void beginTransmission (uint8_t)
 
+void beginTransmission (int)
 
+uint8_t endTransmission (void)
 
+uint8_t endTransmission (uint8_t)
 
+uint8_t requestFrom (uint8_t, uint8_t)
 
+uint8_t requestFrom (uint8_t, uint8_t, uint8_t)
 
+uint8_t requestFrom (uint8_t, uint8_t, uint32_t, uint8_t, uint8_t)
 
+uint8_t requestFrom (int, int)
 
+uint8_t requestFrom (int, int, int)
 
+virtual size_t write (uint8_t)
 
+virtual size_t write (const uint8_t *, size_t)
 
+virtual int available (void)
 
+virtual int read (void)
 
+virtual int peek (void)
 
+virtual void flush (void)
 
+void onReceive (void(*)(int))
 
+void onRequest (void(*)(void))
 
+size_t write (unsigned long n)
 
+size_t write (long n)
 
+size_t write (unsigned int n)
 
+size_t write (int n)
 
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/doc/html/class_two_wire.png b/doc/html/class_two_wire.png new file mode 100644 index 00000000..e81820ea Binary files /dev/null and b/doc/html/class_two_wire.png differ diff --git a/doc/html/class_two_wire__coll__graph.map b/doc/html/class_two_wire__coll__graph.map new file mode 100644 index 00000000..8190b2e4 --- /dev/null +++ b/doc/html/class_two_wire__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_two_wire__coll__graph.md5 b/doc/html/class_two_wire__coll__graph.md5 new file mode 100644 index 00000000..ccc48e2c --- /dev/null +++ b/doc/html/class_two_wire__coll__graph.md5 @@ -0,0 +1 @@ +6ed583cac3687868d7aeba299a6d2da2 \ No newline at end of file diff --git a/doc/html/class_two_wire__coll__graph.png b/doc/html/class_two_wire__coll__graph.png new file mode 100644 index 00000000..9ac32320 Binary files /dev/null and b/doc/html/class_two_wire__coll__graph.png differ diff --git a/doc/html/class_two_wire__inherit__graph.map b/doc/html/class_two_wire__inherit__graph.map new file mode 100644 index 00000000..8190b2e4 --- /dev/null +++ b/doc/html/class_two_wire__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/class_two_wire__inherit__graph.md5 b/doc/html/class_two_wire__inherit__graph.md5 new file mode 100644 index 00000000..ccc48e2c --- /dev/null +++ b/doc/html/class_two_wire__inherit__graph.md5 @@ -0,0 +1 @@ +6ed583cac3687868d7aeba299a6d2da2 \ No newline at end of file diff --git a/doc/html/class_two_wire__inherit__graph.png b/doc/html/class_two_wire__inherit__graph.png new file mode 100644 index 00000000..9ac32320 Binary files /dev/null and b/doc/html/class_two_wire__inherit__graph.png differ diff --git a/doc/html/classes.html b/doc/html/classes.html new file mode 100644 index 00000000..150d5e79 --- /dev/null +++ b/doc/html/classes.html @@ -0,0 +1,135 @@ + + + + + + + +MakeBlock Drive Updated: Class Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/doc/html/closed.png b/doc/html/closed.png new file mode 100644 index 00000000..98cc2c90 Binary files /dev/null and b/doc/html/closed.png differ diff --git a/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.html b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.html new file mode 100644 index 00000000..3057b9e0 --- /dev/null +++ b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.html @@ -0,0 +1,137 @@ + + + + + + + +MakeBlock Drive Updated: src/utility Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
utility Directory Reference
+
+
+
+Directory dependency graph for utility:
+
+
src/utility
+ + + + + +
+ + + + +

+Directories

 avr
 
+ + + + + + + + + + + + + +

+Files

 EEPROM.h
 
 Servo.h
 
 SoftwareSerial.h
 
 SPI.h
 
 twi.h
 
 Wire.h
 
+
+
+ + + + diff --git a/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.js b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.js new file mode 100644 index 00000000..5811a704 --- /dev/null +++ b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b.js @@ -0,0 +1,10 @@ +var dir_0619a8f54b4fad7043a6de45be8fde0b = +[ + [ "avr", "dir_5f3ac822815499ba28918a50b5949c2d.html", "dir_5f3ac822815499ba28918a50b5949c2d" ], + [ "EEPROM.h", "_e_e_p_r_o_m_8h_source.html", null ], + [ "Servo.h", "_servo_8h_source.html", null ], + [ "SoftwareSerial.h", "_software_serial_8h_source.html", null ], + [ "SPI.h", "_s_p_i_8h_source.html", null ], + [ "twi.h", "twi_8h_source.html", null ], + [ "Wire.h", "_wire_8h_source.html", null ] +]; \ No newline at end of file diff --git a/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.map b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.map new file mode 100644 index 00000000..e8ee6687 --- /dev/null +++ b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.md5 b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.md5 new file mode 100644 index 00000000..1269875c --- /dev/null +++ b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.md5 @@ -0,0 +1 @@ +b2b710f146de12fd4d385c0e55e0b4a9 \ No newline at end of file diff --git a/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.png b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.png new file mode 100644 index 00000000..fef23a37 Binary files /dev/null and b/doc/html/dir_0619a8f54b4fad7043a6de45be8fde0b_dep.png differ diff --git a/doc/html/dir_3643b276fb9490c80d50926eae963c39.html b/doc/html/dir_3643b276fb9490c80d50926eae963c39.html new file mode 100644 index 00000000..a54ec4ed --- /dev/null +++ b/doc/html/dir_3643b276fb9490c80d50926eae963c39.html @@ -0,0 +1,415 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol/Documents/Arduino/libraries/MakeBlock_Drive_Updated/src Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
src Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 Me4Button.cpp
 Driver for Me 4 Button module.
 
 Me4Button.h
 Header for Me4Button.cpp module.
 
 Me7SegmentDisplay.cpp
 Driver for Me 7 Segment Serial Display module.
 
 Me7SegmentDisplay.h
 Header file for Me7SegmentDisplay.cpp.
 
 MeAuriga.h
 Driver for MeAuriga board.
 
 MeBaseBoard.h
 Driver for BaseBoard.
 
 MeBluetooth.cpp
 Driver for Me Bluetooth device.
 
 MeBluetooth.h
 Header for MeBluetooth.cpp module.
 
 MeBuzzer.cpp
 Driver for Me Buzzer module.
 
 MeBuzzer.h
 Header for MeBuzzer.cpp module.
 
 MeColorSensor.cpp
 Driver for MeColorSensor module.
 
 MeColorSensor.h
 Header for MeColorSensor.cpp module.
 
 MeCompass.cpp
 Driver for MeCompass module.
 
 MeCompass.h
 Header for MeCompass.cpp module.
 
 MeConfig.h
 Configuration file of library.
 
 MeDCMotor.cpp
 Driver for Me DC motor device.
 
 MeDCMotor.h
 Header for MeDCMotor.cpp module.
 
 MeEEPROM.h
 Location map for EEPROM.
 
 MeEncoderMotor.cpp
 Driver for Encoder Motor module.
 
 MeEncoderMotor.h
 Header for MeEncoderMotor.cpp module.
 
 MeEncoderNew.cpp
 Driver for Me Encoder New module.
 
 MeEncoderNew.h
 Header for MeEncoderNew.cpp module.
 
 MeEncoderOnBoard.cpp
 Driver for Encoder module on MeAuriga and MeMegaPi.
 
 MeEncoderOnBoard.h
 Header for MeEncoderOnBoard.cpp module.
 
 MeFlameSensor.cpp
 Driver for Me flame snesor device.
 
 MeFlameSensor.h
 Header for MeFlameSensor.cpp module.
 
 MeGasSensor.cpp
 Driver for Me gas snesor device.
 
 MeGasSensor.h
 Header for MeGasSensor.cpp module.
 
 MeGyro.cpp
 Driver for MeGyro module.
 
 MeGyro.h
 Header for MeGyro.cpp module.
 
 MeHostParser.cpp
 Driver for Me Host Parser module.
 
 MeHostParser.h
 Header for MeHostParser.cpp module.
 
 MeHumitureSensor.cpp
 Driver for humiture sensor device.
 
 MeHumitureSensor.h
 Header for for MeHumitureSensor.cpp module.
 
 MeInfraredReceiver.cpp
 Driver for Me Infrared Receiver device.
 
 MeInfraredReceiver.h
 Header for for MeInfraredReceiver.cpp module.
 
 MeIR.cpp
 Driver for Me IR module.
 
 MeIR.h
 Header for MeIR.cpp module.
 
 MeJoystick.cpp
 Driver for Me Joystick module.
 
 MeJoystick.h
 Header for MeJoystick.cpp module.
 
 MeLEDMatrix.cpp
 Driver for Me LED Matrix module.
 
 MeLEDMatrix.h
 Header for MeLEDMatrix.cpp module.
 
 MeLEDMatrixData.h
 Symbol data for Me LED Matrix module.
 
 MeLightSensor.cpp
 Driver for Me-Light Sensor module.
 
 MeLightSensor.h
 Header file for Me-Light Sensor.cpp.
 
 MeLimitSwitch.cpp
 Driver for Me LimitSwitch module.
 
 MeLimitSwitch.h
 Header for MeLimitSwitch.cpp.
 
 MeLineFollower.cpp
 Driver for Me line follwer device.
 
 MeLineFollower.h
 Header for for MeLineFollower.cpp module.
 
 MeMbotDCMotor.cpp
 Driver for Mbot DC Motor.
 
 MeMbotDCMotor.h
 Driver for Mbot DC Motor.
 
 MeMCore.h
 Driver for mCore Board.
 
 MeMegaPi.h
 Driver for MegaPi board.
 
 MeMegaPiDCMotor.cpp
 Driver for Me Megapi DC motor device.
 
 MeMegaPiDCMotor.h
 Header for MeMegaPiDCMotor.cpp module.
 
 MeMegaPiPro.h
 Driver for MegaPiPro board.
 
 MeMegaPiPro4DcMotor.cpp
 Driver for Me DC motor device.
 
 MeMegaPiPro4DcMotor.h
 Header for MeMegaPiPro4DcMotor.cpp module.
 
 MeMegaPiProESCMotor.cpp
 Driver for Me Megapipro ESC motor device.
 
 MeMegaPiProESCMotor.h
 Header for MeMegaPiProESCMotor.cpp module.
 
 MeOnBoardTemp.cpp
 Driver for Auriga On Board Temperature device.
 
 MeOnBoardTemp.h
 Header for MeOnBoardTemp.cpp module.
 
 MeOneWire.cpp
 Driver for 1-wire protocol.
 
 MeOneWire.h
 Header for MeOneWire.cpp module.
 
 MeOrion.h
 Driver for MeOrion board.
 
 MePIRMotionSensor.cpp
 Driver for Me PIR Motion Sensor module.
 
 MePIRMotionSensor.h
 Header for MePIRMotionSensor.cpp.
 
 MePm25Sensor.cpp
 Driver for Me PM2.5 sensor device.
 
 MePm25Sensor.h
 Header for for MePm25Sensor.cpp module.
 
 MePort.cpp
 Port Mapping for RJ25.
 
 MePort.h
 Header for MePort.cpp module.
 
 MePotentiometer.cpp
 Driver for Me potentiometer module.
 
 MePotentiometer.h
 Header for MePotentiometer.cpp.
 
 MePressureSensor.h
 
 MePS2.cpp
 Driver for MePS2 device.
 
 MePS2.h
 Header for MePS2.cpp module.
 
 MeRGBLed.cpp
 Driver for W2812 full-color LED lights.
 
 MeRGBLed.h
 Header for MeRGBLed.cpp module.
 
 MeSerial.cpp
 this file is a drive for serial
 
 MeSerial.h
 Header for for MeSerial.cpp module.
 
 MeShield.h
 Driver for Shield Board.
 
 MeShutter.cpp
 Driver for Me Shutter device.
 
 MeShutter.h
 Header for MeShutter.cpp module.
 
 MeSmartServo.cpp
 Driver for Me Smart Servo device.
 
 MeSmartServo.h
 Header for for MeSmartServo.cpp module.
 
 MeSoundSensor.cpp
 Driver for Me sound sensor device.
 
 MeStepper.cpp
 Driver for Stepper device.
 
 MeStepper.h
 Header for MeStepper.cpp module.
 
 MeStepperOnBoard.cpp
 Driver for Stepper device.
 
 MeStepperOnBoard.h
 Header for MeStepperOnBoard.cpp module.
 
 MeTemperature.cpp
 Driver for temperature sensor device.
 
 MeTemperature.h
 Header for MeTemperature.cpp module.
 
 MeTouchSensor.cpp
 Driver for Me touch sensor device.
 
 MeTouchSensor.h
 Header for for MeTouchSensor.cpp module.
 
 MeUltrasonicSensor.cpp
 Driver for Me ultrasonic sensor device.
 
 MeUltrasonicSensor.h
 Header for for MeUltrasonicSensor.cpp module.
 
 MeUSBHost.cpp
 Driver for Me USB Host module.
 
 MeUSBHost.h
 Header for MeUSBHost.cpp module.
 
 MeVoice.cpp
 Driver for Me voice device.
 
 MeVoice.h
 Header for for MeVoice.cpp module.
 
 MeWifi.cpp
 Driver for Me wifi device.
 
 MeWifi.h
 Header for for MeWifi.cpp module.
 
+
+
+ + + + diff --git a/doc/html/dir_3643b276fb9490c80d50926eae963c39.js b/doc/html/dir_3643b276fb9490c80d50926eae963c39.js new file mode 100644 index 00000000..e34c9bad --- /dev/null +++ b/doc/html/dir_3643b276fb9490c80d50926eae963c39.js @@ -0,0 +1,105 @@ +var dir_3643b276fb9490c80d50926eae963c39 = +[ + [ "Me4Button.cpp", "_me4_button_8cpp.html", null ], + [ "Me4Button.h", "_me4_button_8h.html", "_me4_button_8h" ], + [ "Me7SegmentDisplay.cpp", "_me7_segment_display_8cpp.html", null ], + [ "Me7SegmentDisplay.h", "_me7_segment_display_8h.html", "_me7_segment_display_8h" ], + [ "MeAuriga.h", "_me_auriga_8h.html", null ], + [ "MeBaseBoard.h", "_me_base_board_8h.html", null ], + [ "MeBluetooth.cpp", "_me_bluetooth_8cpp.html", null ], + [ "MeBluetooth.h", "_me_bluetooth_8h.html", "_me_bluetooth_8h" ], + [ "MeBuzzer.cpp", "_me_buzzer_8cpp.html", null ], + [ "MeBuzzer.h", "_me_buzzer_8h.html", "_me_buzzer_8h" ], + [ "MeColorSensor.cpp", "_me_color_sensor_8cpp.html", null ], + [ "MeColorSensor.h", "_me_color_sensor_8h.html", "_me_color_sensor_8h" ], + [ "MeCompass.cpp", "_me_compass_8cpp.html", null ], + [ "MeCompass.h", "_me_compass_8h.html", "_me_compass_8h" ], + [ "MeConfig.h", "_me_config_8h.html", null ], + [ "MeDCMotor.cpp", "_me_d_c_motor_8cpp.html", null ], + [ "MeDCMotor.h", "_me_d_c_motor_8h.html", "_me_d_c_motor_8h" ], + [ "MeEEPROM.h", "_me_e_e_p_r_o_m_8h.html", null ], + [ "MeEncoderMotor.cpp", "_me_encoder_motor_8cpp.html", "_me_encoder_motor_8cpp" ], + [ "MeEncoderMotor.h", "_me_encoder_motor_8h.html", "_me_encoder_motor_8h" ], + [ "MeEncoderNew.cpp", "_me_encoder_new_8cpp.html", null ], + [ "MeEncoderNew.h", "_me_encoder_new_8h.html", "_me_encoder_new_8h" ], + [ "MeEncoderOnBoard.cpp", "_me_encoder_on_board_8cpp.html", null ], + [ "MeEncoderOnBoard.h", "_me_encoder_on_board_8h.html", "_me_encoder_on_board_8h" ], + [ "MeFlameSensor.cpp", "_me_flame_sensor_8cpp.html", null ], + [ "MeFlameSensor.h", "_me_flame_sensor_8h.html", "_me_flame_sensor_8h" ], + [ "MeGasSensor.cpp", "_me_gas_sensor_8cpp.html", null ], + [ "MeGasSensor.h", "_me_gas_sensor_8h.html", "_me_gas_sensor_8h" ], + [ "MeGyro.cpp", "_me_gyro_8cpp.html", null ], + [ "MeGyro.h", "_me_gyro_8h.html", "_me_gyro_8h" ], + [ "MeHostParser.cpp", "_me_host_parser_8cpp.html", "_me_host_parser_8cpp" ], + [ "MeHostParser.h", "_me_host_parser_8h.html", "_me_host_parser_8h" ], + [ "MeHumitureSensor.cpp", "_me_humiture_sensor_8cpp.html", null ], + [ "MeHumitureSensor.h", "_me_humiture_sensor_8h.html", "_me_humiture_sensor_8h" ], + [ "MeInfraredReceiver.cpp", "_me_infrared_receiver_8cpp.html", null ], + [ "MeInfraredReceiver.h", "_me_infrared_receiver_8h.html", "_me_infrared_receiver_8h" ], + [ "MeIR.cpp", "_me_i_r_8cpp.html", null ], + [ "MeIR.h", "_me_i_r_8h.html", "_me_i_r_8h" ], + [ "MeJoystick.cpp", "_me_joystick_8cpp.html", null ], + [ "MeJoystick.h", "_me_joystick_8h.html", "_me_joystick_8h" ], + [ "MeLEDMatrix.cpp", "_me_l_e_d_matrix_8cpp.html", null ], + [ "MeLEDMatrix.h", "_me_l_e_d_matrix_8h.html", "_me_l_e_d_matrix_8h" ], + [ "MeLEDMatrixData.h", "_me_l_e_d_matrix_data_8h.html", "_me_l_e_d_matrix_data_8h" ], + [ "MeLightSensor.cpp", "_me_light_sensor_8cpp.html", null ], + [ "MeLightSensor.h", "_me_light_sensor_8h.html", "_me_light_sensor_8h" ], + [ "MeLimitSwitch.cpp", "_me_limit_switch_8cpp.html", null ], + [ "MeLimitSwitch.h", "_me_limit_switch_8h.html", "_me_limit_switch_8h" ], + [ "MeLineFollower.cpp", "_me_line_follower_8cpp.html", null ], + [ "MeLineFollower.h", "_me_line_follower_8h.html", "_me_line_follower_8h" ], + [ "MeMbotDCMotor.cpp", "_me_mbot_d_c_motor_8cpp.html", null ], + [ "MeMbotDCMotor.h", "_me_mbot_d_c_motor_8h.html", "_me_mbot_d_c_motor_8h" ], + [ "MeMCore.h", "_me_m_core_8h.html", null ], + [ "MeMegaPi.h", "_me_mega_pi_8h.html", null ], + [ "MeMegaPiDCMotor.cpp", "_me_mega_pi_d_c_motor_8cpp.html", null ], + [ "MeMegaPiDCMotor.h", "_me_mega_pi_d_c_motor_8h.html", "_me_mega_pi_d_c_motor_8h" ], + [ "MeMegaPiPro.h", "_me_mega_pi_pro_8h.html", null ], + [ "MeMegaPiPro4DcMotor.cpp", "_me_mega_pi_pro4_dc_motor_8cpp.html", null ], + [ "MeMegaPiPro4DcMotor.h", "_me_mega_pi_pro4_dc_motor_8h.html", "_me_mega_pi_pro4_dc_motor_8h" ], + [ "MeMegaPiProESCMotor.cpp", "_me_mega_pi_pro_e_s_c_motor_8cpp.html", null ], + [ "MeMegaPiProESCMotor.h", "_me_mega_pi_pro_e_s_c_motor_8h.html", "_me_mega_pi_pro_e_s_c_motor_8h" ], + [ "MeOnBoardTemp.cpp", "_me_on_board_temp_8cpp.html", null ], + [ "MeOnBoardTemp.h", "_me_on_board_temp_8h.html", "_me_on_board_temp_8h" ], + [ "MeOneWire.cpp", "_me_one_wire_8cpp.html", null ], + [ "MeOneWire.h", "_me_one_wire_8h.html", "_me_one_wire_8h" ], + [ "MeOrion.h", "_me_orion_8h.html", null ], + [ "MePIRMotionSensor.cpp", "_me_p_i_r_motion_sensor_8cpp.html", null ], + [ "MePIRMotionSensor.h", "_me_p_i_r_motion_sensor_8h.html", "_me_p_i_r_motion_sensor_8h" ], + [ "MePm25Sensor.cpp", "_me_pm25_sensor_8cpp.html", null ], + [ "MePm25Sensor.h", "_me_pm25_sensor_8h.html", "_me_pm25_sensor_8h" ], + [ "MePort.cpp", "_me_port_8cpp.html", null ], + [ "MePort.h", "_me_port_8h.html", "_me_port_8h" ], + [ "MePotentiometer.cpp", "_me_potentiometer_8cpp.html", null ], + [ "MePotentiometer.h", "_me_potentiometer_8h.html", "_me_potentiometer_8h" ], + [ "MePressureSensor.h", "_me_pressure_sensor_8h_source.html", null ], + [ "MePS2.cpp", "_me_p_s2_8cpp.html", null ], + [ "MePS2.h", "_me_p_s2_8h.html", "_me_p_s2_8h" ], + [ "MeRGBLed.cpp", "_me_r_g_b_led_8cpp.html", null ], + [ "MeRGBLed.h", "_me_r_g_b_led_8h.html", "_me_r_g_b_led_8h" ], + [ "MeSerial.cpp", "_me_serial_8cpp.html", null ], + [ "MeSerial.h", "_me_serial_8h.html", "_me_serial_8h" ], + [ "MeShield.h", "_me_shield_8h.html", null ], + [ "MeShutter.cpp", "_me_shutter_8cpp.html", null ], + [ "MeShutter.h", "_me_shutter_8h.html", "_me_shutter_8h" ], + [ "MeSmartServo.cpp", "_me_smart_servo_8cpp.html", null ], + [ "MeSmartServo.h", "_me_smart_servo_8h.html", "_me_smart_servo_8h" ], + [ "MeSoundSensor.cpp", "_me_sound_sensor_8cpp.html", null ], + [ "MeStepper.cpp", "_me_stepper_8cpp.html", "_me_stepper_8cpp" ], + [ "MeStepper.h", "_me_stepper_8h.html", "_me_stepper_8h" ], + [ "MeStepperOnBoard.cpp", "_me_stepper_on_board_8cpp.html", "_me_stepper_on_board_8cpp" ], + [ "MeStepperOnBoard.h", "_me_stepper_on_board_8h.html", "_me_stepper_on_board_8h" ], + [ "MeTemperature.cpp", "_me_temperature_8cpp.html", null ], + [ "MeTemperature.h", "_me_temperature_8h.html", "_me_temperature_8h" ], + [ "MeTouchSensor.cpp", "_me_touch_sensor_8cpp.html", null ], + [ "MeTouchSensor.h", "_me_touch_sensor_8h.html", "_me_touch_sensor_8h" ], + [ "MeUltrasonicSensor.cpp", "_me_ultrasonic_sensor_8cpp.html", null ], + [ "MeUltrasonicSensor.h", "_me_ultrasonic_sensor_8h.html", "_me_ultrasonic_sensor_8h" ], + [ "MeUSBHost.cpp", "_me_u_s_b_host_8cpp.html", null ], + [ "MeUSBHost.h", "_me_u_s_b_host_8h.html", "_me_u_s_b_host_8h" ], + [ "MeVoice.cpp", "_me_voice_8cpp.html", null ], + [ "MeVoice.h", "_me_voice_8h.html", "_me_voice_8h" ], + [ "MeWifi.cpp", "_me_wifi_8cpp.html", null ], + [ "MeWifi.h", "_me_wifi_8h.html", "_me_wifi_8h" ] +]; \ No newline at end of file diff --git a/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.html b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.html new file mode 100644 index 00000000..03af60fa --- /dev/null +++ b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.html @@ -0,0 +1,121 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/avr Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
avr Directory Reference
+
+
+
+Directory dependency graph for avr:
+
+
src/utility/avr
+ + + + +
+ + + + +

+Files

 ServoTimers.h
 
+
+
+ + + + diff --git a/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.js b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.js new file mode 100644 index 00000000..18e2a736 --- /dev/null +++ b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d.js @@ -0,0 +1,4 @@ +var dir_5f3ac822815499ba28918a50b5949c2d = +[ + [ "ServoTimers.h", "_servo_timers_8h_source.html", null ] +]; \ No newline at end of file diff --git a/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.map b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.map new file mode 100644 index 00000000..e62c9ecc --- /dev/null +++ b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.map @@ -0,0 +1,4 @@ + + + + diff --git a/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.md5 b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.md5 new file mode 100644 index 00000000..16ef0206 --- /dev/null +++ b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.md5 @@ -0,0 +1 @@ +22fab30e95e28b15d5b72c2c2d21a31f \ No newline at end of file diff --git a/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.png b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.png new file mode 100644 index 00000000..94434879 Binary files /dev/null and b/doc/html/dir_5f3ac822815499ba28918a50b5949c2d_dep.png differ diff --git a/doc/html/dir_64e73385a8b7738563c26ce10415b58d.html b/doc/html/dir_64e73385a8b7738563c26ce10415b58d.html new file mode 100644 index 00000000..4d2e472f --- /dev/null +++ b/doc/html/dir_64e73385a8b7738563c26ce10415b58d.html @@ -0,0 +1,127 @@ + + + + + + + +MakeBlock Drive Updated: utility Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
utility Directory Reference
+
+
+ + + + +

+Directories

 avr
 
+ + + + + + + + + + + + + +

+Files

 EEPROM.h
 
 Servo.h
 
 SoftwareSerial.h
 
 SPI.h
 
 twi.h
 
 Wire.h
 
+
+
+ + + + diff --git a/doc/html/dir_64e73385a8b7738563c26ce10415b58d.js b/doc/html/dir_64e73385a8b7738563c26ce10415b58d.js new file mode 100644 index 00000000..eafef33d --- /dev/null +++ b/doc/html/dir_64e73385a8b7738563c26ce10415b58d.js @@ -0,0 +1,10 @@ +var dir_64e73385a8b7738563c26ce10415b58d = +[ + [ "avr", "dir_9b7846f2027e73718d3ad8e9e45ae6f0.html", "dir_9b7846f2027e73718d3ad8e9e45ae6f0" ], + [ "EEPROM.h", "_e_e_p_r_o_m_8h_source.html", null ], + [ "Servo.h", "_servo_8h_source.html", null ], + [ "SoftwareSerial.h", "_software_serial_8h_source.html", null ], + [ "SPI.h", "_s_p_i_8h_source.html", null ], + [ "twi.h", "twi_8h_source.html", null ], + [ "Wire.h", "_wire_8h_source.html", null ] +]; \ No newline at end of file diff --git a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 00000000..cff18cde --- /dev/null +++ b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,420 @@ + + + + + + + +MakeBlock Drive Updated: src Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
src Directory Reference
+
+
+ + + + +

+Directories

 utility
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

 Me4Button.cpp
 Driver for Me 4 Button module.
 
 Me4Button.h
 Header for Me4Button.cpp module.
 
 Me7SegmentDisplay.cpp
 Driver for Me 7 Segment Serial Display module.
 
 Me7SegmentDisplay.h
 Header file for Me7SegmentDisplay.cpp.
 
 MeAuriga.h
 Driver for MeAuriga board.
 
 MeBaseBoard.h
 Driver for BaseBoard.
 
 MeBluetooth.cpp
 Driver for Me Bluetooth device.
 
 MeBluetooth.h
 Header for MeBluetooth.cpp module.
 
 MeBuzzer.cpp
 Driver for Me Buzzer module.
 
 MeBuzzer.h
 Header for MeBuzzer.cpp module.
 
 MeColorSensor.cpp
 Driver for MeColorSensor module.
 
 MeColorSensor.h
 Header for MeColorSensor.cpp module.
 
 MeCompass.cpp
 Driver for MeCompass module.
 
 MeCompass.h
 Header for MeCompass.cpp module.
 
 MeConfig.h
 Configuration file of library.
 
 MeDCMotor.cpp
 Driver for Me DC motor device.
 
 MeDCMotor.h
 Header for MeDCMotor.cpp module.
 
 MeEEPROM.h
 Location map for EEPROM.
 
 MeEncoderMotor.cpp
 Driver for Encoder Motor module.
 
 MeEncoderMotor.h
 Header for MeEncoderMotor.cpp module.
 
 MeEncoderNew.cpp
 Driver for Me Encoder New module.
 
 MeEncoderNew.h
 Header for MeEncoderNew.cpp module.
 
 MeEncoderOnBoard.cpp
 Driver for Encoder module on MeAuriga and MeMegaPi.
 
 MeEncoderOnBoard.h
 Header for MeEncoderOnBoard.cpp module.
 
 MeFlameSensor.cpp
 Driver for Me flame snesor device.
 
 MeFlameSensor.h
 Header for MeFlameSensor.cpp module.
 
 MeGasSensor.cpp
 Driver for Me gas snesor device.
 
 MeGasSensor.h
 Header for MeGasSensor.cpp module.
 
 MeGyro.cpp
 Driver for MeGyro module.
 
 MeGyro.h
 Header for MeGyro.cpp module.
 
 MeHostParser.cpp
 Driver for Me Host Parser module.
 
 MeHostParser.h
 Header for MeHostParser.cpp module.
 
 MeHumitureSensor.cpp
 Driver for humiture sensor device.
 
 MeHumitureSensor.h
 Header for for MeHumitureSensor.cpp module.
 
 MeInfraredReceiver.cpp
 Driver for Me Infrared Receiver device.
 
 MeInfraredReceiver.h
 Header for for MeInfraredReceiver.cpp module.
 
 MeIR.cpp
 Driver for Me IR module.
 
 MeIR.h
 Header for MeIR.cpp module.
 
 MeJoystick.cpp
 Driver for Me Joystick module.
 
 MeJoystick.h
 Header for MeJoystick.cpp module.
 
 MeLEDMatrix.cpp
 Driver for Me LED Matrix module.
 
 MeLEDMatrix.h
 Header for MeLEDMatrix.cpp module.
 
 MeLEDMatrixData.h
 Symbol data for Me LED Matrix module.
 
 MeLightSensor.cpp
 Driver for Me-Light Sensor module.
 
 MeLightSensor.h
 Header file for Me-Light Sensor.cpp.
 
 MeLimitSwitch.cpp
 Driver for Me LimitSwitch module.
 
 MeLimitSwitch.h
 Header for MeLimitSwitch.cpp.
 
 MeLineFollower.cpp
 Driver for Me line follwer device.
 
 MeLineFollower.h
 Header for for MeLineFollower.cpp module.
 
 MeMbotDCMotor.cpp
 Driver for Mbot DC Motor.
 
 MeMbotDCMotor.h
 Driver for Mbot DC Motor.
 
 MeMCore.h
 Driver for mCore Board.
 
 MeMegaPi.h
 Driver for MegaPi board.
 
 MeMegaPiDCMotor.cpp
 Driver for Me Megapi DC motor device.
 
 MeMegaPiDCMotor.h
 Header for MeMegaPiDCMotor.cpp module.
 
 MeMegaPiPro.h
 Driver for MegaPiPro board.
 
 MeMegaPiPro4DcMotor.cpp
 Driver for Me DC motor device.
 
 MeMegaPiPro4DcMotor.h
 Header for MeMegaPiPro4DcMotor.cpp module.
 
 MeMegaPiProESCMotor.cpp
 Driver for Me Megapipro ESC motor device.
 
 MeMegaPiProESCMotor.h
 Header for MeMegaPiProESCMotor.cpp module.
 
 MeOnBoardTemp.cpp
 Driver for Auriga On Board Temperature device.
 
 MeOnBoardTemp.h
 Header for MeOnBoardTemp.cpp module.
 
 MeOneWire.cpp
 Driver for 1-wire protocol.
 
 MeOneWire.h
 Header for MeOneWire.cpp module.
 
 MeOrion.h
 Driver for MeOrion board.
 
 MePIRMotionSensor.cpp
 Driver for Me PIR Motion Sensor module.
 
 MePIRMotionSensor.h
 Header for MePIRMotionSensor.cpp.
 
 MePm25Sensor.cpp
 Driver for Me PM2.5 sensor device.
 
 MePm25Sensor.h
 Header for for MePm25Sensor.cpp module.
 
 MePort.cpp
 Port Mapping for RJ25.
 
 MePort.h
 Header for MePort.cpp module.
 
 MePotentiometer.cpp
 Driver for Me potentiometer module.
 
 MePotentiometer.h
 Header for MePotentiometer.cpp.
 
 MePressureSensor.h
 
 MePS2.cpp
 Driver for MePS2 device.
 
 MePS2.h
 Header for MePS2.cpp module.
 
 MeRGBLed.cpp
 Driver for W2812 full-color LED lights.
 
 MeRGBLed.h
 Header for MeRGBLed.cpp module.
 
 MeSerial.cpp
 this file is a drive for serial
 
 MeSerial.h
 Header for for MeSerial.cpp module.
 
 MeShield.h
 Driver for Shield Board.
 
 MeShutter.cpp
 Driver for Me Shutter device.
 
 MeShutter.h
 Header for MeShutter.cpp module.
 
 MeSmartServo.cpp
 Driver for Me Smart Servo device.
 
 MeSmartServo.h
 Header for for MeSmartServo.cpp module.
 
 MeSoundSensor.cpp
 Driver for Me sound sensor device.
 
 MeStepper.cpp
 Driver for Stepper device.
 
 MeStepper.h
 Header for MeStepper.cpp module.
 
 MeStepperOnBoard.cpp
 Driver for Stepper device.
 
 MeStepperOnBoard.h
 Header for MeStepperOnBoard.cpp module.
 
 MeTemperature.cpp
 Driver for temperature sensor device.
 
 MeTemperature.h
 Header for MeTemperature.cpp module.
 
 MeTouchSensor.cpp
 Driver for Me touch sensor device.
 
 MeTouchSensor.h
 Header for for MeTouchSensor.cpp module.
 
 MeUltrasonicSensor.cpp
 Driver for Me ultrasonic sensor device.
 
 MeUltrasonicSensor.h
 Header for for MeUltrasonicSensor.cpp module.
 
 MeUSBHost.cpp
 Driver for Me USB Host module.
 
 MeUSBHost.h
 Header for MeUSBHost.cpp module.
 
 MeVoice.cpp
 Driver for Me voice device.
 
 MeVoice.h
 Header for for MeVoice.cpp module.
 
 MeWifi.cpp
 Driver for Me wifi device.
 
 MeWifi.h
 Header for for MeWifi.cpp module.
 
+
+
+ + + + diff --git a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js new file mode 100644 index 00000000..6e7d6eeb --- /dev/null +++ b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -0,0 +1,106 @@ +var dir_68267d1309a1af8e8297ef4c3efbcdba = +[ + [ "utility", "dir_0619a8f54b4fad7043a6de45be8fde0b.html", "dir_0619a8f54b4fad7043a6de45be8fde0b" ], + [ "Me4Button.cpp", "_me4_button_8cpp.html", null ], + [ "Me4Button.h", "_me4_button_8h.html", "_me4_button_8h" ], + [ "Me7SegmentDisplay.cpp", "_me7_segment_display_8cpp.html", null ], + [ "Me7SegmentDisplay.h", "_me7_segment_display_8h.html", "_me7_segment_display_8h" ], + [ "MeAuriga.h", "_me_auriga_8h.html", null ], + [ "MeBaseBoard.h", "_me_base_board_8h.html", null ], + [ "MeBluetooth.cpp", "_me_bluetooth_8cpp.html", null ], + [ "MeBluetooth.h", "_me_bluetooth_8h.html", "_me_bluetooth_8h" ], + [ "MeBuzzer.cpp", "_me_buzzer_8cpp.html", null ], + [ "MeBuzzer.h", "_me_buzzer_8h.html", "_me_buzzer_8h" ], + [ "MeColorSensor.cpp", "_me_color_sensor_8cpp.html", null ], + [ "MeColorSensor.h", "_me_color_sensor_8h.html", "_me_color_sensor_8h" ], + [ "MeCompass.cpp", "_me_compass_8cpp.html", null ], + [ "MeCompass.h", "_me_compass_8h.html", "_me_compass_8h" ], + [ "MeConfig.h", "_me_config_8h.html", null ], + [ "MeDCMotor.cpp", "_me_d_c_motor_8cpp.html", null ], + [ "MeDCMotor.h", "_me_d_c_motor_8h.html", "_me_d_c_motor_8h" ], + [ "MeEEPROM.h", "_me_e_e_p_r_o_m_8h.html", null ], + [ "MeEncoderMotor.cpp", "_me_encoder_motor_8cpp.html", "_me_encoder_motor_8cpp" ], + [ "MeEncoderMotor.h", "_me_encoder_motor_8h.html", "_me_encoder_motor_8h" ], + [ "MeEncoderNew.cpp", "_me_encoder_new_8cpp.html", null ], + [ "MeEncoderNew.h", "_me_encoder_new_8h.html", "_me_encoder_new_8h" ], + [ "MeEncoderOnBoard.cpp", "_me_encoder_on_board_8cpp.html", null ], + [ "MeEncoderOnBoard.h", "_me_encoder_on_board_8h.html", "_me_encoder_on_board_8h" ], + [ "MeFlameSensor.cpp", "_me_flame_sensor_8cpp.html", null ], + [ "MeFlameSensor.h", "_me_flame_sensor_8h.html", "_me_flame_sensor_8h" ], + [ "MeGasSensor.cpp", "_me_gas_sensor_8cpp.html", null ], + [ "MeGasSensor.h", "_me_gas_sensor_8h.html", "_me_gas_sensor_8h" ], + [ "MeGyro.cpp", "_me_gyro_8cpp.html", null ], + [ "MeGyro.h", "_me_gyro_8h.html", "_me_gyro_8h" ], + [ "MeHostParser.cpp", "_me_host_parser_8cpp.html", "_me_host_parser_8cpp" ], + [ "MeHostParser.h", "_me_host_parser_8h.html", "_me_host_parser_8h" ], + [ "MeHumitureSensor.cpp", "_me_humiture_sensor_8cpp.html", null ], + [ "MeHumitureSensor.h", "_me_humiture_sensor_8h.html", "_me_humiture_sensor_8h" ], + [ "MeInfraredReceiver.cpp", "_me_infrared_receiver_8cpp.html", null ], + [ "MeInfraredReceiver.h", "_me_infrared_receiver_8h.html", "_me_infrared_receiver_8h" ], + [ "MeIR.cpp", "_me_i_r_8cpp.html", null ], + [ "MeIR.h", "_me_i_r_8h.html", "_me_i_r_8h" ], + [ "MeJoystick.cpp", "_me_joystick_8cpp.html", null ], + [ "MeJoystick.h", "_me_joystick_8h.html", "_me_joystick_8h" ], + [ "MeLEDMatrix.cpp", "_me_l_e_d_matrix_8cpp.html", null ], + [ "MeLEDMatrix.h", "_me_l_e_d_matrix_8h.html", "_me_l_e_d_matrix_8h" ], + [ "MeLEDMatrixData.h", "_me_l_e_d_matrix_data_8h.html", "_me_l_e_d_matrix_data_8h" ], + [ "MeLightSensor.cpp", "_me_light_sensor_8cpp.html", null ], + [ "MeLightSensor.h", "_me_light_sensor_8h.html", "_me_light_sensor_8h" ], + [ "MeLimitSwitch.cpp", "_me_limit_switch_8cpp.html", null ], + [ "MeLimitSwitch.h", "_me_limit_switch_8h.html", "_me_limit_switch_8h" ], + [ "MeLineFollower.cpp", "_me_line_follower_8cpp.html", null ], + [ "MeLineFollower.h", "_me_line_follower_8h.html", "_me_line_follower_8h" ], + [ "MeMbotDCMotor.cpp", "_me_mbot_d_c_motor_8cpp.html", null ], + [ "MeMbotDCMotor.h", "_me_mbot_d_c_motor_8h.html", "_me_mbot_d_c_motor_8h" ], + [ "MeMCore.h", "_me_m_core_8h.html", null ], + [ "MeMegaPi.h", "_me_mega_pi_8h.html", null ], + [ "MeMegaPiDCMotor.cpp", "_me_mega_pi_d_c_motor_8cpp.html", null ], + [ "MeMegaPiDCMotor.h", "_me_mega_pi_d_c_motor_8h.html", "_me_mega_pi_d_c_motor_8h" ], + [ "MeMegaPiPro.h", "_me_mega_pi_pro_8h.html", null ], + [ "MeMegaPiPro4DcMotor.cpp", "_me_mega_pi_pro4_dc_motor_8cpp.html", null ], + [ "MeMegaPiPro4DcMotor.h", "_me_mega_pi_pro4_dc_motor_8h.html", "_me_mega_pi_pro4_dc_motor_8h" ], + [ "MeMegaPiProESCMotor.cpp", "_me_mega_pi_pro_e_s_c_motor_8cpp.html", null ], + [ "MeMegaPiProESCMotor.h", "_me_mega_pi_pro_e_s_c_motor_8h.html", "_me_mega_pi_pro_e_s_c_motor_8h" ], + [ "MeOnBoardTemp.cpp", "_me_on_board_temp_8cpp.html", null ], + [ "MeOnBoardTemp.h", "_me_on_board_temp_8h.html", "_me_on_board_temp_8h" ], + [ "MeOneWire.cpp", "_me_one_wire_8cpp.html", null ], + [ "MeOneWire.h", "_me_one_wire_8h.html", "_me_one_wire_8h" ], + [ "MeOrion.h", "_me_orion_8h.html", null ], + [ "MePIRMotionSensor.cpp", "_me_p_i_r_motion_sensor_8cpp.html", null ], + [ "MePIRMotionSensor.h", "_me_p_i_r_motion_sensor_8h.html", "_me_p_i_r_motion_sensor_8h" ], + [ "MePm25Sensor.cpp", "_me_pm25_sensor_8cpp.html", null ], + [ "MePm25Sensor.h", "_me_pm25_sensor_8h.html", "_me_pm25_sensor_8h" ], + [ "MePort.cpp", "_me_port_8cpp.html", null ], + [ "MePort.h", "_me_port_8h.html", "_me_port_8h" ], + [ "MePotentiometer.cpp", "_me_potentiometer_8cpp.html", null ], + [ "MePotentiometer.h", "_me_potentiometer_8h.html", "_me_potentiometer_8h" ], + [ "MePressureSensor.h", "_me_pressure_sensor_8h_source.html", null ], + [ "MePS2.cpp", "_me_p_s2_8cpp.html", null ], + [ "MePS2.h", "_me_p_s2_8h.html", "_me_p_s2_8h" ], + [ "MeRGBLed.cpp", "_me_r_g_b_led_8cpp.html", null ], + [ "MeRGBLed.h", "_me_r_g_b_led_8h.html", "_me_r_g_b_led_8h" ], + [ "MeSerial.cpp", "_me_serial_8cpp.html", null ], + [ "MeSerial.h", "_me_serial_8h.html", "_me_serial_8h" ], + [ "MeShield.h", "_me_shield_8h.html", null ], + [ "MeShutter.cpp", "_me_shutter_8cpp.html", null ], + [ "MeShutter.h", "_me_shutter_8h.html", "_me_shutter_8h" ], + [ "MeSmartServo.cpp", "_me_smart_servo_8cpp.html", null ], + [ "MeSmartServo.h", "_me_smart_servo_8h.html", "_me_smart_servo_8h" ], + [ "MeSoundSensor.cpp", "_me_sound_sensor_8cpp.html", null ], + [ "MeStepper.cpp", "_me_stepper_8cpp.html", "_me_stepper_8cpp" ], + [ "MeStepper.h", "_me_stepper_8h.html", "_me_stepper_8h" ], + [ "MeStepperOnBoard.cpp", "_me_stepper_on_board_8cpp.html", "_me_stepper_on_board_8cpp" ], + [ "MeStepperOnBoard.h", "_me_stepper_on_board_8h.html", "_me_stepper_on_board_8h" ], + [ "MeTemperature.cpp", "_me_temperature_8cpp.html", null ], + [ "MeTemperature.h", "_me_temperature_8h.html", "_me_temperature_8h" ], + [ "MeTouchSensor.cpp", "_me_touch_sensor_8cpp.html", null ], + [ "MeTouchSensor.h", "_me_touch_sensor_8h.html", "_me_touch_sensor_8h" ], + [ "MeUltrasonicSensor.cpp", "_me_ultrasonic_sensor_8cpp.html", null ], + [ "MeUltrasonicSensor.h", "_me_ultrasonic_sensor_8h.html", "_me_ultrasonic_sensor_8h" ], + [ "MeUSBHost.cpp", "_me_u_s_b_host_8cpp.html", null ], + [ "MeUSBHost.h", "_me_u_s_b_host_8h.html", "_me_u_s_b_host_8h" ], + [ "MeVoice.cpp", "_me_voice_8cpp.html", null ], + [ "MeVoice.h", "_me_voice_8h.html", "_me_voice_8h" ], + [ "MeWifi.cpp", "_me_wifi_8cpp.html", null ], + [ "MeWifi.h", "_me_wifi_8h.html", "_me_wifi_8h" ] +]; \ No newline at end of file diff --git a/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html b/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html new file mode 100644 index 00000000..31241ff7 --- /dev/null +++ b/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Users Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.js b/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.js new file mode 100644 index 00000000..862d0b8d --- /dev/null +++ b/doc/html/dir_8ceffd4ee35c3518d4e8bdc7e638efe8.js @@ -0,0 +1,4 @@ +var dir_8ceffd4ee35c3518d4e8bdc7e638efe8 = +[ + [ "nicol", "dir_aa34f34d6add6a95738b68d2f2b128dc.html", "dir_aa34f34d6add6a95738b68d2f2b128dc" ] +]; \ No newline at end of file diff --git a/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.html b/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.html new file mode 100644 index 00000000..c75198d5 --- /dev/null +++ b/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: utility/avr Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
avr Directory Reference
+
+
+ + + + +

+Files

 ServoTimers.h
 
+
+
+ + + + diff --git a/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.js b/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.js new file mode 100644 index 00000000..f75bfb14 --- /dev/null +++ b/doc/html/dir_9b7846f2027e73718d3ad8e9e45ae6f0.js @@ -0,0 +1,4 @@ +var dir_9b7846f2027e73718d3ad8e9e45ae6f0 = +[ + [ "ServoTimers.h", "_servo_timers_8h_source.html", null ] +]; \ No newline at end of file diff --git a/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.html b/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.html new file mode 100644 index 00000000..395b070e --- /dev/null +++ b/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
nicol Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.js b/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.js new file mode 100644 index 00000000..1a56ffa0 --- /dev/null +++ b/doc/html/dir_aa34f34d6add6a95738b68d2f2b128dc.js @@ -0,0 +1,4 @@ +var dir_aa34f34d6add6a95738b68d2f2b128dc = +[ + [ "Documents", "dir_afb59ca96f269ed3ae4886598dd661d7.html", "dir_afb59ca96f269ed3ae4886598dd661d7" ] +]; \ No newline at end of file diff --git a/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.html b/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.html new file mode 100644 index 00000000..a4d71143 --- /dev/null +++ b/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol/Documents Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Documents Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.js b/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.js new file mode 100644 index 00000000..050a0086 --- /dev/null +++ b/doc/html/dir_afb59ca96f269ed3ae4886598dd661d7.js @@ -0,0 +1,4 @@ +var dir_afb59ca96f269ed3ae4886598dd661d7 = +[ + [ "Arduino", "dir_c11a2e8b7f18769bb813191fb9c7b9de.html", "dir_c11a2e8b7f18769bb813191fb9c7b9de" ] +]; \ No newline at end of file diff --git a/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.html b/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.html new file mode 100644 index 00000000..ce69afe1 --- /dev/null +++ b/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol/Documents/Arduino Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Arduino Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.js b/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.js new file mode 100644 index 00000000..d53617ad --- /dev/null +++ b/doc/html/dir_c11a2e8b7f18769bb813191fb9c7b9de.js @@ -0,0 +1,4 @@ +var dir_c11a2e8b7f18769bb813191fb9c7b9de = +[ + [ "libraries", "dir_db69409d93ff26edeeb565aee0626b58.html", "dir_db69409d93ff26edeeb565aee0626b58" ] +]; \ No newline at end of file diff --git a/doc/html/dir_db69409d93ff26edeeb565aee0626b58.html b/doc/html/dir_db69409d93ff26edeeb565aee0626b58.html new file mode 100644 index 00000000..2fc7e9e0 --- /dev/null +++ b/doc/html/dir_db69409d93ff26edeeb565aee0626b58.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol/Documents/Arduino/libraries Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
libraries Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_db69409d93ff26edeeb565aee0626b58.js b/doc/html/dir_db69409d93ff26edeeb565aee0626b58.js new file mode 100644 index 00000000..67669f1f --- /dev/null +++ b/doc/html/dir_db69409d93ff26edeeb565aee0626b58.js @@ -0,0 +1,4 @@ +var dir_db69409d93ff26edeeb565aee0626b58 = +[ + [ "MakeBlock_Drive_Updated", "dir_eedf9c315589113fcab5c9c13bb437c6.html", "dir_eedf9c315589113fcab5c9c13bb437c6" ] +]; \ No newline at end of file diff --git a/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.html b/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.html new file mode 100644 index 00000000..51af18cb --- /dev/null +++ b/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: C: Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
C: Directory Reference
+
+
+
+
+ + + + diff --git a/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.js b/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.js new file mode 100644 index 00000000..c4a728d8 --- /dev/null +++ b/doc/html/dir_e6bb53534ac0e427887cf7a94c0c004e.js @@ -0,0 +1,4 @@ +var dir_e6bb53534ac0e427887cf7a94c0c004e = +[ + [ "Users", "dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html", "dir_8ceffd4ee35c3518d4e8bdc7e638efe8" ] +]; \ No newline at end of file diff --git a/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.html b/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.html new file mode 100644 index 00000000..c416a11b --- /dev/null +++ b/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: C:/Users/nicol/Documents/Arduino/libraries/MakeBlock_Drive_Updated Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MakeBlock_Drive_Updated Directory Reference
+
+
+ + + + +

+Directories

 src
 
+
+
+ + + + diff --git a/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.js b/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.js new file mode 100644 index 00000000..ff025019 --- /dev/null +++ b/doc/html/dir_eedf9c315589113fcab5c9c13bb437c6.js @@ -0,0 +1,4 @@ +var dir_eedf9c315589113fcab5c9c13bb437c6 = +[ + [ "src", "dir_3643b276fb9490c80d50926eae963c39.html", "dir_3643b276fb9490c80d50926eae963c39" ] +]; \ No newline at end of file diff --git a/doc/html/doc.svg b/doc/html/doc.svg new file mode 100644 index 00000000..0b928a53 --- /dev/null +++ b/doc/html/doc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/doc/html/docd.svg b/doc/html/docd.svg new file mode 100644 index 00000000..ac18b275 --- /dev/null +++ b/doc/html/docd.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css new file mode 100644 index 00000000..009a9b55 --- /dev/null +++ b/doc/html/doxygen.css @@ -0,0 +1,2045 @@ +/* The standard CSS for doxygen 1.9.8*/ + +html { +/* page base colors */ +--page-background-color: white; +--page-foreground-color: black; +--page-link-color: #3D578C; +--page-visited-link-color: #4665A2; + +/* index */ +--index-odd-item-bg-color: #F8F9FC; +--index-even-item-bg-color: white; +--index-header-color: black; +--index-separator-color: #A0A0A0; + +/* header */ +--header-background-color: #F9FAFC; +--header-separator-color: #C4CFE5; +--header-gradient-image: url('nav_h.png'); +--group-header-separator-color: #879ECB; +--group-header-color: #354C7B; +--inherit-header-color: gray; + +--footer-foreground-color: #2A3D61; +--footer-logo-width: 104px; +--citation-label-color: #334975; +--glow-color: cyan; + +--title-background-color: white; +--title-separator-color: #5373B4; +--directory-separator-color: #9CAFD4; +--separator-color: #4A6AAA; + +--blockquote-background-color: #F7F8FB; +--blockquote-border-color: #9CAFD4; + +--scrollbar-thumb-color: #9CAFD4; +--scrollbar-background-color: #F9FAFC; + +--icon-background-color: #728DC1; +--icon-foreground-color: white; +--icon-doc-image: url('doc.svg'); +--icon-folder-open-image: url('folderopen.svg'); +--icon-folder-closed-image: url('folderclosed.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #F9FAFC; +--memdecl-separator-color: #DEE4F0; +--memdecl-foreground-color: #555; +--memdecl-template-color: #4665A2; + +/* detailed member list */ +--memdef-border-color: #A8B8D9; +--memdef-title-background-color: #E2E8F2; +--memdef-title-gradient-image: url('nav_f.png'); +--memdef-proto-background-color: #DFE5F1; +--memdef-proto-text-color: #253555; +--memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--memdef-doc-background-color: white; +--memdef-param-name-color: #602020; +--memdef-template-color: #4665A2; + +/* tables */ +--table-cell-border-color: #2D4068; +--table-header-background-color: #374F7F; +--table-header-foreground-color: #FFFFFF; + +/* labels */ +--label-background-color: #728DC1; +--label-left-top-border-color: #5373B4; +--label-right-bottom-border-color: #C4CFE5; +--label-foreground-color: white; + +/** navigation bar/tree/menu */ +--nav-background-color: #F9FAFC; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_b.png'); +--nav-gradient-hover-image: url('tab_h.png'); +--nav-gradient-active-image: url('tab_a.png'); +--nav-gradient-active-image-parent: url("../tab_a.png"); +--nav-separator-image: url('tab_s.png'); +--nav-breadcrumb-image: url('bc_s.png'); +--nav-breadcrumb-border-color: #C2CDE4; +--nav-splitbar-image: url('splitbar.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #283A5D; +--nav-text-hover-color: white; +--nav-text-active-color: white; +--nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #364D7C; +--nav-menu-background-color: white; +--nav-menu-foreground-color: #555555; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.5); +--nav-arrow-color: #9CAFD4; +--nav-arrow-selected-color: #9CAFD4; + +/* table of contents */ +--toc-background-color: #F4F6FA; +--toc-border-color: #D8DFEE; +--toc-header-color: #4665A2; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: white; +--search-foreground-color: #909090; +--search-magnification-image: url('mag.svg'); +--search-magnification-select-image: url('mag_sel.svg'); +--search-active-color: black; +--search-filter-background-color: #F9FAFC; +--search-filter-foreground-color: black; +--search-filter-border-color: #90A5CE; +--search-filter-highlight-text-color: white; +--search-filter-highlight-bg-color: #3D578C; +--search-results-foreground-color: #425E97; +--search-results-background-color: #EEF1F7; +--search-results-border-color: black; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #555; + +/** code fragments */ +--code-keyword-color: #008000; +--code-type-keyword-color: #604020; +--code-flow-keyword-color: #E08000; +--code-comment-color: #800000; +--code-preprocessor-color: #806020; +--code-string-literal-color: #002080; +--code-char-literal-color: #008080; +--code-xml-cdata-color: black; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #000000; +--code-vhdl-keyword-color: #700070; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #4665A2; +--code-external-link-color: #4665A2; +--fragment-foreground-color: black; +--fragment-background-color: #FBFCFD; +--fragment-border-color: #C4CFE5; +--fragment-lineno-border-color: #00FF00; +--fragment-lineno-background-color: #E8E8E8; +--fragment-lineno-foreground-color: black; +--fragment-lineno-link-fg-color: #4665A2; +--fragment-lineno-link-bg-color: #D8D8D8; +--fragment-lineno-link-hover-fg-color: #4665A2; +--fragment-lineno-link-hover-bg-color: #C8C8C8; +--tooltip-foreground-color: black; +--tooltip-background-color: white; +--tooltip-border-color: gray; +--tooltip-doc-color: grey; +--tooltip-declaration-color: #006318; +--tooltip-link-color: #4665A2; +--tooltip-shadow: 1px 1px 7px gray; +--fold-line-color: #808080; +--fold-minus-image: url('minus.svg'); +--fold-plus-image: url('plus.svg'); +--fold-minus-image-relpath: url('../../minus.svg'); +--fold-plus-image-relpath: url('../../plus.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +} + +@media (prefers-color-scheme: dark) { + html:not(.dark-mode) { + color-scheme: dark; + +/* page base colors */ +--page-background-color: black; +--page-foreground-color: #C9D1D9; +--page-link-color: #90A5CE; +--page-visited-link-color: #A3B4D7; + +/* index */ +--index-odd-item-bg-color: #0B101A; +--index-even-item-bg-color: black; +--index-header-color: #C4CFE5; +--index-separator-color: #334975; + +/* header */ +--header-background-color: #070B11; +--header-separator-color: #141C2E; +--header-gradient-image: url('nav_hd.png'); +--group-header-separator-color: #283A5D; +--group-header-color: #90A5CE; +--inherit-header-color: #A0A0A0; + +--footer-foreground-color: #5B7AB7; +--footer-logo-width: 60px; +--citation-label-color: #90A5CE; +--glow-color: cyan; + +--title-background-color: #090D16; +--title-separator-color: #354C79; +--directory-separator-color: #283A5D; +--separator-color: #283A5D; + +--blockquote-background-color: #101826; +--blockquote-border-color: #283A5D; + +--scrollbar-thumb-color: #283A5D; +--scrollbar-background-color: #070B11; + +--icon-background-color: #334975; +--icon-foreground-color: #C4CFE5; +--icon-doc-image: url('docd.svg'); +--icon-folder-open-image: url('folderopend.svg'); +--icon-folder-closed-image: url('folderclosedd.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #0B101A; +--memdecl-separator-color: #2C3F65; +--memdecl-foreground-color: #BBB; +--memdecl-template-color: #7C95C6; + +/* detailed member list */ +--memdef-border-color: #233250; +--memdef-title-background-color: #1B2840; +--memdef-title-gradient-image: url('nav_fd.png'); +--memdef-proto-background-color: #19243A; +--memdef-proto-text-color: #9DB0D4; +--memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); +--memdef-doc-background-color: black; +--memdef-param-name-color: #D28757; +--memdef-template-color: #7C95C6; + +/* tables */ +--table-cell-border-color: #283A5D; +--table-header-background-color: #283A5D; +--table-header-foreground-color: #C4CFE5; + +/* labels */ +--label-background-color: #354C7B; +--label-left-top-border-color: #4665A2; +--label-right-bottom-border-color: #283A5D; +--label-foreground-color: #CCCCCC; + +/** navigation bar/tree/menu */ +--nav-background-color: #101826; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_bd.png'); +--nav-gradient-hover-image: url('tab_hd.png'); +--nav-gradient-active-image: url('tab_ad.png'); +--nav-gradient-active-image-parent: url("../tab_ad.png"); +--nav-separator-image: url('tab_sd.png'); +--nav-breadcrumb-image: url('bc_sd.png'); +--nav-breadcrumb-border-color: #2A3D61; +--nav-splitbar-image: url('splitbard.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #B6C4DF; +--nav-text-hover-color: #DCE2EF; +--nav-text-active-color: #DCE2EF; +--nav-text-normal-shadow: 0px 1px 1px black; +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #B6C4DF; +--nav-menu-background-color: #05070C; +--nav-menu-foreground-color: #BBBBBB; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.2); +--nav-arrow-color: #334975; +--nav-arrow-selected-color: #90A5CE; + +/* table of contents */ +--toc-background-color: #151E30; +--toc-border-color: #202E4A; +--toc-header-color: #A3B4D7; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: black; +--search-foreground-color: #C5C5C5; +--search-magnification-image: url('mag_d.svg'); +--search-magnification-select-image: url('mag_seld.svg'); +--search-active-color: #C5C5C5; +--search-filter-background-color: #101826; +--search-filter-foreground-color: #90A5CE; +--search-filter-border-color: #7C95C6; +--search-filter-highlight-text-color: #BCC9E2; +--search-filter-highlight-bg-color: #283A5D; +--search-results-background-color: #101826; +--search-results-foreground-color: #90A5CE; +--search-results-border-color: #7C95C6; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; + +/** code fragments */ +--code-keyword-color: #CC99CD; +--code-type-keyword-color: #AB99CD; +--code-flow-keyword-color: #E08000; +--code-comment-color: #717790; +--code-preprocessor-color: #65CABE; +--code-string-literal-color: #7EC699; +--code-char-literal-color: #00E0F0; +--code-xml-cdata-color: #C9D1D9; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #C0C0C0; +--code-vhdl-keyword-color: #CF53C9; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #79C0FF; +--code-external-link-color: #79C0FF; +--fragment-foreground-color: #C9D1D9; +--fragment-background-color: black; +--fragment-border-color: #30363D; +--fragment-lineno-border-color: #30363D; +--fragment-lineno-background-color: black; +--fragment-lineno-foreground-color: #6E7681; +--fragment-lineno-link-fg-color: #6E7681; +--fragment-lineno-link-bg-color: #303030; +--fragment-lineno-link-hover-fg-color: #8E96A1; +--fragment-lineno-link-hover-bg-color: #505050; +--tooltip-foreground-color: #C9D1D9; +--tooltip-background-color: #202020; +--tooltip-border-color: #C9D1D9; +--tooltip-doc-color: #D9E1E9; +--tooltip-declaration-color: #20C348; +--tooltip-link-color: #79C0FF; +--tooltip-shadow: none; +--fold-line-color: #808080; +--fold-minus-image: url('minusd.svg'); +--fold-plus-image: url('plusd.svg'); +--fold-minus-image-relpath: url('../../minusd.svg'); +--fold-plus-image-relpath: url('../../plusd.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +}} +body { + background-color: var(--page-background-color); + color: var(--page-foreground-color); +} + +body, table, div, p, dl { + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 22px; +} + +/* @group Heading Levels */ + +.title { + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 28px; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h1.groupheader { + font-size: 150%; +} + +h2.groupheader { + border-bottom: 1px solid var(--group-header-separator-color); + color: var(--group-header-color); + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px var(--glow-color); +} + +dt { + font-weight: bold; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, th p.intertd, th p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.navtab { + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL { + background-image: var(--nav-gradient-active-image); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: var(--index-separator-color); +} + +#main-menu a:focus { + outline: auto; + z-index: 10; + position: relative; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: var(--index-header-color); +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.even { + background-color: var(--index-even-item-bg-color); +} + +.classindex dl.odd { + background-color: var(--index-odd-item-bg-color); +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + +/* @group Link Styling */ + +a { + color: var(--page-link-color); + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: var(--page-visited-link-color); +} + +a:hover { + text-decoration: underline; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: var(--code-link-color); +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: var(--code-external-link-color); +} + +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: visible; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; + list-style-type: none; +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid var(--fragment-border-color); + background-color: var(--fragment-background-color); + color: var(--fragment-foreground-color); + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: var(--font-family-monospace); + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + color: var(--fragment-foreground-color); + background-color: var(--fragment-background-color); + border: 1px solid var(--fragment-border-color); +} + +div.line { + font-family: var(--font-family-monospace); + font-size: 13px; + min-height: 13px; + line-height: 1.2; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: var(--glow-color); + box-shadow: 0 0 10px var(--glow-color); +} + +span.fold { + margin-left: 5px; + margin-right: 1px; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; + display: inline-block; + width: 12px; + height: 12px; + background-repeat:no-repeat; + background-position:center; +} + +span.lineno { + padding-right: 4px; + margin-right: 9px; + text-align: right; + border-right: 2px solid var(--fragment-lineno-border-color); + color: var(--fragment-lineno-foreground-color); + background-color: var(--fragment-lineno-background-color); + white-space: pre; +} +span.lineno a, span.lineno a:visited { + color: var(--fragment-lineno-link-fg-color); + background-color: var(--fragment-lineno-link-bg-color); +} + +span.lineno a:hover { + color: var(--fragment-lineno-link-hover-fg-color); + background-color: var(--fragment-lineno-link-hover-bg-color); +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + color: var(--page-foreground-color); + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +p.formulaDsp { + text-align: center; +} + +img.dark-mode-visible { + display: none; +} +img.light-mode-visible { + display: none; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; + width: var(--footer-logo-width); +} + +.compoundTemplParams { + color: var(--memdecl-template-color); + font-size: 80%; + line-height: 120%; +} + +/* @group Code Colorization */ + +span.keyword { + color: var(--code-keyword-color); +} + +span.keywordtype { + color: var(--code-type-keyword-color); +} + +span.keywordflow { + color: var(--code-flow-keyword-color); +} + +span.comment { + color: var(--code-comment-color); +} + +span.preprocessor { + color: var(--code-preprocessor-color); +} + +span.stringliteral { + color: var(--code-string-literal-color); +} + +span.charliteral { + color: var(--code-char-literal-color); +} + +span.xmlcdata { + color: var(--code-xml-cdata-color); +} + +span.vhdldigit { + color: var(--code-vhdl-digit-color); +} + +span.vhdlchar { + color: var(--code-vhdl-char-color); +} + +span.vhdlkeyword { + color: var(--code-vhdl-keyword-color); +} + +span.vhdllogic { + color: var(--code-vhdl-logic-color); +} + +blockquote { + background-color: var(--blockquote-background-color); + border-left: 2px solid var(--blockquote-border-color); + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid var(--table-cell-border-color); +} + +th.dirtab { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid var(--separator-color); +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: var(--glow-color); + box-shadow: 0 0 15px var(--glow-color); +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: var(--memdecl-background-color); + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: var(--memdecl-foreground-color); +} + +.memSeparator { + border-bottom: 1px solid var(--memdecl-separator-color); + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: var(--memdecl-template-color); + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: var(--memdef-title-gradient-image); + background-repeat: repeat-x; + background-color: var(--memdef-title-background-color); + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: var(--memdef-template-color); + font-weight: normal; + margin-left: 9px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px var(--glow-color); +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + padding: 6px 0px 6px 0px; + color: var(--memdef-proto-text-color); + font-weight: bold; + text-shadow: var(--memdef-proto-text-shadow); + background-color: var(--memdef-proto-background-color); + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; +} + +.overload { + font-family: var(--font-family-monospace); + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); + padding: 6px 10px 2px 10px; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: var(--memdef-doc-background-color); + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: var(--memdef-param-name-color); + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: var(--font-family-monospace); + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: var(--label-background-color); + border-top:1px solid var(--label-left-top-border-color); + border-left:1px solid var(--label-left-top-border-color); + border-right:1px solid var(--label-right-bottom-border-color); + border-bottom:1px solid var(--label-right-bottom-border-color); + text-shadow: none; + color: var(--label-foreground-color); + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid var(--directory-separator-color); + border-bottom: 1px solid var(--directory-separator-color); + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.odd { + padding-left: 6px; + background-color: var(--index-odd-item-bg-color); +} + +.directory tr.even { + padding-left: 6px; + background-color: var(--index-even-item-bg-color); +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: var(--page-link-color); +} + +.arrow { + color: var(--nav-arrow-color); + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: var(--font-family-icon); + line-height: normal; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: var(--icon-background-color); + color: var(--icon-foreground-color); + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-folder-open-image); + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-folder-closed-image); + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:var(--icon-doc-image); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: var(--footer-foreground-color); +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid var(--table-cell-border-color); + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + margin-bottom: 10px; + border: 1px solid var(--memdef-border-color); + border-spacing: 0px; + border-radius: 4px; + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid var(--memdef-border-color); + border-bottom: 1px solid var(--memdef-border-color); + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid var(--memdef-border-color); +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image: var(--memdef-title-gradient-image); + background-repeat:repeat-x; + background-color: var(--memdef-title-background-color); + font-size: 90%; + color: var(--memdef-proto-text-color); + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid var(--memdef-border-color); +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: var(--nav-gradient-image); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image: var(--nav-gradient-image); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:var(--nav-text-normal-color); + border:solid 1px var(--nav-breadcrumb-border-color); + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:var(--nav-breadcrumb-image); + background-repeat:no-repeat; + background-position:right; + color: var(--nav-foreground-color); +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: var(--nav-text-normal-color); + font-family: var(--font-family-nav); + text-shadow: var(--nav-text-normal-shadow); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color: var(--footer-foreground-color); + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image: var(--header-gradient-image); + background-repeat:repeat-x; + background-color: var(--header-background-color); + margin: 0px; + border-bottom: 1px solid var(--header-separator-color); +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectrow +{ + height: 56px; +} + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; + padding-left: 0.5em; +} + +#projectname +{ + font-size: 200%; + font-family: var(--font-family-title); + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font-size: 90%; + font-family: var(--font-family-title); + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font-size: 50%; + font-family: 50% var(--font-family-title); + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid var(--title-separator-color); + background-color: var(--title-background-color); +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:var(--citation-label-color); + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; + text-align:right; + width:52px; +} + +dl.citelist dd { + margin:2px 0 2px 72px; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: var(--toc-background-color); + border: 1px solid var(--toc-border-color); + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; + font: 10px/1.2 var(--font-family-toc); + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 var(--font-family-toc); + color: var(--toc-header-color); + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 15px; +} + +div.toc li.level4 { + margin-left: 15px; +} + +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +span.obfuscator { + display: none; +} + +.inherit_header { + font-weight: bold; + color: var(--inherit-header-color); + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + /*white-space: nowrap;*/ + color: var(--tooltip-foreground-color); + background-color: var(--tooltip-background-color); + border: 1px solid var(--tooltip-border-color); + border-radius: 4px 4px 4px 4px; + box-shadow: var(--tooltip-shadow); + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: var(--tooltip-doc-color); + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip a { + color: var(--tooltip-link-color); +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: var(--tooltip-declaration-color); +} + +#powerTip div { + margin: 0px; + padding: 0px; + font-size: 12px; + font-family: var(--font-family-tooltip); + line-height: 16px; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: var(--tooltip-background-color); + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { + border-top-color: var(--tooltip-border-color); + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: var(--tooltip-background-color); + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: var(--tooltip-border-color); + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: var(--tooltip-border-color); + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: var(--tooltip-border-color); + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: var(--tooltip-border-color); + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: var(--tooltip-border-color); + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid var(--table-cell-border-color); + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +tt, code, kbd, samp +{ + display: inline-block; +} +/* @end */ + +u { + text-decoration: underline; +} + +details>summary { + list-style-type: none; +} + +details > summary::-webkit-details-marker { + display: none; +} + +details>summary::before { + content: "\25ba"; + padding-right:4px; + font-size: 80%; +} + +details[open]>summary::before { + content: "\25bc"; + padding-right:4px; + font-size: 80%; +} + +body { + scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-background-color); +} + +::-webkit-scrollbar { + background-color: var(--scrollbar-background-color); + height: 12px; + width: 12px; +} +::-webkit-scrollbar-thumb { + border-radius: 6px; + box-shadow: inset 0 0 12px 12px var(--scrollbar-thumb-color); + border: solid 2px transparent; +} +::-webkit-scrollbar-corner { + background-color: var(--scrollbar-background-color); +} + diff --git a/doc/html/doxygen.svg b/doc/html/doxygen.svg new file mode 100644 index 00000000..79a76354 --- /dev/null +++ b/doc/html/doxygen.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/dynsections.js b/doc/html/dynsections.js new file mode 100644 index 00000000..b73c8288 --- /dev/null +++ b/doc/html/dynsections.js @@ -0,0 +1,192 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); + $('table.directory tr'). + removeClass('odd').filter(':visible:odd').addClass('odd'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l'); + // add vertical lines to other rows + $('span[class=lineno]').not(':eq(0)').append(''); + // add toggle controls to lines with fold divs + $('div[class=foldopen]').each(function() { + // extract specific id to use + var id = $(this).attr('id').replace('foldopen',''); + // extract start and end foldable fragment attributes + var start = $(this).attr('data-start'); + var end = $(this).attr('data-end'); + // replace normal fold span with controls for the first line of a foldable fragment + $(this).find('span[class=fold]:first').replaceWith(''); + // append div for folded (closed) representation + $(this).after(''); + // extract the first line from the "open" section to represent closed content + var line = $(this).children().first().clone(); + // remove any glow that might still be active on the original line + $(line).removeClass('glow'); + if (start) { + // if line already ends with a start marker (e.g. trailing {), remove it + $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); + } + // replace minus with plus symbol + $(line).find('span[class=fold]').css('background-image',plusImg[relPath]); + // append ellipsis + $(line).append(' '+start+''+end); + // insert constructed line into closed div + $('#foldclosed'+id).html(line); + }); +} + +/* @license-end */ diff --git a/doc/html/examples.html b/doc/html/examples.html new file mode 100644 index 00000000..99f47054 --- /dev/null +++ b/doc/html/examples.html @@ -0,0 +1,168 @@ + + + + + + + +MakeBlock Drive Updated: Examples + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Examples
+
+
+
Here is a list of all examples:
+
+
+ + + + diff --git a/doc/html/examples.js b/doc/html/examples.js new file mode 100644 index 00000000..6bf3e6bf --- /dev/null +++ b/doc/html/examples.js @@ -0,0 +1,64 @@ +var examples = +[ + [ "Me4ButtonTest.ino", "_me4_button_test_8ino-example.html", null ], + [ "NumberDisplay.ino", "_number_display_8ino-example.html", null ], + [ "NumberFlow.ino", "_number_flow_8ino-example.html", null ], + [ "TimeDisplay.ino", "_time_display_8ino-example.html", null ], + [ "SlaveBluetoothBySoftSerialTest.ino", "_slave_bluetooth_by_soft_serial_test_8ino-example.html", null ], + [ "BuzzerTest.ino", "_buzzer_test_8ino-example.html", null ], + [ "MbotBuzzerTest.ino", "_mbot_buzzer_test_8ino-example.html", null ], + [ "MbotBuzzerTest2.ino", "_mbot_buzzer_test2_8ino-example.html", null ], + [ "MeColorSensorTest.ino", "_me_color_sensor_test_8ino-example.html", null ], + [ "MeCompassTest.ino", "_me_compass_test_8ino-example.html", null ], + [ "DCMotorDriverTest.ino", "_d_c_motor_driver_test_8ino-example.html", null ], + [ "EncoderMotorTestMoveTo.ino", "_encoder_motor_test_move_to_8ino-example.html", null ], + [ "EncoderMotorTestRunSpeed.ino", "_encoder_motor_test_run_speed_8ino-example.html", null ], + [ "EncoderMotorTestRunSpeedAndTime.ino", "_encoder_motor_test_run_speed_and_time_8ino-example.html", null ], + [ "EncoderMotorTestRunTurns.ino", "_encoder_motor_test_run_turns_8ino-example.html", null ], + [ "EncoderMotorChangeI2CDevID.ino", "_encoder_motor_change_i2_c_dev_i_d_8ino-example.html", null ], + [ "EncoderMotorTestIsTarPosReached.ino", "_encoder_motor_test_is_tar_pos_reached_8ino-example.html", null ], + [ "Me_Auriga_encoder_direct.ino", "_me__auriga_encoder_direct_8ino-example.html", null ], + [ "Me_Auriga_encoder_pid_pos.ino", "_me__auriga_encoder_pid_pos_8ino-example.html", null ], + [ "Me_Auriga_encoder_pid_speed.ino", "_me__auriga_encoder_pid_speed_8ino-example.html", null ], + [ "Me_Auriga_encoder_pwm.ino", "_me__auriga_encoder_pwm_8ino-example.html", null ], + [ "Me_Auriga_encoder_callback.ino", "_me__auriga_encoder_callback_8ino-example.html", null ], + [ "Me_Megapi_encoder_direct.ino", "_me__megapi_encoder_direct_8ino-example.html", null ], + [ "Me_Megapi_encoder_pid_pos.ino", "_me__megapi_encoder_pid_pos_8ino-example.html", null ], + [ "Me_Megapi_encoder_pid_speed.ino", "_me__megapi_encoder_pid_speed_8ino-example.html", null ], + [ "Me_Megapi_encoder_pwm.ino", "_me__megapi_encoder_pwm_8ino-example.html", null ], + [ "MeFlameSensorTest.ino", "_me_flame_sensor_test_8ino-example.html", null ], + [ "MeGasSensorTest.ino", "_me_gas_sensor_test_8ino-example.html", null ], + [ "MeGyroTest.ino", "_me_gyro_test_8ino-example.html", null ], + [ "MeHumitureSensorTest1.ino", "_me_humiture_sensor_test1_8ino-example.html", null ], + [ "MeHumitureSensorTest2.ino", "_me_humiture_sensor_test2_8ino-example.html", null ], + [ "InfraredReceiverTest.ino", "_infrared_receiver_test_8ino-example.html", null ], + [ "MeJoystickTest.ino", "_me_joystick_test_8ino-example.html", null ], + [ "Me_LEDMatrixTest.ino", "_me__l_e_d_matrix_test_8ino-example.html", null ], + [ "MeLightSensorTestResetPort.ino", "_me_light_sensor_test_reset_port_8ino-example.html", null ], + [ "MeLightSensorTest.ino", "_me_light_sensor_test_8ino-example.html", null ], + [ "MeLightSensorTestWithLEDon.ino", "_me_light_sensor_test_with_l_e_don_8ino-example.html", null ], + [ "LimitSwitchTest.ino", "_limit_switch_test_8ino-example.html", null ], + [ "LineFollowerTest.ino", "_line_follower_test_8ino-example.html", null ], + [ "MeMegaPiDCMotorTest.ino", "_me_mega_pi_d_c_motor_test_8ino-example.html", null ], + [ "MeMegaPiProESCMotor.ino", "_me_mega_pi_pro_e_s_c_motor_8ino-example.html", null ], + [ "MeOnBoardTempTest.ino", "_me_on_board_temp_test_8ino-example.html", null ], + [ "PIRMotionSensorTest.ino", "_p_i_r_motion_sensor_test_8ino-example.html", null ], + [ "Pm25Sensor.ino", "_pm25_sensor_8ino-example.html", null ], + [ "PotentiometerTest.ino", "_potentiometer_test_8ino-example.html", null ], + [ "MePS2Test.ino", "_me_p_s2_test_8ino-example.html", null ], + [ "ColorLoopTest.ino", "_color_loop_test_8ino-example.html", null ], + [ "IndicatorsTest.ino", "_indicators_test_8ino-example.html", null ], + [ "WhiteBreathLightTest.ino", "_white_breath_light_test_8ino-example.html", null ], + [ "MeSerialReceiveTest.ino", "_me_serial_receive_test_8ino-example.html", null ], + [ "MeSerialTransmitTest.ino", "_me_serial_transmit_test_8ino-example.html", null ], + [ "MeShutterTest.ino", "_me_shutter_test_8ino-example.html", null ], + [ "SmartServoTest.ino", "_smart_servo_test_8ino-example.html", null ], + [ "SoundSensorTest.ino", "_sound_sensor_test_8ino-example.html", null ], + [ "MegaPiOnBoardStepperTest.ino", "_mega_pi_on_board_stepper_test_8ino-example.html", null ], + [ "TemperatureTest.ino", "_temperature_test_8ino-example.html", null ], + [ "TouchSensorTest.ino", "_touch_sensor_test_8ino-example.html", null ], + [ "UltrasonicSensorTest.ino", "_ultrasonic_sensor_test_8ino-example.html", null ], + [ "TestUSBHsot.ino", "_test_u_s_b_hsot_8ino-example.html", null ], + [ "MeVoiceTest.ino", "_me_voice_test_8ino-example.html", null ], + [ "MeWifi.ino", "_me_wifi_8ino-example.html", null ] +]; \ No newline at end of file diff --git a/doc/html/files.html b/doc/html/files.html new file mode 100644 index 00000000..bde79525 --- /dev/null +++ b/doc/html/files.html @@ -0,0 +1,221 @@ + + + + + + + +MakeBlock Drive Updated: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 1234]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  src
+
+
+
+ + + + diff --git a/doc/html/files_dup.js b/doc/html/files_dup.js new file mode 100644 index 00000000..c3b39c49 --- /dev/null +++ b/doc/html/files_dup.js @@ -0,0 +1,4 @@ +var files_dup = +[ + [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ] +]; \ No newline at end of file diff --git a/doc/html/folderclosed.svg b/doc/html/folderclosed.svg new file mode 100644 index 00000000..b04bed2e --- /dev/null +++ b/doc/html/folderclosed.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/doc/html/folderclosedd.svg b/doc/html/folderclosedd.svg new file mode 100644 index 00000000..52f0166a --- /dev/null +++ b/doc/html/folderclosedd.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/doc/html/folderopen.svg b/doc/html/folderopen.svg new file mode 100644 index 00000000..f6896dd2 --- /dev/null +++ b/doc/html/folderopen.svg @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/doc/html/folderopend.svg b/doc/html/folderopend.svg new file mode 100644 index 00000000..2d1f06e7 --- /dev/null +++ b/doc/html/folderopend.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/doc/html/functions.html b/doc/html/functions.html new file mode 100644 index 00000000..a106adf8 --- /dev/null +++ b/doc/html/functions.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- _ -

+
+
+ + + + diff --git a/doc/html/functions_a.html b/doc/html/functions_a.html new file mode 100644 index 00000000..4138b1b3 --- /dev/null +++ b/doc/html/functions_a.html @@ -0,0 +1,115 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+
+ + + + diff --git a/doc/html/functions_b.html b/doc/html/functions_b.html new file mode 100644 index 00000000..9d27f077 --- /dev/null +++ b/doc/html/functions_b.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+
+ + + + diff --git a/doc/html/functions_c.html b/doc/html/functions_c.html new file mode 100644 index 00000000..b15b1753 --- /dev/null +++ b/doc/html/functions_c.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+
+ + + + diff --git a/doc/html/functions_d.html b/doc/html/functions_d.html new file mode 100644 index 00000000..d1c43b76 --- /dev/null +++ b/doc/html/functions_d.html @@ -0,0 +1,121 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+
+ + + + diff --git a/doc/html/functions_dup.js b/doc/html/functions_dup.js new file mode 100644 index 00000000..c597f77b --- /dev/null +++ b/doc/html/functions_dup.js @@ -0,0 +1,25 @@ +var functions_dup = +[ + [ "_", "functions.html", null ], + [ "a", "functions_a.html", null ], + [ "b", "functions_b.html", null ], + [ "c", "functions_c.html", null ], + [ "d", "functions_d.html", null ], + [ "e", "functions_e.html", null ], + [ "f", "functions_f.html", null ], + [ "g", "functions_g.html", null ], + [ "h", "functions_h.html", null ], + [ "i", "functions_i.html", null ], + [ "k", "functions_k.html", null ], + [ "l", "functions_l.html", null ], + [ "m", "functions_m.html", null ], + [ "n", "functions_n.html", null ], + [ "o", "functions_o.html", null ], + [ "p", "functions_p.html", null ], + [ "r", "functions_r.html", null ], + [ "s", "functions_s.html", null ], + [ "t", "functions_t.html", null ], + [ "u", "functions_u.html", null ], + [ "w", "functions_w.html", null ], + [ "~", "functions_~.html", null ] +]; \ No newline at end of file diff --git a/doc/html/functions_e.html b/doc/html/functions_e.html new file mode 100644 index 00000000..9362e487 --- /dev/null +++ b/doc/html/functions_e.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+
+ + + + diff --git a/doc/html/functions_f.html b/doc/html/functions_f.html new file mode 100644 index 00000000..e4954009 --- /dev/null +++ b/doc/html/functions_f.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+
+ + + + diff --git a/doc/html/functions_func.html b/doc/html/functions_func.html new file mode 100644 index 00000000..dcfc16b3 --- /dev/null +++ b/doc/html/functions_func.html @@ -0,0 +1,115 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- a -

+
+
+ + + + diff --git a/doc/html/functions_func.js b/doc/html/functions_func.js new file mode 100644 index 00000000..dea8ba6e --- /dev/null +++ b/doc/html/functions_func.js @@ -0,0 +1,24 @@ +var functions_func = +[ + [ "a", "functions_func.html", null ], + [ "b", "functions_func_b.html", null ], + [ "c", "functions_func_c.html", null ], + [ "d", "functions_func_d.html", null ], + [ "e", "functions_func_e.html", null ], + [ "f", "functions_func_f.html", null ], + [ "g", "functions_func_g.html", null ], + [ "h", "functions_func_h.html", null ], + [ "i", "functions_func_i.html", null ], + [ "k", "functions_func_k.html", null ], + [ "l", "functions_func_l.html", null ], + [ "m", "functions_func_m.html", null ], + [ "n", "functions_func_n.html", null ], + [ "o", "functions_func_o.html", null ], + [ "p", "functions_func_p.html", null ], + [ "r", "functions_func_r.html", null ], + [ "s", "functions_func_s.html", null ], + [ "t", "functions_func_t.html", null ], + [ "u", "functions_func_u.html", null ], + [ "w", "functions_func_w.html", null ], + [ "~", "functions_func_~.html", null ] +]; \ No newline at end of file diff --git a/doc/html/functions_func_b.html b/doc/html/functions_func_b.html new file mode 100644 index 00000000..b142122d --- /dev/null +++ b/doc/html/functions_func_b.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- b -

+
+
+ + + + diff --git a/doc/html/functions_func_c.html b/doc/html/functions_func_c.html new file mode 100644 index 00000000..5efc5271 --- /dev/null +++ b/doc/html/functions_func_c.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- c -

+
+
+ + + + diff --git a/doc/html/functions_func_d.html b/doc/html/functions_func_d.html new file mode 100644 index 00000000..83b1197c --- /dev/null +++ b/doc/html/functions_func_d.html @@ -0,0 +1,121 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- d -

+
+
+ + + + diff --git a/doc/html/functions_func_e.html b/doc/html/functions_func_e.html new file mode 100644 index 00000000..dd897629 --- /dev/null +++ b/doc/html/functions_func_e.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- e -

+
+
+ + + + diff --git a/doc/html/functions_func_f.html b/doc/html/functions_func_f.html new file mode 100644 index 00000000..d692ad5f --- /dev/null +++ b/doc/html/functions_func_f.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- f -

+
+
+ + + + diff --git a/doc/html/functions_func_g.html b/doc/html/functions_func_g.html new file mode 100644 index 00000000..114627cf --- /dev/null +++ b/doc/html/functions_func_g.html @@ -0,0 +1,152 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- g -

+
+
+ + + + diff --git a/doc/html/functions_func_h.html b/doc/html/functions_func_h.html new file mode 100644 index 00000000..77b149b5 --- /dev/null +++ b/doc/html/functions_func_h.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- h -

+
+
+ + + + diff --git a/doc/html/functions_func_i.html b/doc/html/functions_func_i.html new file mode 100644 index 00000000..03777486 --- /dev/null +++ b/doc/html/functions_func_i.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- i -

+
+
+ + + + diff --git a/doc/html/functions_func_k.html b/doc/html/functions_func_k.html new file mode 100644 index 00000000..7be0aafa --- /dev/null +++ b/doc/html/functions_func_k.html @@ -0,0 +1,107 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- k -

    +
  • keyPressed() : MeIR
  • +
+
+
+ + + + diff --git a/doc/html/functions_func_l.html b/doc/html/functions_func_l.html new file mode 100644 index 00000000..0ee66998 --- /dev/null +++ b/doc/html/functions_func_l.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- l -

+
+
+ + + + diff --git a/doc/html/functions_func_m.html b/doc/html/functions_func_m.html new file mode 100644 index 00000000..a67908d6 --- /dev/null +++ b/doc/html/functions_func_m.html @@ -0,0 +1,158 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- m -

+
+
+ + + + diff --git a/doc/html/functions_func_n.html b/doc/html/functions_func_n.html new file mode 100644 index 00000000..62d3362f --- /dev/null +++ b/doc/html/functions_func_n.html @@ -0,0 +1,107 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- n -

+
+
+ + + + diff --git a/doc/html/functions_func_o.html b/doc/html/functions_func_o.html new file mode 100644 index 00000000..f3d3441a --- /dev/null +++ b/doc/html/functions_func_o.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- o -

+
+
+ + + + diff --git a/doc/html/functions_func_p.html b/doc/html/functions_func_p.html new file mode 100644 index 00000000..ff3c4ba9 --- /dev/null +++ b/doc/html/functions_func_p.html @@ -0,0 +1,120 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- p -

+
+
+ + + + diff --git a/doc/html/functions_func_r.html b/doc/html/functions_func_r.html new file mode 100644 index 00000000..549b27e4 --- /dev/null +++ b/doc/html/functions_func_r.html @@ -0,0 +1,159 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- r -

+
+
+ + + + diff --git a/doc/html/functions_func_s.html b/doc/html/functions_func_s.html new file mode 100644 index 00000000..7f8762b7 --- /dev/null +++ b/doc/html/functions_func_s.html @@ -0,0 +1,169 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- s -

+
+
+ + + + diff --git a/doc/html/functions_func_t.html b/doc/html/functions_func_t.html new file mode 100644 index 00000000..aef66790 --- /dev/null +++ b/doc/html/functions_func_t.html @@ -0,0 +1,118 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- t -

+
+
+ + + + diff --git a/doc/html/functions_func_u.html b/doc/html/functions_func_u.html new file mode 100644 index 00000000..3d111da4 --- /dev/null +++ b/doc/html/functions_func_u.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- u -

+
+
+ + + + diff --git a/doc/html/functions_func_w.html b/doc/html/functions_func_w.html new file mode 100644 index 00000000..2f89972a --- /dev/null +++ b/doc/html/functions_func_w.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- w -

+
+
+ + + + diff --git a/doc/html/functions_func_~.html b/doc/html/functions_func_~.html new file mode 100644 index 00000000..776fe337 --- /dev/null +++ b/doc/html/functions_func_~.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the class documentation for each member:
+ +

- ~ -

+
+
+ + + + diff --git a/doc/html/functions_g.html b/doc/html/functions_g.html new file mode 100644 index 00000000..4e852074 --- /dev/null +++ b/doc/html/functions_g.html @@ -0,0 +1,152 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+
+ + + + diff --git a/doc/html/functions_h.html b/doc/html/functions_h.html new file mode 100644 index 00000000..bcbc626f --- /dev/null +++ b/doc/html/functions_h.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+
+ + + + diff --git a/doc/html/functions_i.html b/doc/html/functions_i.html new file mode 100644 index 00000000..7b21d728 --- /dev/null +++ b/doc/html/functions_i.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+
+ + + + diff --git a/doc/html/functions_k.html b/doc/html/functions_k.html new file mode 100644 index 00000000..5c896559 --- /dev/null +++ b/doc/html/functions_k.html @@ -0,0 +1,107 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- k -

    +
  • keyPressed() : MeIR
  • +
+
+
+ + + + diff --git a/doc/html/functions_l.html b/doc/html/functions_l.html new file mode 100644 index 00000000..f468323a --- /dev/null +++ b/doc/html/functions_l.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- l -

+
+
+ + + + diff --git a/doc/html/functions_m.html b/doc/html/functions_m.html new file mode 100644 index 00000000..45e28483 --- /dev/null +++ b/doc/html/functions_m.html @@ -0,0 +1,158 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+
+ + + + diff --git a/doc/html/functions_n.html b/doc/html/functions_n.html new file mode 100644 index 00000000..8ebbcc72 --- /dev/null +++ b/doc/html/functions_n.html @@ -0,0 +1,107 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+
+ + + + diff --git a/doc/html/functions_o.html b/doc/html/functions_o.html new file mode 100644 index 00000000..3449827f --- /dev/null +++ b/doc/html/functions_o.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- o -

+
+
+ + + + diff --git a/doc/html/functions_p.html b/doc/html/functions_p.html new file mode 100644 index 00000000..0187754b --- /dev/null +++ b/doc/html/functions_p.html @@ -0,0 +1,120 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+
+ + + + diff --git a/doc/html/functions_r.html b/doc/html/functions_r.html new file mode 100644 index 00000000..1789b56e --- /dev/null +++ b/doc/html/functions_r.html @@ -0,0 +1,159 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+
+ + + + diff --git a/doc/html/functions_s.html b/doc/html/functions_s.html new file mode 100644 index 00000000..cc04e3bf --- /dev/null +++ b/doc/html/functions_s.html @@ -0,0 +1,171 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+
+ + + + diff --git a/doc/html/functions_t.html b/doc/html/functions_t.html new file mode 100644 index 00000000..d4d026ab --- /dev/null +++ b/doc/html/functions_t.html @@ -0,0 +1,118 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+
+ + + + diff --git a/doc/html/functions_u.html b/doc/html/functions_u.html new file mode 100644 index 00000000..6a3ead3b --- /dev/null +++ b/doc/html/functions_u.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+
+ + + + diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html new file mode 100644 index 00000000..bda0d48b --- /dev/null +++ b/doc/html/functions_vars.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented variables with links to the class documentation for each member:
+
+
+ + + + diff --git a/doc/html/functions_w.html b/doc/html/functions_w.html new file mode 100644 index 00000000..251d423a --- /dev/null +++ b/doc/html/functions_w.html @@ -0,0 +1,112 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+
+ + + + diff --git a/doc/html/functions_~.html b/doc/html/functions_~.html new file mode 100644 index 00000000..c9a44126 --- /dev/null +++ b/doc/html/functions_~.html @@ -0,0 +1,108 @@ + + + + + + + +MakeBlock Drive Updated: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- ~ -

+
+
+ + + + diff --git a/doc/html/globals.html b/doc/html/globals.html new file mode 100644 index 00000000..95f59d59 --- /dev/null +++ b/doc/html/globals.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented file members with links to the documentation:
+
+
+ + + + diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html new file mode 100644 index 00000000..320acc5e --- /dev/null +++ b/doc/html/globals_enum.html @@ -0,0 +1,105 @@ + + + + + + + +MakeBlock Drive Updated: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented enums with links to the documentation:
+
+
+ + + + diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html new file mode 100644 index 00000000..c2c83c60 --- /dev/null +++ b/doc/html/globals_eval.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented enum values with links to the documentation:
+
+
+ + + + diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html new file mode 100644 index 00000000..d4f282df --- /dev/null +++ b/doc/html/globals_func.html @@ -0,0 +1,106 @@ + + + + + + + +MakeBlock Drive Updated: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Here is a list of all documented functions with links to the documentation:
+
+
+ + + + diff --git a/doc/html/graph_legend.html b/doc/html/graph_legend.html new file mode 100644 index 00000000..db534ba2 --- /dev/null +++ b/doc/html/graph_legend.html @@ -0,0 +1,165 @@ + + + + + + + +MakeBlock Drive Updated: Graph Legend + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Graph Legend
+
+
+

This page explains how to interpret the graphs that are generated by doxygen.

+

Consider the following example:

/*! Invisible class because of truncation */
+
class Invisible { };
+
+
/*! Truncated class, inheritance relation is hidden */
+
class Truncated : public Invisible { };
+
+
/* Class not documented with doxygen comments */
+
class Undocumented { };
+
+
/*! Class that is inherited using public inheritance */
+
class PublicBase : public Truncated { };
+
+
/*! A template class */
+
template<class T> class Templ { };
+
+
/*! Class that is inherited using protected inheritance */
+
class ProtectedBase { };
+
+
/*! Class that is inherited using private inheritance */
+
class PrivateBase { };
+
+
/*! Class that is used by the Inherited class */
+
class Used { };
+
+
/*! Super class that inherits a number of other classes */
+
class Inherited : public PublicBase,
+
protected ProtectedBase,
+
private PrivateBase,
+
public Undocumented,
+
public Templ<int>
+
{
+
private:
+
Used *m_usedClass;
+
};
+

This will result in the following graph:

+

The boxes in the above graph have the following meaning:

+
    +
  • +A filled gray box represents the struct or class for which the graph is generated.
  • +
  • +A box with a black border denotes a documented struct or class.
  • +
  • +A box with a gray border denotes an undocumented struct or class.
  • +
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +
+

The arrows have the following meaning:

+
    +
  • +A blue arrow is used to visualize a public inheritance relation between two classes.
  • +
  • +A dark green arrow is used for protected inheritance.
  • +
  • +A dark red arrow is used for private inheritance.
  • +
  • +A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
  • +
  • +A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
  • +
+
+
+ + + + diff --git a/doc/html/graph_legend.md5 b/doc/html/graph_legend.md5 new file mode 100644 index 00000000..da515da9 --- /dev/null +++ b/doc/html/graph_legend.md5 @@ -0,0 +1 @@ +f74606a252eb303675caf37987d0b7af \ No newline at end of file diff --git a/doc/html/graph_legend.png b/doc/html/graph_legend.png new file mode 100644 index 00000000..f5989318 Binary files /dev/null and b/doc/html/graph_legend.png differ diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html new file mode 100644 index 00000000..7f6c2513 --- /dev/null +++ b/doc/html/hierarchy.html @@ -0,0 +1,194 @@ + + + + + + + +MakeBlock Drive Updated: Class Hierarchy + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Class Hierarchy
+
+
+
+

Go to the graphical class hierarchy

+This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 C_USB_CONFIG_DEscriptOR
 C_USB_CONFIG_DEscriptOR_LONG
 C_USB_DEVICE_DEscriptOR
 C_USB_ENDPOINT_DEscriptOR
 C_USB_INTERF_DEscriptOR
 CCmd_list_tab_type
 CCompass_Calibration_Parameter
 CcRGBClass for RGB Led Module
 CEEPROMClass
 CEEPtr
 CEERef
 CEncoder_port_type
 Cirparams_t
 CLED_Matrix_Clock_Number_Font_3x8_TypeDef
 CLED_Matrix_Font_6x8_TypeDef
 CMe_Encoder_type
 CMecolorDriver for MeColorSensor module
 CMeEncoderNewDriver for Me Encoder New module
 CMeEncoderOnBoardDriver for Encoder module on MeAuriga and MeMegaPi
 Cmegapi_dc_type
 CmegaPi_slot
 Cmegapipro_esc_type
 CMeHostParserDriver for Me Host Parser module
 CMeIRDriver for Me IR module
 CMeMegaPiDCMotorDriver for Me Megapi DC motor device
 CMeMegaPiProESCMotorDriver for Me Megapipro ESC motor device
 CMeOneWireDriver for 1-wire protocol
 CMePortPort Mapping for RJ25
 CMe4ButtonDriver for Me 4 Button module
 CMe7SegmentDisplayClass for numeric display module
 CMeBuzzerDriver for Me Buzzer module
 CMeColorSensorDriver for MeColorSensor module
 CMeCompassDriver for MeCompass module
 CMeDCMotorDriver for Me DC motor device
 CMBotDCMotor
 CMeEncoderMotorClass for Encoder Motor Driver
 CMeFlameSensorDriver for Me flame snesor device
 CMeGasSensorDriver for Me gas snesor device
 CMeGyroDriver for MeGyro module
 CMeHumitureDriver for humiture sensor device
 CMeJoystickDriver for Me Joystick module
 CMeLEDMatrixDriver for Me LED Matrix module
 CMeLightSensorDriver for Me-Light Sensor module
 CMeLimitSwitchDriver for Me_LimitSwitch module
 CMeLineFollowerDriver for Me line follwer device
 CMeMegaPiPro4DcMotorDriver for Me DC motor device
 CMeOnBoardTempDriver for Auriga On Board Temperature device
 CMePIRMotionSensorDriver for Me PIR Motion Sensor module
 CMePotentiometerDriver for Me potentiometer module
 CMeRGBLedDriver for W2812 full-color LED
 CMeSerialDriver for serial
 CMeBluetoothDriver for Me Bluetooth device
 CMeInfraredReceiverDriver for Me Infrared Receiver device
 CMePS2Driver for MePS2 handle device
 CMePm25SensorDriver for Me PM2.5 sensor device
 CMeSmartServoDriver for Me Smart Servo device
 CMeVoiceDriver for Me voice device
 CMeWifiDriver for Me wifi device
 CMeShutterDriver for Me Shutter device
 CMeStepperDriver for Me Stepper device
 CMeTemperatureDriver for temperature sensor device
 CMeTouchSensorDriver for Me touch sensor device
 CMeUSBHostDriver for Me USB Host module
 CMeUltrasonicSensorDriver for Me ultrasonic sensor device
 CMePort_Sig
 CMePressureSensor
 CMeSoundSensorDriver for Me sound sensor device
 CMeStepperOnBoardDriver for Me Stepper on MegaPi
 CPID_internal
 CPM25DATASTRUCT
 CPM25DATAUINO
 CServo
 Cservo_device_type
 Cservo_t
 CServoPin_t
 CSPIClass
 CSPISettings
 CStream
 CSoftwareSerial
 CMeSerialDriver for serial
 CTwoWire
 Csysex_message
 Csysex_message_type
+
+
+
+ + + + diff --git a/doc/html/hierarchy.js b/doc/html/hierarchy.js new file mode 100644 index 00000000..e2bfa198 --- /dev/null +++ b/doc/html/hierarchy.js @@ -0,0 +1,91 @@ +var hierarchy = +[ + [ "_USB_CONFIG_DEscriptOR", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html", null ], + [ "_USB_CONFIG_DEscriptOR_LONG", "struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html", null ], + [ "_USB_DEVICE_DEscriptOR", "struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html", null ], + [ "_USB_ENDPOINT_DEscriptOR", "struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html", null ], + [ "_USB_INTERF_DEscriptOR", "struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html", null ], + [ "Cmd_list_tab_type", "struct_cmd__list__tab__type.html", null ], + [ "Compass_Calibration_Parameter", "struct_compass___calibration___parameter.html", null ], + [ "cRGB", "structc_r_g_b.html", null ], + [ "EEPROMClass", "struct_e_e_p_r_o_m_class.html", null ], + [ "EEPtr", "struct_e_e_ptr.html", null ], + [ "EERef", "struct_e_e_ref.html", null ], + [ "Encoder_port_type", "struct_encoder__port__type.html", null ], + [ "irparams_t", "structirparams__t.html", null ], + [ "LED_Matrix_Clock_Number_Font_3x8_TypeDef", "struct_l_e_d___matrix___clock___number___font__3x8___type_def.html", null ], + [ "LED_Matrix_Font_6x8_TypeDef", "struct_l_e_d___matrix___font__6x8___type_def.html", null ], + [ "Me_Encoder_type", "struct_me___encoder__type.html", null ], + [ "Mecolor", "class_mecolor.html", null ], + [ "MeEncoderNew", "class_me_encoder_new.html", null ], + [ "MeEncoderOnBoard", "class_me_encoder_on_board.html", null ], + [ "megapi_dc_type", "structmegapi__dc__type.html", null ], + [ "megaPi_slot", "structmega_pi__slot.html", null ], + [ "megapipro_esc_type", "structmegapipro__esc__type.html", null ], + [ "MeHostParser", "class_me_host_parser.html", null ], + [ "MeIR", "class_me_i_r.html", null ], + [ "MeMegaPiDCMotor", "class_me_mega_pi_d_c_motor.html", null ], + [ "MeMegaPiProESCMotor", "class_me_mega_pi_pro_e_s_c_motor.html", null ], + [ "MeOneWire", "class_me_one_wire.html", null ], + [ "MePort", "class_me_port.html", [ + [ "Me4Button", "class_me4_button.html", null ], + [ "Me7SegmentDisplay", "class_me7_segment_display.html", null ], + [ "MeBuzzer", "class_me_buzzer.html", null ], + [ "MeColorSensor", "class_me_color_sensor.html", null ], + [ "MeCompass", "class_me_compass.html", null ], + [ "MeDCMotor", "class_me_d_c_motor.html", [ + [ "MBotDCMotor", "class_m_bot_d_c_motor.html", null ] + ] ], + [ "MeEncoderMotor", "class_me_encoder_motor.html", null ], + [ "MeFlameSensor", "class_me_flame_sensor.html", null ], + [ "MeGasSensor", "class_me_gas_sensor.html", null ], + [ "MeGyro", "class_me_gyro.html", null ], + [ "MeHumiture", "class_me_humiture.html", null ], + [ "MeJoystick", "class_me_joystick.html", null ], + [ "MeLEDMatrix", "class_me_l_e_d_matrix.html", null ], + [ "MeLightSensor", "class_me_light_sensor.html", null ], + [ "MeLimitSwitch", "class_me_limit_switch.html", null ], + [ "MeLineFollower", "class_me_line_follower.html", null ], + [ "MeMegaPiPro4DcMotor", "class_me_mega_pi_pro4_dc_motor.html", null ], + [ "MeOnBoardTemp", "class_me_on_board_temp.html", null ], + [ "MePIRMotionSensor", "class_me_p_i_r_motion_sensor.html", null ], + [ "MePotentiometer", "class_me_potentiometer.html", null ], + [ "MeRGBLed", "class_me_r_g_b_led.html", null ], + [ "MeSerial", "class_me_serial.html", [ + [ "MeBluetooth", "class_me_bluetooth.html", null ], + [ "MeInfraredReceiver", "class_me_infrared_receiver.html", null ], + [ "MePS2", "class_me_p_s2.html", null ], + [ "MePm25Sensor", "class_me_pm25_sensor.html", null ], + [ "MeSmartServo", "class_me_smart_servo.html", null ], + [ "MeVoice", "class_me_voice.html", null ], + [ "MeWifi", "class_me_wifi.html", null ] + ] ], + [ "MeShutter", "class_me_shutter.html", null ], + [ "MeStepper", "class_me_stepper.html", null ], + [ "MeTemperature", "class_me_temperature.html", null ], + [ "MeTouchSensor", "class_me_touch_sensor.html", null ], + [ "MeUSBHost", "class_me_u_s_b_host.html", null ], + [ "MeUltrasonicSensor", "class_me_ultrasonic_sensor.html", null ] + ] ], + [ "MePort_Sig", "struct_me_port___sig.html", null ], + [ "MePressureSensor", "class_me_pressure_sensor.html", null ], + [ "MeSoundSensor", "class_me_sound_sensor.html", null ], + [ "MeStepperOnBoard", "class_me_stepper_on_board.html", null ], + [ "PID_internal", "struct_p_i_d__internal.html", null ], + [ "PM25DATASTRUCT", "struct_p_m25_d_a_t_a_s_t_r_u_c_t.html", null ], + [ "PM25DATAUINO", "union_p_m25_d_a_t_a_u_i_n_o.html", null ], + [ "Servo", "class_servo.html", null ], + [ "servo_device_type", "structservo__device__type.html", null ], + [ "servo_t", "structservo__t.html", null ], + [ "ServoPin_t", "struct_servo_pin__t.html", null ], + [ "SPIClass", "class_s_p_i_class.html", null ], + [ "SPISettings", "class_s_p_i_settings.html", null ], + [ "Stream", null, [ + [ "SoftwareSerial", "class_software_serial.html", [ + [ "MeSerial", "class_me_serial.html", null ] + ] ], + [ "TwoWire", "class_two_wire.html", null ] + ] ], + [ "sysex_message", "unionsysex__message.html", null ], + [ "sysex_message_type", "structsysex__message__type.html", null ] +]; \ No newline at end of file diff --git a/doc/html/index.html b/doc/html/index.html new file mode 100644 index 00000000..d5459715 --- /dev/null +++ b/doc/html/index.html @@ -0,0 +1,141 @@ + + + + + + + +MakeBlock Drive Updated: Makeblock library for Arduino + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Makeblock library for Arduino
+
+
+
Description
+

This is the library provided by makeblock.
+It provides drivers for all makeblock RJ25 jack interface modules.
+ The latest version of this documentation can see from here
+http://learn.makeblock.cc/Makeblock-library-for-Arduino/index.html

+

Package can be download from https://codeload.github.com/Makeblock-official/Makeblock-Libraries/zip/master
+If you are familiar with git, you also can clone it from https://github.com/Makeblock-official/Makeblock-Libraries

+
Installation
+

Install the package in the normal way: unzip the distribution zip file to the libraries
+sub-folder of your sketchbook or Arduino,
+copy files in makeblock/src folder to arduino/libraries/Makeblock/

+
Donations
+

This library is offered under GPLv2 license for those who want to use it that way.
+Additional information can be found at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
+We are tring hard to keep it up to date, fix bugs free and to provide free support on our site.
+

Copyright
+

This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
+conditions. The main licensing options available are GPL V2 or Commercial:
+

Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your
+application with everyone you distribute it to, and you also want to give them
+the right to share who uses it. If you wish to use this software under Open
+Source Licensing, you must contribute all your source code to the open source
+community in accordance with the GPL Version 2 when your application is
+distributed. See http://www.gnu.org/copyleft/gpl.html
+
History:
+Author           Time           Version          Descr
+Mark Yan         2015/07/24     3.0.0            Rebuild the old lib.
+Rafael Lee       2015/09/02     3.1.0            Added some comments and macros.
+Lawrence         2015/09/09     3.2.0            Include some Arduino's official headfiles which path specified.
+Mark Yan         2015/11/02     3.2.1            fix bug on MACOS.
+Mark Yan         2016/01/21     3.2.2            fix some library bugs.
+Mark Yan         2016/05/17     3.2.3            add support for MegaPi and Auriga Board.
+Mark Yan         2016/07/27     3.2.4            fix some JIRA issue, add PID motion for Megapi/Auriga on board encoder motor
+
+
Author
Mark Yan (myan@.nosp@m.make.nosp@m.block.nosp@m..com)
+
+
+
+ + + + diff --git a/doc/html/inherit_graph_0.map b/doc/html/inherit_graph_0.map new file mode 100644 index 00000000..95f0d2c3 --- /dev/null +++ b/doc/html/inherit_graph_0.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_0.md5 b/doc/html/inherit_graph_0.md5 new file mode 100644 index 00000000..610cd21b --- /dev/null +++ b/doc/html/inherit_graph_0.md5 @@ -0,0 +1 @@ +d50d4ba60b8003b98686515aa0547d3a \ No newline at end of file diff --git a/doc/html/inherit_graph_0.png b/doc/html/inherit_graph_0.png new file mode 100644 index 00000000..ea26910e Binary files /dev/null and b/doc/html/inherit_graph_0.png differ diff --git a/doc/html/inherit_graph_1.map b/doc/html/inherit_graph_1.map new file mode 100644 index 00000000..e958bf0a --- /dev/null +++ b/doc/html/inherit_graph_1.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_1.md5 b/doc/html/inherit_graph_1.md5 new file mode 100644 index 00000000..e2249aa3 --- /dev/null +++ b/doc/html/inherit_graph_1.md5 @@ -0,0 +1 @@ +325e8b106c77003a7c448be2753de1a6 \ No newline at end of file diff --git a/doc/html/inherit_graph_1.png b/doc/html/inherit_graph_1.png new file mode 100644 index 00000000..a31c7f09 Binary files /dev/null and b/doc/html/inherit_graph_1.png differ diff --git a/doc/html/inherit_graph_10.map b/doc/html/inherit_graph_10.map new file mode 100644 index 00000000..de098f8c --- /dev/null +++ b/doc/html/inherit_graph_10.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_10.md5 b/doc/html/inherit_graph_10.md5 new file mode 100644 index 00000000..4dff5184 --- /dev/null +++ b/doc/html/inherit_graph_10.md5 @@ -0,0 +1 @@ +b34f32d0c38f6da2d4a840753d4d74ad \ No newline at end of file diff --git a/doc/html/inherit_graph_10.png b/doc/html/inherit_graph_10.png new file mode 100644 index 00000000..6274756e Binary files /dev/null and b/doc/html/inherit_graph_10.png differ diff --git a/doc/html/inherit_graph_11.map b/doc/html/inherit_graph_11.map new file mode 100644 index 00000000..1aa5eb46 --- /dev/null +++ b/doc/html/inherit_graph_11.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_11.md5 b/doc/html/inherit_graph_11.md5 new file mode 100644 index 00000000..36f513f4 --- /dev/null +++ b/doc/html/inherit_graph_11.md5 @@ -0,0 +1 @@ +ee95d3abb4a36280d0ddd17e55587904 \ No newline at end of file diff --git a/doc/html/inherit_graph_11.png b/doc/html/inherit_graph_11.png new file mode 100644 index 00000000..67fcea5f Binary files /dev/null and b/doc/html/inherit_graph_11.png differ diff --git a/doc/html/inherit_graph_12.map b/doc/html/inherit_graph_12.map new file mode 100644 index 00000000..b0fa556d --- /dev/null +++ b/doc/html/inherit_graph_12.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_12.md5 b/doc/html/inherit_graph_12.md5 new file mode 100644 index 00000000..12d91188 --- /dev/null +++ b/doc/html/inherit_graph_12.md5 @@ -0,0 +1 @@ +dbee85f32b6b0786acab11cd16c2c102 \ No newline at end of file diff --git a/doc/html/inherit_graph_12.png b/doc/html/inherit_graph_12.png new file mode 100644 index 00000000..cabd5dc9 Binary files /dev/null and b/doc/html/inherit_graph_12.png differ diff --git a/doc/html/inherit_graph_13.map b/doc/html/inherit_graph_13.map new file mode 100644 index 00000000..cb307443 --- /dev/null +++ b/doc/html/inherit_graph_13.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_13.md5 b/doc/html/inherit_graph_13.md5 new file mode 100644 index 00000000..bf585b6e --- /dev/null +++ b/doc/html/inherit_graph_13.md5 @@ -0,0 +1 @@ +24df099f59277c8c09287f100daf0763 \ No newline at end of file diff --git a/doc/html/inherit_graph_13.png b/doc/html/inherit_graph_13.png new file mode 100644 index 00000000..07ef464e Binary files /dev/null and b/doc/html/inherit_graph_13.png differ diff --git a/doc/html/inherit_graph_14.map b/doc/html/inherit_graph_14.map new file mode 100644 index 00000000..1cacf291 --- /dev/null +++ b/doc/html/inherit_graph_14.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_14.md5 b/doc/html/inherit_graph_14.md5 new file mode 100644 index 00000000..ce092503 --- /dev/null +++ b/doc/html/inherit_graph_14.md5 @@ -0,0 +1 @@ +7d222ec514edbf1ad759cd111349cd17 \ No newline at end of file diff --git a/doc/html/inherit_graph_14.png b/doc/html/inherit_graph_14.png new file mode 100644 index 00000000..127cd317 Binary files /dev/null and b/doc/html/inherit_graph_14.png differ diff --git a/doc/html/inherit_graph_15.map b/doc/html/inherit_graph_15.map new file mode 100644 index 00000000..f0a4e70f --- /dev/null +++ b/doc/html/inherit_graph_15.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_15.md5 b/doc/html/inherit_graph_15.md5 new file mode 100644 index 00000000..b1404a2e --- /dev/null +++ b/doc/html/inherit_graph_15.md5 @@ -0,0 +1 @@ +a0f1abddd062d71f4e09d1e4be814e7b \ No newline at end of file diff --git a/doc/html/inherit_graph_15.png b/doc/html/inherit_graph_15.png new file mode 100644 index 00000000..6dda4e46 Binary files /dev/null and b/doc/html/inherit_graph_15.png differ diff --git a/doc/html/inherit_graph_16.map b/doc/html/inherit_graph_16.map new file mode 100644 index 00000000..a14e3679 --- /dev/null +++ b/doc/html/inherit_graph_16.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_16.md5 b/doc/html/inherit_graph_16.md5 new file mode 100644 index 00000000..63e1e0f0 --- /dev/null +++ b/doc/html/inherit_graph_16.md5 @@ -0,0 +1 @@ +ad6bd392e3f13a7a6a8f58ad496533a1 \ No newline at end of file diff --git a/doc/html/inherit_graph_16.png b/doc/html/inherit_graph_16.png new file mode 100644 index 00000000..d1c6dacb Binary files /dev/null and b/doc/html/inherit_graph_16.png differ diff --git a/doc/html/inherit_graph_17.map b/doc/html/inherit_graph_17.map new file mode 100644 index 00000000..96f1c96e --- /dev/null +++ b/doc/html/inherit_graph_17.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_17.md5 b/doc/html/inherit_graph_17.md5 new file mode 100644 index 00000000..c98230c1 --- /dev/null +++ b/doc/html/inherit_graph_17.md5 @@ -0,0 +1 @@ +30621d46512eac6f653481d071485323 \ No newline at end of file diff --git a/doc/html/inherit_graph_17.png b/doc/html/inherit_graph_17.png new file mode 100644 index 00000000..af67bb4d Binary files /dev/null and b/doc/html/inherit_graph_17.png differ diff --git a/doc/html/inherit_graph_18.map b/doc/html/inherit_graph_18.map new file mode 100644 index 00000000..0e862706 --- /dev/null +++ b/doc/html/inherit_graph_18.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_18.md5 b/doc/html/inherit_graph_18.md5 new file mode 100644 index 00000000..e7e5b4fc --- /dev/null +++ b/doc/html/inherit_graph_18.md5 @@ -0,0 +1 @@ +866608eaa82d06f2362fb559c8563ccc \ No newline at end of file diff --git a/doc/html/inherit_graph_18.png b/doc/html/inherit_graph_18.png new file mode 100644 index 00000000..4cab4342 Binary files /dev/null and b/doc/html/inherit_graph_18.png differ diff --git a/doc/html/inherit_graph_19.map b/doc/html/inherit_graph_19.map new file mode 100644 index 00000000..a8705d78 --- /dev/null +++ b/doc/html/inherit_graph_19.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_19.md5 b/doc/html/inherit_graph_19.md5 new file mode 100644 index 00000000..632be50a --- /dev/null +++ b/doc/html/inherit_graph_19.md5 @@ -0,0 +1 @@ +a03a9a5966e57dfafe0dd1d79b8807a7 \ No newline at end of file diff --git a/doc/html/inherit_graph_19.png b/doc/html/inherit_graph_19.png new file mode 100644 index 00000000..d2117f5c Binary files /dev/null and b/doc/html/inherit_graph_19.png differ diff --git a/doc/html/inherit_graph_2.map b/doc/html/inherit_graph_2.map new file mode 100644 index 00000000..65404967 --- /dev/null +++ b/doc/html/inherit_graph_2.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_2.md5 b/doc/html/inherit_graph_2.md5 new file mode 100644 index 00000000..2fbc8fc9 --- /dev/null +++ b/doc/html/inherit_graph_2.md5 @@ -0,0 +1 @@ +86b19254a12d015b0fd270c165991552 \ No newline at end of file diff --git a/doc/html/inherit_graph_2.png b/doc/html/inherit_graph_2.png new file mode 100644 index 00000000..109e01bc Binary files /dev/null and b/doc/html/inherit_graph_2.png differ diff --git a/doc/html/inherit_graph_20.map b/doc/html/inherit_graph_20.map new file mode 100644 index 00000000..ae91b0f6 --- /dev/null +++ b/doc/html/inherit_graph_20.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_20.md5 b/doc/html/inherit_graph_20.md5 new file mode 100644 index 00000000..82b900ad --- /dev/null +++ b/doc/html/inherit_graph_20.md5 @@ -0,0 +1 @@ +2e147afaa46c572677d87cc4928269bd \ No newline at end of file diff --git a/doc/html/inherit_graph_20.png b/doc/html/inherit_graph_20.png new file mode 100644 index 00000000..a78f1025 Binary files /dev/null and b/doc/html/inherit_graph_20.png differ diff --git a/doc/html/inherit_graph_21.map b/doc/html/inherit_graph_21.map new file mode 100644 index 00000000..fd02a0a2 --- /dev/null +++ b/doc/html/inherit_graph_21.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_21.md5 b/doc/html/inherit_graph_21.md5 new file mode 100644 index 00000000..d33751cb --- /dev/null +++ b/doc/html/inherit_graph_21.md5 @@ -0,0 +1 @@ +b62d573f8dc11a740ca346c47846c7f5 \ No newline at end of file diff --git a/doc/html/inherit_graph_21.png b/doc/html/inherit_graph_21.png new file mode 100644 index 00000000..f21f71c6 Binary files /dev/null and b/doc/html/inherit_graph_21.png differ diff --git a/doc/html/inherit_graph_22.map b/doc/html/inherit_graph_22.map new file mode 100644 index 00000000..6d74b1b2 --- /dev/null +++ b/doc/html/inherit_graph_22.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_22.md5 b/doc/html/inherit_graph_22.md5 new file mode 100644 index 00000000..ce27767f --- /dev/null +++ b/doc/html/inherit_graph_22.md5 @@ -0,0 +1 @@ +5701b024f23d25160322c8c8d2eecbc5 \ No newline at end of file diff --git a/doc/html/inherit_graph_22.png b/doc/html/inherit_graph_22.png new file mode 100644 index 00000000..14adb831 Binary files /dev/null and b/doc/html/inherit_graph_22.png differ diff --git a/doc/html/inherit_graph_23.map b/doc/html/inherit_graph_23.map new file mode 100644 index 00000000..c0778632 --- /dev/null +++ b/doc/html/inherit_graph_23.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_23.md5 b/doc/html/inherit_graph_23.md5 new file mode 100644 index 00000000..20b44052 --- /dev/null +++ b/doc/html/inherit_graph_23.md5 @@ -0,0 +1 @@ +8b03855584dc5bd38c483a62a1bf89f1 \ No newline at end of file diff --git a/doc/html/inherit_graph_23.png b/doc/html/inherit_graph_23.png new file mode 100644 index 00000000..80ff197a Binary files /dev/null and b/doc/html/inherit_graph_23.png differ diff --git a/doc/html/inherit_graph_24.map b/doc/html/inherit_graph_24.map new file mode 100644 index 00000000..08e9e43a --- /dev/null +++ b/doc/html/inherit_graph_24.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_24.md5 b/doc/html/inherit_graph_24.md5 new file mode 100644 index 00000000..2bab2704 --- /dev/null +++ b/doc/html/inherit_graph_24.md5 @@ -0,0 +1 @@ +b569036c9e130613008caa3770f77baa \ No newline at end of file diff --git a/doc/html/inherit_graph_24.png b/doc/html/inherit_graph_24.png new file mode 100644 index 00000000..2313aff1 Binary files /dev/null and b/doc/html/inherit_graph_24.png differ diff --git a/doc/html/inherit_graph_25.map b/doc/html/inherit_graph_25.map new file mode 100644 index 00000000..ddbc4b7f --- /dev/null +++ b/doc/html/inherit_graph_25.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_25.md5 b/doc/html/inherit_graph_25.md5 new file mode 100644 index 00000000..1416b19b --- /dev/null +++ b/doc/html/inherit_graph_25.md5 @@ -0,0 +1 @@ +2a28577f382cd196362ebdd8f9d9409d \ No newline at end of file diff --git a/doc/html/inherit_graph_25.png b/doc/html/inherit_graph_25.png new file mode 100644 index 00000000..82d050d8 Binary files /dev/null and b/doc/html/inherit_graph_25.png differ diff --git a/doc/html/inherit_graph_26.map b/doc/html/inherit_graph_26.map new file mode 100644 index 00000000..366c5b56 --- /dev/null +++ b/doc/html/inherit_graph_26.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_26.md5 b/doc/html/inherit_graph_26.md5 new file mode 100644 index 00000000..3cf3b170 --- /dev/null +++ b/doc/html/inherit_graph_26.md5 @@ -0,0 +1 @@ +e7d8a4da368183faa01aa1f3a58c0e87 \ No newline at end of file diff --git a/doc/html/inherit_graph_26.png b/doc/html/inherit_graph_26.png new file mode 100644 index 00000000..9d31f7ae Binary files /dev/null and b/doc/html/inherit_graph_26.png differ diff --git a/doc/html/inherit_graph_27.map b/doc/html/inherit_graph_27.map new file mode 100644 index 00000000..ab44e1a5 --- /dev/null +++ b/doc/html/inherit_graph_27.map @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/html/inherit_graph_27.md5 b/doc/html/inherit_graph_27.md5 new file mode 100644 index 00000000..6a18ecb8 --- /dev/null +++ b/doc/html/inherit_graph_27.md5 @@ -0,0 +1 @@ +0e1570876ca26a0f0c664c4a4f33b7d1 \ No newline at end of file diff --git a/doc/html/inherit_graph_27.png b/doc/html/inherit_graph_27.png new file mode 100644 index 00000000..7b0ef831 Binary files /dev/null and b/doc/html/inherit_graph_27.png differ diff --git a/doc/html/inherit_graph_28.map b/doc/html/inherit_graph_28.map new file mode 100644 index 00000000..8a2a646f --- /dev/null +++ b/doc/html/inherit_graph_28.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_28.md5 b/doc/html/inherit_graph_28.md5 new file mode 100644 index 00000000..52290a33 --- /dev/null +++ b/doc/html/inherit_graph_28.md5 @@ -0,0 +1 @@ +aac33ab11d63bd9dae34c94f16121267 \ No newline at end of file diff --git a/doc/html/inherit_graph_28.png b/doc/html/inherit_graph_28.png new file mode 100644 index 00000000..3f3121eb Binary files /dev/null and b/doc/html/inherit_graph_28.png differ diff --git a/doc/html/inherit_graph_29.map b/doc/html/inherit_graph_29.map new file mode 100644 index 00000000..dc99b124 --- /dev/null +++ b/doc/html/inherit_graph_29.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_29.md5 b/doc/html/inherit_graph_29.md5 new file mode 100644 index 00000000..832a3cc5 --- /dev/null +++ b/doc/html/inherit_graph_29.md5 @@ -0,0 +1 @@ +e65c030ca196d415c3015882152cc0eb \ No newline at end of file diff --git a/doc/html/inherit_graph_29.png b/doc/html/inherit_graph_29.png new file mode 100644 index 00000000..2aa5ca7f Binary files /dev/null and b/doc/html/inherit_graph_29.png differ diff --git a/doc/html/inherit_graph_3.map b/doc/html/inherit_graph_3.map new file mode 100644 index 00000000..16da14f8 --- /dev/null +++ b/doc/html/inherit_graph_3.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_3.md5 b/doc/html/inherit_graph_3.md5 new file mode 100644 index 00000000..60c939b3 --- /dev/null +++ b/doc/html/inherit_graph_3.md5 @@ -0,0 +1 @@ +8110612950e17b983dbd4b2cef6a1e33 \ No newline at end of file diff --git a/doc/html/inherit_graph_3.png b/doc/html/inherit_graph_3.png new file mode 100644 index 00000000..cc995051 Binary files /dev/null and b/doc/html/inherit_graph_3.png differ diff --git a/doc/html/inherit_graph_30.map b/doc/html/inherit_graph_30.map new file mode 100644 index 00000000..3535c0ae --- /dev/null +++ b/doc/html/inherit_graph_30.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_30.md5 b/doc/html/inherit_graph_30.md5 new file mode 100644 index 00000000..eb9399c6 --- /dev/null +++ b/doc/html/inherit_graph_30.md5 @@ -0,0 +1 @@ +997ca3413b7538e05ea99dca05858473 \ No newline at end of file diff --git a/doc/html/inherit_graph_30.png b/doc/html/inherit_graph_30.png new file mode 100644 index 00000000..8a2a6ff2 Binary files /dev/null and b/doc/html/inherit_graph_30.png differ diff --git a/doc/html/inherit_graph_31.map b/doc/html/inherit_graph_31.map new file mode 100644 index 00000000..a215cf8c --- /dev/null +++ b/doc/html/inherit_graph_31.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_31.md5 b/doc/html/inherit_graph_31.md5 new file mode 100644 index 00000000..39cf5e23 --- /dev/null +++ b/doc/html/inherit_graph_31.md5 @@ -0,0 +1 @@ +436abc2e050f3eff48e0e70b77dba764 \ No newline at end of file diff --git a/doc/html/inherit_graph_31.png b/doc/html/inherit_graph_31.png new file mode 100644 index 00000000..96fe91b4 Binary files /dev/null and b/doc/html/inherit_graph_31.png differ diff --git a/doc/html/inherit_graph_32.map b/doc/html/inherit_graph_32.map new file mode 100644 index 00000000..2f40e60e --- /dev/null +++ b/doc/html/inherit_graph_32.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_32.md5 b/doc/html/inherit_graph_32.md5 new file mode 100644 index 00000000..4f0ce01a --- /dev/null +++ b/doc/html/inherit_graph_32.md5 @@ -0,0 +1 @@ +7b57cd09505469d79be5cd8ed5e50f6d \ No newline at end of file diff --git a/doc/html/inherit_graph_32.png b/doc/html/inherit_graph_32.png new file mode 100644 index 00000000..2350cd5a Binary files /dev/null and b/doc/html/inherit_graph_32.png differ diff --git a/doc/html/inherit_graph_33.map b/doc/html/inherit_graph_33.map new file mode 100644 index 00000000..7296d0e7 --- /dev/null +++ b/doc/html/inherit_graph_33.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_33.md5 b/doc/html/inherit_graph_33.md5 new file mode 100644 index 00000000..73826164 --- /dev/null +++ b/doc/html/inherit_graph_33.md5 @@ -0,0 +1 @@ +6550ac91c3a212960223002f864df827 \ No newline at end of file diff --git a/doc/html/inherit_graph_33.png b/doc/html/inherit_graph_33.png new file mode 100644 index 00000000..ab47b4ce Binary files /dev/null and b/doc/html/inherit_graph_33.png differ diff --git a/doc/html/inherit_graph_34.map b/doc/html/inherit_graph_34.map new file mode 100644 index 00000000..05e014b6 --- /dev/null +++ b/doc/html/inherit_graph_34.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_34.md5 b/doc/html/inherit_graph_34.md5 new file mode 100644 index 00000000..6db6b48a --- /dev/null +++ b/doc/html/inherit_graph_34.md5 @@ -0,0 +1 @@ +6b11a26718e43a66da0ca090fb9c3d95 \ No newline at end of file diff --git a/doc/html/inherit_graph_34.png b/doc/html/inherit_graph_34.png new file mode 100644 index 00000000..d1f90861 Binary files /dev/null and b/doc/html/inherit_graph_34.png differ diff --git a/doc/html/inherit_graph_35.map b/doc/html/inherit_graph_35.map new file mode 100644 index 00000000..99ef6793 --- /dev/null +++ b/doc/html/inherit_graph_35.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_35.md5 b/doc/html/inherit_graph_35.md5 new file mode 100644 index 00000000..e50b34f8 --- /dev/null +++ b/doc/html/inherit_graph_35.md5 @@ -0,0 +1 @@ +83a971aa5fc46a3ec8850929601fc6e0 \ No newline at end of file diff --git a/doc/html/inherit_graph_35.png b/doc/html/inherit_graph_35.png new file mode 100644 index 00000000..6ab38568 Binary files /dev/null and b/doc/html/inherit_graph_35.png differ diff --git a/doc/html/inherit_graph_36.map b/doc/html/inherit_graph_36.map new file mode 100644 index 00000000..7b89f94d --- /dev/null +++ b/doc/html/inherit_graph_36.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_36.md5 b/doc/html/inherit_graph_36.md5 new file mode 100644 index 00000000..1c27d88d --- /dev/null +++ b/doc/html/inherit_graph_36.md5 @@ -0,0 +1 @@ +6f3cecfd56a7b47137b8b09abd2e41ca \ No newline at end of file diff --git a/doc/html/inherit_graph_36.png b/doc/html/inherit_graph_36.png new file mode 100644 index 00000000..6798eabf Binary files /dev/null and b/doc/html/inherit_graph_36.png differ diff --git a/doc/html/inherit_graph_37.map b/doc/html/inherit_graph_37.map new file mode 100644 index 00000000..de6a3d7f --- /dev/null +++ b/doc/html/inherit_graph_37.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_37.md5 b/doc/html/inherit_graph_37.md5 new file mode 100644 index 00000000..687faf36 --- /dev/null +++ b/doc/html/inherit_graph_37.md5 @@ -0,0 +1 @@ +9e88b674dfde6aa0eaf2fde9eefd3bcc \ No newline at end of file diff --git a/doc/html/inherit_graph_37.png b/doc/html/inherit_graph_37.png new file mode 100644 index 00000000..dc004f4b Binary files /dev/null and b/doc/html/inherit_graph_37.png differ diff --git a/doc/html/inherit_graph_38.map b/doc/html/inherit_graph_38.map new file mode 100644 index 00000000..2ba9c1f9 --- /dev/null +++ b/doc/html/inherit_graph_38.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_38.md5 b/doc/html/inherit_graph_38.md5 new file mode 100644 index 00000000..896bb298 --- /dev/null +++ b/doc/html/inherit_graph_38.md5 @@ -0,0 +1 @@ +9cfc6f669e916f86e9334d76cb999074 \ No newline at end of file diff --git a/doc/html/inherit_graph_38.png b/doc/html/inherit_graph_38.png new file mode 100644 index 00000000..0df5f320 Binary files /dev/null and b/doc/html/inherit_graph_38.png differ diff --git a/doc/html/inherit_graph_39.map b/doc/html/inherit_graph_39.map new file mode 100644 index 00000000..dd4c75db --- /dev/null +++ b/doc/html/inherit_graph_39.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_39.md5 b/doc/html/inherit_graph_39.md5 new file mode 100644 index 00000000..99028788 --- /dev/null +++ b/doc/html/inherit_graph_39.md5 @@ -0,0 +1 @@ +949a5c3110d129ba898feee8a44da9da \ No newline at end of file diff --git a/doc/html/inherit_graph_39.png b/doc/html/inherit_graph_39.png new file mode 100644 index 00000000..ea404a05 Binary files /dev/null and b/doc/html/inherit_graph_39.png differ diff --git a/doc/html/inherit_graph_4.map b/doc/html/inherit_graph_4.map new file mode 100644 index 00000000..8282f98f --- /dev/null +++ b/doc/html/inherit_graph_4.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_4.md5 b/doc/html/inherit_graph_4.md5 new file mode 100644 index 00000000..7448352a --- /dev/null +++ b/doc/html/inherit_graph_4.md5 @@ -0,0 +1 @@ +33bc906bedb352ac7ece4d9d379ff26e \ No newline at end of file diff --git a/doc/html/inherit_graph_4.png b/doc/html/inherit_graph_4.png new file mode 100644 index 00000000..c7feafe9 Binary files /dev/null and b/doc/html/inherit_graph_4.png differ diff --git a/doc/html/inherit_graph_40.map b/doc/html/inherit_graph_40.map new file mode 100644 index 00000000..f3e945e6 --- /dev/null +++ b/doc/html/inherit_graph_40.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_40.md5 b/doc/html/inherit_graph_40.md5 new file mode 100644 index 00000000..be3535f4 --- /dev/null +++ b/doc/html/inherit_graph_40.md5 @@ -0,0 +1 @@ +13c0503295c3304abfcd173c86c8cd59 \ No newline at end of file diff --git a/doc/html/inherit_graph_40.png b/doc/html/inherit_graph_40.png new file mode 100644 index 00000000..23c66567 Binary files /dev/null and b/doc/html/inherit_graph_40.png differ diff --git a/doc/html/inherit_graph_41.map b/doc/html/inherit_graph_41.map new file mode 100644 index 00000000..a553bdbd --- /dev/null +++ b/doc/html/inherit_graph_41.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_41.md5 b/doc/html/inherit_graph_41.md5 new file mode 100644 index 00000000..5e44f578 --- /dev/null +++ b/doc/html/inherit_graph_41.md5 @@ -0,0 +1 @@ +c2d6dcdbd83e7b42c20dcfda0f6044aa \ No newline at end of file diff --git a/doc/html/inherit_graph_41.png b/doc/html/inherit_graph_41.png new file mode 100644 index 00000000..7cb7d37b Binary files /dev/null and b/doc/html/inherit_graph_41.png differ diff --git a/doc/html/inherit_graph_42.map b/doc/html/inherit_graph_42.map new file mode 100644 index 00000000..d3268508 --- /dev/null +++ b/doc/html/inherit_graph_42.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_42.md5 b/doc/html/inherit_graph_42.md5 new file mode 100644 index 00000000..9401634d --- /dev/null +++ b/doc/html/inherit_graph_42.md5 @@ -0,0 +1 @@ +c994391526c30626842988d532319f42 \ No newline at end of file diff --git a/doc/html/inherit_graph_42.png b/doc/html/inherit_graph_42.png new file mode 100644 index 00000000..aede84e1 Binary files /dev/null and b/doc/html/inherit_graph_42.png differ diff --git a/doc/html/inherit_graph_5.map b/doc/html/inherit_graph_5.map new file mode 100644 index 00000000..e8c7dc3c --- /dev/null +++ b/doc/html/inherit_graph_5.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_5.md5 b/doc/html/inherit_graph_5.md5 new file mode 100644 index 00000000..2246f0f6 --- /dev/null +++ b/doc/html/inherit_graph_5.md5 @@ -0,0 +1 @@ +5edb56a4c7da3bd461757ec666498386 \ No newline at end of file diff --git a/doc/html/inherit_graph_5.png b/doc/html/inherit_graph_5.png new file mode 100644 index 00000000..ddaf5a9d Binary files /dev/null and b/doc/html/inherit_graph_5.png differ diff --git a/doc/html/inherit_graph_6.map b/doc/html/inherit_graph_6.map new file mode 100644 index 00000000..534dda51 --- /dev/null +++ b/doc/html/inherit_graph_6.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_6.md5 b/doc/html/inherit_graph_6.md5 new file mode 100644 index 00000000..10f1cdfc --- /dev/null +++ b/doc/html/inherit_graph_6.md5 @@ -0,0 +1 @@ +602f7ee90e2ebf70c7d0259ee9a968f6 \ No newline at end of file diff --git a/doc/html/inherit_graph_6.png b/doc/html/inherit_graph_6.png new file mode 100644 index 00000000..9477f6dc Binary files /dev/null and b/doc/html/inherit_graph_6.png differ diff --git a/doc/html/inherit_graph_7.map b/doc/html/inherit_graph_7.map new file mode 100644 index 00000000..c59ac9be --- /dev/null +++ b/doc/html/inherit_graph_7.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_7.md5 b/doc/html/inherit_graph_7.md5 new file mode 100644 index 00000000..4bd8575f --- /dev/null +++ b/doc/html/inherit_graph_7.md5 @@ -0,0 +1 @@ +333434c95a082f6770e420cda14e9524 \ No newline at end of file diff --git a/doc/html/inherit_graph_7.png b/doc/html/inherit_graph_7.png new file mode 100644 index 00000000..bba3ce22 Binary files /dev/null and b/doc/html/inherit_graph_7.png differ diff --git a/doc/html/inherit_graph_8.map b/doc/html/inherit_graph_8.map new file mode 100644 index 00000000..06b9f9ca --- /dev/null +++ b/doc/html/inherit_graph_8.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_8.md5 b/doc/html/inherit_graph_8.md5 new file mode 100644 index 00000000..ddc7a2ac --- /dev/null +++ b/doc/html/inherit_graph_8.md5 @@ -0,0 +1 @@ +4b10a8c6a1ea5c9db56098c893aea1af \ No newline at end of file diff --git a/doc/html/inherit_graph_8.png b/doc/html/inherit_graph_8.png new file mode 100644 index 00000000..e263872e Binary files /dev/null and b/doc/html/inherit_graph_8.png differ diff --git a/doc/html/inherit_graph_9.map b/doc/html/inherit_graph_9.map new file mode 100644 index 00000000..1615f196 --- /dev/null +++ b/doc/html/inherit_graph_9.map @@ -0,0 +1,3 @@ + + + diff --git a/doc/html/inherit_graph_9.md5 b/doc/html/inherit_graph_9.md5 new file mode 100644 index 00000000..2f1b6529 --- /dev/null +++ b/doc/html/inherit_graph_9.md5 @@ -0,0 +1 @@ +fa4a27d98e3cd867cb9e6f2974d237f3 \ No newline at end of file diff --git a/doc/html/inherit_graph_9.png b/doc/html/inherit_graph_9.png new file mode 100644 index 00000000..14451fe2 Binary files /dev/null and b/doc/html/inherit_graph_9.png differ diff --git a/doc/html/inherits.html b/doc/html/inherits.html new file mode 100644 index 00000000..377d36aa --- /dev/null +++ b/doc/html/inherits.html @@ -0,0 +1,402 @@ + + + + + + + +MakeBlock Drive Updated: Class Hierarchy + + + + + + + + + + + + + +
+
+ + + + + + +
+
MakeBlock Drive Updated +
+
Updated library for MakeBlock Ranger
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Class Hierarchy
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+
+
+ + + + diff --git a/doc/html/jquery.js b/doc/html/jquery.js new file mode 100644 index 00000000..1dffb65b --- /dev/null +++ b/doc/html/jquery.js @@ -0,0 +1,34 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=y.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/doc/html/menu.js b/doc/html/menu.js new file mode 100644 index 00000000..b0b26936 --- /dev/null +++ b/doc/html/menu.js @@ -0,0 +1,136 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+='
    '; + for (var i in data.children) { + var url; + var link; + link = data.children[i].url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + } else { + url = relPath+link; + } + result+='
  • '+ + data.children[i].text+''+ + makeTree(data.children[i],relPath)+'
  • '; + } + result+='
'; + } + return result; + } + var searchBoxHtml; + if (searchEnabled) { + if (serverSide) { + searchBoxHtml='
'+ + '
'+ + '
 '+ + ''+ + '
'+ + '
'+ + '
'+ + '
'; + } else { + searchBoxHtml='
'+ + ''+ + ' '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
'; + } + } + + $('#main-nav').before('
'+ + ''+ + ''+ + '
'); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBoxHtml) { + $('#main-menu').append('
  • '); + } + var $mainMenuState = $('#main-menu-state'); + var prevWidth = 0; + if ($mainMenuState.length) { + function initResizableIfExists() { + if (typeof initResizable==='function') initResizable(); + } + // animate mobile menu + $mainMenuState.change(function(e) { + var $menu = $('#main-menu'); + var options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = function() { $menu.css('display', 'block') }; + $menu.hide().slideDown(options); + } else { + options['complete'] = function() { $menu.css('display', 'none') }; + $menu.show().slideUp(options); + } + }); + // set default menu visibility + function resetState() { + var $menu = $('#main-menu'); + var $mainMenuState = $('#main-menu-state'); + var newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBoxHtml); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBoxHtml); + $('#searchBoxPos2').show(); + } + if (typeof searchBox!=='undefined') { + searchBox.CloseResultsWindow(); + } + prevWidth = newWidth; + } + } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/doc/html/menudata.js b/doc/html/menudata.js new file mode 100644 index 00000000..74c2d6c9 --- /dev/null +++ b/doc/html/menudata.js @@ -0,0 +1,85 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Classes",url:"annotated.html",children:[ +{text:"Class List",url:"annotated.html"}, +{text:"Class Index",url:"classes.html"}, +{text:"Class Hierarchy",url:"inherits.html"}, +{text:"Class Members",url:"functions.html",children:[ +{text:"All",url:"functions.html",children:[ +{text:"_",url:"functions.html#index__5F"}, +{text:"a",url:"functions_a.html#index_a"}, +{text:"b",url:"functions_b.html#index_b"}, +{text:"c",url:"functions_c.html#index_c"}, +{text:"d",url:"functions_d.html#index_d"}, +{text:"e",url:"functions_e.html#index_e"}, +{text:"f",url:"functions_f.html#index_f"}, +{text:"g",url:"functions_g.html#index_g"}, +{text:"h",url:"functions_h.html#index_h"}, +{text:"i",url:"functions_i.html#index_i"}, +{text:"k",url:"functions_k.html#index_k"}, +{text:"l",url:"functions_l.html#index_l"}, +{text:"m",url:"functions_m.html#index_m"}, +{text:"n",url:"functions_n.html#index_n"}, +{text:"o",url:"functions_o.html#index_o"}, +{text:"p",url:"functions_p.html#index_p"}, +{text:"r",url:"functions_r.html#index_r"}, +{text:"s",url:"functions_s.html#index_s"}, +{text:"t",url:"functions_t.html#index_t"}, +{text:"u",url:"functions_u.html#index_u"}, +{text:"w",url:"functions_w.html#index_w"}, +{text:"~",url:"functions_~.html#index__7E"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"b",url:"functions_func_b.html#index_b"}, +{text:"c",url:"functions_func_c.html#index_c"}, +{text:"d",url:"functions_func_d.html#index_d"}, +{text:"e",url:"functions_func_e.html#index_e"}, +{text:"f",url:"functions_func_f.html#index_f"}, +{text:"g",url:"functions_func_g.html#index_g"}, +{text:"h",url:"functions_func_h.html#index_h"}, +{text:"i",url:"functions_func_i.html#index_i"}, +{text:"k",url:"functions_func_k.html#index_k"}, +{text:"l",url:"functions_func_l.html#index_l"}, +{text:"m",url:"functions_func_m.html#index_m"}, +{text:"n",url:"functions_func_n.html#index_n"}, +{text:"o",url:"functions_func_o.html#index_o"}, +{text:"p",url:"functions_func_p.html#index_p"}, +{text:"r",url:"functions_func_r.html#index_r"}, +{text:"s",url:"functions_func_s.html#index_s"}, +{text:"t",url:"functions_func_t.html#index_t"}, +{text:"u",url:"functions_func_u.html#index_u"}, +{text:"w",url:"functions_func_w.html#index_w"}, +{text:"~",url:"functions_func_~.html#index__7E"}]}, +{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"File Members",url:"globals.html",children:[ +{text:"All",url:"globals.html"}, +{text:"Functions",url:"globals_func.html"}, +{text:"Enumerations",url:"globals_enum.html"}, +{text:"Enumerator",url:"globals_eval.html"}]}]}, +{text:"Examples",url:"examples.html"}]} diff --git a/doc/html/minus.svg b/doc/html/minus.svg new file mode 100644 index 00000000..f70d0c1a --- /dev/null +++ b/doc/html/minus.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/doc/html/minusd.svg b/doc/html/minusd.svg new file mode 100644 index 00000000..5f8e8796 --- /dev/null +++ b/doc/html/minusd.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/doc/html/nav_f.png b/doc/html/nav_f.png new file mode 100644 index 00000000..72a58a52 Binary files /dev/null and b/doc/html/nav_f.png differ diff --git a/doc/html/nav_fd.png b/doc/html/nav_fd.png new file mode 100644 index 00000000..032fbdd4 Binary files /dev/null and b/doc/html/nav_fd.png differ diff --git a/doc/html/nav_g.png b/doc/html/nav_g.png new file mode 100644 index 00000000..2093a237 Binary files /dev/null and b/doc/html/nav_g.png differ diff --git a/doc/html/nav_h.png b/doc/html/nav_h.png new file mode 100644 index 00000000..33389b10 Binary files /dev/null and b/doc/html/nav_h.png differ diff --git a/doc/html/nav_hd.png b/doc/html/nav_hd.png new file mode 100644 index 00000000..de80f18a Binary files /dev/null and b/doc/html/nav_hd.png differ diff --git a/doc/html/navtree.css b/doc/html/navtree.css new file mode 100644 index 00000000..69211d4a --- /dev/null +++ b/doc/html/navtree.css @@ -0,0 +1,149 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: var(--nav-text-active-color); + text-shadow: var(--nav-text-active-shadow); +} + +#nav-tree .selected .arrow { + color: var(--nav-arrow-selected-color); + text-shadow: none; +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px var(--font-family-nav); +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:var(--nav-text-active-color); +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: $width; + overflow : hidden; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background-image:var(--nav-splitbar-image); + background-size:100%; + background-repeat:repeat-y; + background-attachment: scroll; + cursor:ew-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-repeat:repeat-x; + background-color: var(--nav-background-color); + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/doc/html/navtree.js b/doc/html/navtree.js new file mode 100644 index 00000000..93dd3d46 --- /dev/null +++ b/doc/html/navtree.js @@ -0,0 +1,559 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +var navTreeSubIndices = new Array(); +var arrowDown = '▼'; +var arrowRight = '►'; + +function getData(varName) +{ + var i = varName.lastIndexOf('/'); + var n = i>=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function hashValue() +{ + return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); +} + +function hashUrl() +{ + return '#'+hashValue(); +} + +function pathName() +{ + return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); +} + +function localStorageSupported() +{ + try { + return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; + } + catch(e) { + return false; + } +} + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + var level=-1; + var n = node; + while (n.parentNode) { level++; n=n.parentNode; } + if (node.childrenData) { + var imgNode = document.createElement("span"); + imgNode.className = 'arrow'; + imgNode.style.paddingLeft=(16*level).toString()+'px'; + imgNode.innerHTML=arrowRight; + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + node.plus_img.innerHTML=arrowRight; + node.expanded = false; + } else { + expandNode(o, node, false, true); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + } else { + var span = document.createElement("span"); + span.className = 'arrow'; + span.style.width = 16*(level+1)+'px'; + span.innerHTML = ' '; + domNode.appendChild(span); + } +} + +var animationInProgress = false; + +function gotoAnchor(anchor,aname,updateLocation) +{ + var pos, docContent = $('#doc-content'); + var ancParent = $(anchor.parent()); + if (ancParent.hasClass('memItemLeft') || + ancParent.hasClass('memtitle') || + ancParent.hasClass('fieldname') || + ancParent.hasClass('fieldtype') || + ancParent.is(':header')) + { + pos = ancParent.position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + animationInProgress=true; + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + if (updateLocation) window.location.href=aname; + animationInProgress=false; + }); + } +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath(pathName()); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : "javascript:void(0)"; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var anchor = $(aname); + gotoAnchor(anchor,aname,true); + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, setFocus) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, setFocus); + }); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).slideDown("fast"); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + if (setFocus) { + $(node.expandToggle).focus(); + } + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var aname = hashUrl(); + var anchor = $(aname); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parent().attr('class')=='fieldname'){ + glowEffect(anchor.parent().parent(),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath(pathName())+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + var topOffset=5; + if (typeof page_layout!=='undefined' && page_layout==1) { + topOffset+=$('#top').outerHeight(); + } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + topOffset+=25; + } + $('#nav-sync').css('top',topOffset+'px'); + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + }); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).css({'display':'block'}); + node.plus_img.innerHTML = arrowDown; + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); + else hash=''; + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + }); + } +} + +function showSyncOff(n,relpath) +{ + n.html(''); +} + +function showSyncOn(n,relpath) +{ + n.html(''); +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + showSyncOff(navSync,relpath); + storeLink(stripPath2(pathName())+hashUrl()); + } else { + navSync.addClass('sync'); + showSyncOn(navSync,relpath); + deleteLink(); + } +} + +var loadTriggered = false; +var readyTriggered = false; +var loadObject,loadToRoot,loadUrl,loadRelPath; + +$(window).on('load',function(){ + if (readyTriggered) { // ready first + navTo(loadObject,loadToRoot,loadUrl,loadRelPath); + showRoot(); + } + loadTriggered=true; +}); + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("span"); + o.node.plus_img.className = 'arrow'; + o.node.plus_img.innerHTML = arrowRight; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + showSyncOff(navSync,relpath); + navSync.removeClass('sync'); + } else { + showSyncOn(navSync,relpath); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + if (loadTriggered) { // load before ready + navTo(o,toroot,hashUrl(),relpath); + showRoot(); + } else { // ready before load + loadObject = o; + loadToRoot = toroot; + loadUrl = hashUrl(); + loadRelPath = relpath; + readyTriggered=true; + } + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath(pathName())+':'+hashValue(); + a=$('.item a[class$="'+clslink.replace(/ + + + + + + + + diff --git a/doc/html/plusd.svg b/doc/html/plusd.svg new file mode 100644 index 00000000..0c65bfe9 --- /dev/null +++ b/doc/html/plusd.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/resize.js b/doc/html/resize.js new file mode 100644 index 00000000..aaeb6fc0 --- /dev/null +++ b/doc/html/resize.js @@ -0,0 +1,155 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +var once=1; +function initResizable() +{ + var cookie_namespace = 'doxygen'; + var sidenav,navtree,content,header,barWidth=6,desktop_vp=768,titleHeight; + + function readSetting(cookie) + { + if (window.chrome) { + var val = localStorage.getItem(cookie_namespace+'_width'); + if (val) return val; + } else { + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) { + var index = document.cookie.indexOf(myCookie); + if (index != -1) { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; + } + } + } + return 250; + } + + function writeSetting(cookie, val) + { + if (window.chrome) { + localStorage.setItem(cookie_namespace+"_width",val); + } else { + var date = new Date(); + date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week + expiration = date.toGMTString(); + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; SameSite=Lax; expires=" + expiration+"; path=/"; + } + } + + function resizeWidth() + { + var windowWidth = $(window).width() + "px"; + var sidenavWidth = $(sidenav).outerWidth(); + content.css({marginLeft:parseInt(sidenavWidth)+"px"}); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(sidenavWidth)+"px"}); + } + writeSetting('width',sidenavWidth-barWidth); + } + + function restoreWidth(navWidth) + { + var windowWidth = $(window).width() + "px"; + content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + } + sidenav.css({width:navWidth + "px"}); + } + + function resizeHeight() + { + var headerHeight = header.outerHeight(); + var footerHeight = footer.outerHeight(); + var windowHeight = $(window).height(); + var contentHeight,navtreeHeight,sideNavHeight; + if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */ + contentHeight = windowHeight - headerHeight - footerHeight; + navtreeHeight = contentHeight; + sideNavHeight = contentHeight; + } else if (page_layout==1) { /* DISABLE_INDEX=YES */ + contentHeight = windowHeight - footerHeight; + navtreeHeight = windowHeight - headerHeight; + sideNavHeight = windowHeight; + } + content.css({height:contentHeight + "px"}); + navtree.css({height:navtreeHeight + "px"}); + sidenav.css({height:sideNavHeight + "px"}); + if (location.hash.slice(1)) { + (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); + } + } + + function collapseExpand() + { + var newWidth; + if (sidenav.width()>0) { + newWidth=0; + } + else { + var width = readSetting('width'); + newWidth = (width>250 && width<$(window).width()) ? width : 250; + } + restoreWidth(newWidth); + var sidenavWidth = $(sidenav).outerWidth(); + writeSetting('width',sidenavWidth-barWidth); + } + + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(sidenav).resizable({ minWidth: 0 }); + $(window).resize(function() { resizeHeight(); }); + var device = navigator.userAgent.toLowerCase(); + var touch_device = device.match(/(iphone|ipod|ipad|android)/); + if (touch_device) { /* wider split bar for touch only devices */ + $(sidenav).css({ paddingRight:'20px' }); + $('.ui-resizable-e').css({ width:'20px' }); + $('#nav-sync').css({ right:'34px' }); + barWidth=20; + } + var width = readSetting('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + if (once) { + $(".ui-resizable-handle").dblclick(collapseExpand); + once=0 + } + $(window).on('load',resizeHeight); +} +/* @license-end */ diff --git a/doc/html/search/all_0.js b/doc/html/search/all_0.js new file mode 100644 index 00000000..7daa5a2e --- /dev/null +++ b/doc/html/search/all_0.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['_5fport_0',['_port',['../class_me_port.html#adc9cdd4e574061d41244fc662974544f',1,'MePort']]], + ['_5fslot_1',['_slot',['../class_me_port.html#a4159543b593b047cd82fedab30b178b7',1,'MePort']]], + ['_5fusb_5fconfig_5fdescriptor_2',['_USB_CONFIG_DEscriptOR',['../struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html',1,'']]], + ['_5fusb_5fconfig_5fdescriptor_5flong_3',['_USB_CONFIG_DEscriptOR_LONG',['../struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html',1,'']]], + ['_5fusb_5fdevice_5fdescriptor_4',['_USB_DEVICE_DEscriptOR',['../struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html',1,'']]], + ['_5fusb_5fendpoint_5fdescriptor_5',['_USB_ENDPOINT_DEscriptOR',['../struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html',1,'']]], + ['_5fusb_5finterf_5fdescriptor_6',['_USB_INTERF_DEscriptOR',['../struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html',1,'']]] +]; diff --git a/doc/html/search/all_1.js b/doc/html/search/all_1.js new file mode 100644 index 00000000..e55776c4 --- /dev/null +++ b/doc/html/search/all_1.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['angle_0',['angle',['../class_me_joystick.html#ae6ce1a51a3023c9017a560de91497adf',1,'MeJoystick']]], + ['arduino_1',['Makeblock library for Arduino',['../index.html',1,'']]], + ['aread1_2',['aRead1',['../class_me_port.html#acfd28b1ab8cc6af5bf8223446022525c',1,'MePort']]], + ['aread2_3',['aRead2',['../class_me_port.html#a63709dcbe9850c0d3baec1fed72809bf',1,'MePort']]], + ['askfordata_4',['askForData',['../class_me_pm25_sensor.html#abcec24407e3cbc74c6e47ca2abdd082a',1,'MePm25Sensor']]], + ['assigndevidrequest_5',['assignDevIdRequest',['../class_me_smart_servo.html#ad416c90e90bffb8e56caa8d79fe2d473',1,'MeSmartServo']]], + ['assigndevidresponse_6',['assignDevIdResponse',['../class_me_smart_servo.html#a5b6fa025da9977cba9212b64988acb2a',1,'MeSmartServo']]], + ['available_7',['available',['../class_me_serial.html#a4b784a1b24df5e06f208d697e9e1ed3f',1,'MeSerial']]], + ['avr_20only_20definitions_8',['AVR Only definitions',['../_servo_timers_8h.html#autotoc_md10',1,'']]], + ['awrite1_9',['aWrite1',['../class_me_port.html#adb4d7959f2059bf9986a8e5a631988ae',1,'MePort']]], + ['awrite2_10',['aWrite2',['../class_me_port.html#a3834f0f30618ec31789d524dd367e44f',1,'MePort']]] +]; diff --git a/doc/html/search/all_10.js b/doc/html/search/all_10.js new file mode 100644 index 00000000..84970c84 --- /dev/null +++ b/doc/html/search/all_10.js @@ -0,0 +1,56 @@ +var searchData= +[ + ['read_0',['read',['../class_me_infrared_receiver.html#aaccf198c3a013b38e783a3e055631110',1,'MeInfraredReceiver::read()'],['../class_me_joystick.html#a5a690937c49c9ee5623006d2acfe0766',1,'MeJoystick::read()'],['../class_me_light_sensor.html#aaae9be2df39ab2c86c4b27c618e3fb48',1,'MeLightSensor::read()'],['../class_me_one_wire.html#a9930a16f2cdc36d15f646e41a1a083a4',1,'MeOneWire::read()'],['../class_me_potentiometer.html#a10026bd4d880b63d8bd4b06834e2a115',1,'MePotentiometer::read()'],['../class_me_serial.html#a00be49316c437fdb4615c4e40869ff60',1,'MeSerial::read()'],['../class_me_voice.html#a8e03afa2722be68289d8e5d7963935e9',1,'MeVoice::read()']]], + ['read0_5f3numin100ml_1',['read0_3NumIn100ml',['../class_me_pm25_sensor.html#aef664694c3ca8512d694795dd704e5a3',1,'MePm25Sensor']]], + ['read0_5f5numin100ml_2',['read0_5NumIn100ml',['../class_me_pm25_sensor.html#aae4537c8e8a21c6304221193b9f35472',1,'MePm25Sensor']]], + ['read10numin100ml_3',['read10NumIn100ml',['../class_me_pm25_sensor.html#a7abb152fbb1530757a3b4e6994b4a578',1,'MePm25Sensor']]], + ['read1_5f0numin100ml_4',['read1_0NumIn100ml',['../class_me_pm25_sensor.html#ad07e4c9369d6def86457816936e4ce1e',1,'MePm25Sensor']]], + ['read2_5f5numin100ml_5',['read2_5NumIn100ml',['../class_me_pm25_sensor.html#a5e6ad588c26febcdf79d53231d492553',1,'MePm25Sensor']]], + ['read5_5f0numin100ml_6',['read5_0NumIn100ml',['../class_me_pm25_sensor.html#ac780e647570499912c45802baaee8dc2',1,'MePm25Sensor']]], + ['read_5fbit_7',['read_bit',['../class_me_one_wire.html#abd22dddea19354d857f5e3b33b02add3',1,'MeOneWire']]], + ['read_5fbytes_8',['read_bytes',['../class_me_one_wire.html#acbaaa04392b4b406500f4953ef389a6c',1,'MeOneWire']]], + ['readanalog_9',['readanalog',['../class_me_flame_sensor.html#a09baccd24c256f1ad1b59e148f43450a',1,'MeFlameSensor::readAnalog()'],['../class_me_gas_sensor.html#ab074be57436cbeda3788a109435b6d45',1,'MeGasSensor::readAnalog()'],['../class_me_on_board_temp.html#ada9bb788ed99094df48dbd9536193362',1,'MeOnBoardTemp::readAnalog()']]], + ['readbuffer_10',['readBuffer',['../class_me_p_s2.html#a4df0b0985f4b63366fc8ed2b6489916b',1,'MePS2']]], + ['readbyte_11',['readByte',['../class_me_smart_servo.html#a1aaad24e2abbcba8fe5be7d3d0d84e63',1,'MeSmartServo']]], + ['readdata_12',['readData',['../class_me_color_sensor.html#aeb6c09291008af8b013e5462331e5c08',1,'MeColorSensor']]], + ['readdigital_13',['readdigital',['../class_me_flame_sensor.html#a01b134562c8fff15c7f7f48e18839cd0',1,'MeFlameSensor::readDigital()'],['../class_me_gas_sensor.html#aeac19b4e212288e4c3ec309ef69ce881',1,'MeGasSensor::readDigital()']]], + ['readfloat_14',['readFloat',['../class_me_smart_servo.html#ae66a39120aa542835ed7baefe543170c',1,'MeSmartServo']]], + ['readio_15',['readIO',['../class_me_one_wire.html#a8cfacb53d1246333f94c25508e833f22',1,'MeOneWire']]], + ['readjoystick_16',['readjoystick',['../class_me_p_s2.html#a83482bf8ea7f5654ad6af4603045943e',1,'MePS2']]], + ['readlong_17',['readLong',['../class_me_smart_servo.html#add30c4b6013c26a2b92b37992a2a9feb',1,'MeSmartServo']]], + ['readpm10concentration_18',['readPm10Concentration',['../class_me_pm25_sensor.html#a3835d73853146cbbedb10bf35b24469a',1,'MePm25Sensor']]], + ['readpm1_5f0concentration_19',['readPm1_0Concentration',['../class_me_pm25_sensor.html#a3ab7cc63abcb3d89abf615d3c8f68f78',1,'MePm25Sensor']]], + ['readpm2_5f5concentration_20',['readPm2_5Concentration',['../class_me_pm25_sensor.html#ad4f1efe5497f5e2978fc2a3d2fcfcfe8',1,'MePm25Sensor']]], + ['readsensor1_21',['readSensor1',['../class_me_line_follower.html#aa0d1a6c71bde5d559db1dc82ba8960b7',1,'MeLineFollower']]], + ['readsensor2_22',['readSensor2',['../class_me_line_follower.html#a7cbd9125758887862416f2a4f65f58cd',1,'MeLineFollower']]], + ['readsensors_23',['readSensors',['../class_me_line_follower.html#a88db0aaee6ffac54c106c2e8e9811f40',1,'MeLineFollower']]], + ['readserial_24',['readSerial',['../class_me_p_s2.html#a65d5b08003a94c6bc333dec3a6957f37',1,'MePS2']]], + ['readshort_25',['readShort',['../class_me_smart_servo.html#a86115d5159d786936b9f9fbde7669cb3',1,'MeSmartServo']]], + ['readvalue_26',['readValue',['../class_me_on_board_temp.html#a590a42d0aab644a6c7108d3f47b477b3',1,'MeOnBoardTemp']]], + ['readx_27',['readX',['../class_me_joystick.html#a0dea00e7568e3c2d4fd3c50d5b79cf90',1,'MeJoystick']]], + ['ready_28',['readY',['../class_me_joystick.html#a0ff4c70c343dcec6f3dc1b7a0d9caace',1,'MeJoystick']]], + ['reportid_29',['ReportId',['../class_me_color_sensor.html#a1728909fc7199b95ad3e35734b3a16a6',1,'MeColorSensor']]], + ['reset_30',['reset',['../class_me7_segment_display.html#ac8d890fddfbd86a221d2d990ff8a405a',1,'Me7SegmentDisplay::reset()'],['../class_me_d_c_motor.html#a098d4ebc2b9ecfe6652c045ae27253ae',1,'MeDCMotor::reset(uint8_t port)'],['../class_me_d_c_motor.html#a8bcda74bb585d40c372ac5894a79fe2c',1,'MeDCMotor::reset(uint8_t port, uint8_t slot)'],['../class_me_encoder_motor.html#a83b974e7a06af62d268bd251cc118509',1,'MeEncoderMotor::reset()'],['../class_me_encoder_new.html#a1b73a317a6ed28c0b6ee61899da4c2ff',1,'MeEncoderNew::reset()'],['../class_me_encoder_on_board.html#aeafd81a680a1444e923db41fc5071eca',1,'MeEncoderOnBoard::reset()'],['../class_me_l_e_d_matrix.html#a54aa7ad77d5ef8d67ce0623431e99f53',1,'MeLEDMatrix::reset()'],['../class_me_mega_pi_d_c_motor.html#a01f48a77e9fac7dcda0bba9dea5752aa',1,'MeMegaPiDCMotor::reset()'],['../class_me_mega_pi_pro4_dc_motor.html#a4e6b8c161cfe6367a1c43f9b129a8597',1,'MeMegaPiPro4DcMotor::reset(uint8_t port)'],['../class_me_mega_pi_pro4_dc_motor.html#a8ebf2a564ca4f4ec2458d472bd4ed9f8',1,'MeMegaPiPro4DcMotor::reset(uint8_t port, uint8_t slot)'],['../class_me_mega_pi_pro_e_s_c_motor.html#ad9e731bb9c8c3244b11c0d2014e64005',1,'MeMegaPiProESCMotor::reset()'],['../class_me_one_wire.html#ac7ae473bec8198fba76040fe8422cea7',1,'MeOneWire::reset(uint8_t pin)'],['../class_me_one_wire.html#afdf58430b9beb67f2ebba55430e7aa3c',1,'MeOneWire::reset(void)'],['../class_me_port.html#a7b82ce913d98ecff906569d795073892',1,'MePort::reset(uint8_t port)'],['../class_me_port.html#a91e3cca62e5f8fffead56f8104488d4d',1,'MePort::reset(uint8_t port, uint8_t slot)'],['../class_me_r_g_b_led.html#a030e1f328cd19061104369868d5d1b1c',1,'MeRGBLed::reset(uint8_t port)'],['../class_me_r_g_b_led.html#a08ac8295d2a090a51069f404fd375b29',1,'MeRGBLed::reset(uint8_t port, uint8_t slot)'],['../class_me_temperature.html#acd6c944b6634a5db1d01d9827e089076',1,'MeTemperature::reset(uint8_t port)'],['../class_me_temperature.html#ace428c9659b6d39de5ca5004cf9a6017',1,'MeTemperature::reset(uint8_t port, uint8_t slot)']]], + ['reset_5fsearch_31',['reset_search',['../class_me_one_wire.html#a83f6c2c88d9f2fa5c4aabb7f540bc6ac',1,'MeOneWire']]], + ['resetbus_32',['resetBus',['../class_me_u_s_b_host.html#a11d5c84408175ade230ef51021c42232',1,'MeUSBHost']]], + ['resetdata_33',['resetData',['../class_me_gyro.html#a1a7b23e100b983b19b83ff78f4a66af0',1,'MeGyro']]], + ['returnbluedata_34',['ReturnBlueData',['../class_me_color_sensor.html#a0a04f1d0592fb21febf7a7583fa9a9d9',1,'MeColorSensor']]], + ['returnchecksum_35',['returnchecksum',['../class_me_pm25_sensor.html#ae8e7a458edbc826dd1b75f3d135540bf',1,'MePm25Sensor']]], + ['returncolorcode_36',['ReturnColorCode',['../class_me_color_sensor.html#a403b066a178b7c438dab069bfed11dd7',1,'MeColorSensor']]], + ['returncolordata_37',['ReturnColorData',['../class_me_color_sensor.html#aea344bb117b012fb27ee6ed8ebf17c73',1,'MeColorSensor']]], + ['returncolorhue_38',['ReturnColorhue',['../class_me_color_sensor.html#ae0c377ebb860b67ebf01aae23722dc31',1,'MeColorSensor']]], + ['returncoreselftest_39',['returnCoreSelfTest',['../class_me_pm25_sensor.html#a8fec18eca69dbfaa2e55797ffa8cca60',1,'MePm25Sensor']]], + ['returngrayscale_40',['ReturnGrayscale',['../class_me_color_sensor.html#af4713622f9fdb6487e9798b47a62e008',1,'MeColorSensor']]], + ['returngreendata_41',['ReturnGreenData',['../class_me_color_sensor.html#a2ceb9fec73cf92a98421c3606a324320',1,'MeColorSensor']]], + ['returnlen_42',['returnlen',['../class_me_pm25_sensor.html#af756cb35791d5643cebcac6a7ae06514',1,'MePm25Sensor']]], + ['returnreddata_43',['ReturnRedData',['../class_me_color_sensor.html#aa5cf33bebe6d653a7164551629447287',1,'MeColorSensor']]], + ['returnresult_44',['Returnresult',['../class_me_color_sensor.html#a96d8182a6239e536fb56792346371734',1,'MeColorSensor']]], + ['run_45',['run',['../class_me_d_c_motor.html#a4509ba013726e48cbb70423263f8dccc',1,'MeDCMotor::run()'],['../class_me_host_parser.html#a29f974647d06c7cb1c75db2963958478',1,'MeHostParser::run()'],['../class_me_mega_pi_d_c_motor.html#ac324a1423bf3c3ed73e5df7ea9b2b92a',1,'MeMegaPiDCMotor::run()'],['../class_me_mega_pi_pro4_dc_motor.html#aa38cacfe02e74049f0b5b2ffa397676e',1,'MeMegaPiPro4DcMotor::run()'],['../class_me_mega_pi_pro_e_s_c_motor.html#a7a247a91f39356e7e84200727f13abc1',1,'MeMegaPiProESCMotor::run()'],['../class_me_stepper.html#aab1323d0500213e02ddc17527b7487a2',1,'MeStepper::run()'],['../class_me_stepper_on_board.html#a49e9754f36126eee4b63403dc581822f',1,'MeStepperOnBoard::run()']]], + ['runspeed_46',['runspeed',['../class_me_encoder_motor.html#aff4c3a4f790b712a36fff5184927af00',1,'MeEncoderMotor::runSpeed()'],['../class_me_encoder_new.html#a37dc43618ad8f23e690dd1d39fe13edb',1,'MeEncoderNew::runSpeed()'],['../class_me_encoder_on_board.html#aa13835d17bf0a523cacc9dc938efa3ca',1,'MeEncoderOnBoard::runSpeed()'],['../class_me_stepper.html#ad615be6e513b7d519e1b546ae9f2aac6',1,'MeStepper::runSpeed()'],['../class_me_stepper_on_board.html#a0f376d74435f5cf1f6adece94c372d71',1,'MeStepperOnBoard::runSpeed()']]], + ['runspeedandtime_47',['runspeedandtime',['../class_me_encoder_motor.html#adc48a3b9f3508aa50b80d00e7fdce178',1,'MeEncoderMotor::runSpeedAndTime()'],['../class_me_encoder_new.html#a8b93e11a6d0ba0cedbc8e4a4ae44471b',1,'MeEncoderNew::runSpeedAndTime()']]], + ['runspeedtoposition_48',['runspeedtoposition',['../class_me_stepper.html#a901a56566194e21be9ebacc5e2bd9dfc',1,'MeStepper::runSpeedToPosition()'],['../class_me_stepper_on_board.html#ada03839c1d65ef9ffd1bb64db5da0bc9',1,'MeStepperOnBoard::runSpeedToPosition()']]], + ['runtonewposition_49',['runtonewposition',['../class_me_stepper.html#a5b936d0e8e9684e89de40c4740a95952',1,'MeStepper::runToNewPosition()'],['../class_me_stepper_on_board.html#a20298c8fc1fb1ef4998fbcd2dd7c52ba',1,'MeStepperOnBoard::runToNewPosition()']]], + ['runtoposition_50',['runtoposition',['../class_me_stepper.html#a6076bbfe63621dc4f08a83756a3fd570',1,'MeStepper::runToPosition()'],['../class_me_stepper_on_board.html#a951f051a706bdda80961766ce5f2e388',1,'MeStepperOnBoard::runToPosition()']]], + ['runturns_51',['runturns',['../class_me_encoder_motor.html#a94231a437d93fe7681fa41024207a28e',1,'MeEncoderMotor::runTurns()'],['../class_me_encoder_new.html#ab7c6be174df72535937b1bc640d07b3a',1,'MeEncoderNew::runTurns()']]], + ['rxloop_52',['rxloop',['../class_me_pm25_sensor.html#a17bf2e8a068c549f0be44465735899cb',1,'MePm25Sensor']]] +]; diff --git a/doc/html/search/all_11.js b/doc/html/search/all_11.js new file mode 100644 index 00000000..09ef48ac --- /dev/null +++ b/doc/html/search/all_11.js @@ -0,0 +1,76 @@ +var searchData= +[ + ['s1_0',['s1',['../class_me_port.html#ab5295b9e84ecedf3f93ab47cf8f10284',1,'MePort']]], + ['s2_1',['s2',['../class_me_port.html#a6c09cece23372a6ab340512a0db3e37d',1,'MePort']]], + ['search_2',['search',['../class_me_one_wire.html#a2d48b3c80326da96b627f7dc15ad1b56',1,'MeOneWire']]], + ['select_3',['select',['../class_me_one_wire.html#afa0cc28fb5fec3b805cc7eeb955ae8d3',1,'MeOneWire']]], + ['sendbyte_4',['sendByte',['../class_me_smart_servo.html#a412e124ef188a4937ea6d4648724ae96',1,'MeSmartServo']]], + ['sendfloat_5',['sendFloat',['../class_me_smart_servo.html#a68d970c3f3634048cf85d31ee5475c86',1,'MeSmartServo']]], + ['sendlong_6',['sendLong',['../class_me_smart_servo.html#a640143e57999486cf952f8184ecdadbf',1,'MeSmartServo']]], + ['sendnec_7',['sendNEC',['../class_me_i_r.html#abc9e6b20f70767186f9b9f849785bef7',1,'MeIR']]], + ['sendraw_8',['sendRaw',['../class_me_i_r.html#a1e24ad12d0d40449977f708748396438',1,'MeIR']]], + ['sendshort_9',['sendShort',['../class_me_smart_servo.html#acf5bd557ed6e873d6832b765bc1ebdbc',1,'MeSmartServo']]], + ['sendstring_10',['sendstring',['../class_me_i_r.html#a3994b9b4bb24d8f69d1582a6289604ce',1,'MeIR::sendString()'],['../class_me_serial.html#ab4d91285ca3d044f73793137cc1ff3cd',1,'MeSerial::sendString()'],['../class_me_i_r.html#ac16817f96bbdf3c065db67056b753b7e',1,'MeIR::sendString()']]], + ['sensor_11',['## ## ## DHT11 SENSOR',['../C:/Users/nicol/Documents/Arduino/libraries/MakeBlock_Drive_Updated/src/MeHumitureSensor.cpp#autotoc_md4',1,'']]], + ['sensorinit_12',['SensorInit',['../class_me_color_sensor.html#a1efe278e3a311adc4239a8ca9042447c',1,'MeColorSensor']]], + ['servo_13',['Servo',['../class_servo.html',1,'']]], + ['servo_5fdevice_5ftype_14',['servo_device_type',['../structservo__device__type.html',1,'']]], + ['servo_5ft_15',['servo_t',['../structservo__t.html',1,'']]], + ['servopin_5ft_16',['ServoPin_t',['../struct_servo_pin__t.html',1,'']]], + ['set_17',['set',['../class_me7_segment_display.html#a761c4852237699b3504f901c3a30166c',1,'Me7SegmentDisplay']]], + ['setacceleration_18',['setacceleration',['../class_me_stepper.html#ac9ed9b7961f4812b4cb3455aa0987f64',1,'MeStepper::setAcceleration()'],['../class_me_stepper_on_board.html#a568dff526477425da5dd7640dd6f8dca',1,'MeStepperOnBoard::setAcceleration()']]], + ['setaddr_19',['setAddr',['../class_me_encoder_new.html#a6bf91a91af5bde030d9656e3314d0c96',1,'MeEncoderNew']]], + ['setbreak_20',['setBreak',['../class_me_smart_servo.html#ae7e58107842eb0c2d13596c99d0e8838',1,'MeSmartServo']]], + ['setbrightness_21',['setbrightness',['../class_me7_segment_display.html#a7761bf8b50f0a91a3c2b27b1230b1132',1,'Me7SegmentDisplay::setBrightness()'],['../class_me_l_e_d_matrix.html#af0a710afc6c9314faf92b17484d8b89f',1,'MeLEDMatrix::setBrightness()']]], + ['setcolor_22',['setcolor',['../class_me_r_g_b_led.html#ab7a91e9e4cfe48f1f38bd6ca25953834',1,'MeRGBLed::setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)'],['../class_me_r_g_b_led.html#a921b6b54e13ffcb8b4d55a830d6cd28e',1,'MeRGBLed::setColor(uint8_t red, uint8_t green, uint8_t blue)'],['../class_me_r_g_b_led.html#a04c16004bb6035a004eb5b8042f4aa14',1,'MeRGBLed::setColor(uint8_t index, long value)']]], + ['setcolorat_23',['setColorAt',['../class_me_r_g_b_led.html#a31f967cfa254d0943b5712925dc381b8',1,'MeRGBLed']]], + ['setcolorindex_24',['setColorIndex',['../class_me_l_e_d_matrix.html#ac32458aff39a381c5b4600fa3cb731ed',1,'MeLEDMatrix']]], + ['setcoreefficient_25',['setCoreEfficient',['../class_me_pm25_sensor.html#aa25fb8cdc6c8ea19f5d8495a3844fb42',1,'MePm25Sensor']]], + ['setcoreselftesttime_26',['setCoreSelfTestTime',['../class_me_pm25_sensor.html#a59a38b9cfb0a6145308dfef3a73db42e',1,'MePm25Sensor']]], + ['setcurrentposition_27',['setcurrentposition',['../class_me_encoder_new.html#a36caaf02601282f0a5543c1f115bca15',1,'MeEncoderNew::setCurrentPosition()'],['../class_me_stepper.html#a3a3a66d03b75a43d6f33cf5cfcfe63ca',1,'MeStepper::setCurrentPosition()'],['../class_me_stepper_on_board.html#af8e05271185ffe7c3bd520c8483d930d',1,'MeStepperOnBoard::setCurrentPosition()']]], + ['setcurrentspeed_28',['setCurrentSpeed',['../class_me_encoder_on_board.html#a27ca91cfa7df12a997db8a0eb04ab536',1,'MeEncoderOnBoard']]], + ['setdevid_29',['setDevid',['../class_me_encoder_new.html#a800797c599c551731a65225f459a076a',1,'MeEncoderNew']]], + ['sethardware_30',['setHardware',['../class_me_serial.html#a73dde79161f876956fd6d070f14510d3',1,'MeSerial']]], + ['setinitangle_31',['setInitAngle',['../class_me_smart_servo.html#aedb7c0b2bba4e771865752acdae65b0d',1,'MeSmartServo']]], + ['setmaxspeed_32',['setmaxspeed',['../class_me_stepper.html#a5bbeb502699499f95116ba48ee690978',1,'MeStepper::setMaxSpeed()'],['../class_me_stepper_on_board.html#ab8d690efadd05acd2f453989990872b5',1,'MeStepperOnBoard::setMaxSpeed(float speed)']]], + ['setmicrostep_33',['setMicroStep',['../class_me_stepper_on_board.html#a8cb61d386f7b800f1a2f752c46cfff54',1,'MeStepperOnBoard']]], + ['setmode_34',['setMode',['../class_me_encoder_new.html#a8a54a728b9077dcd0e95a0277d54fcb3',1,'MeEncoderNew']]], + ['setmotionmode_35',['setMotionMode',['../class_me_encoder_on_board.html#a0d5dc8c4a9c36dbd02236ab2358a37dd',1,'MeEncoderOnBoard']]], + ['setmotorpwm_36',['setMotorPwm',['../class_me_encoder_on_board.html#a35f9d7b4962ff8b1ed1db67896c4ed0e',1,'MeEncoderOnBoard']]], + ['setnumber_37',['setNumber',['../class_me_r_g_b_led.html#ac80f183e41fb3d860ac7100e0639390f',1,'MeRGBLed']]], + ['setouputcompatibility_38',['setOuputCompatibility',['../class_me_pm25_sensor.html#af061f8c09a9e3bfb4509f7f8cb6b59c6',1,'MePm25Sensor']]], + ['setoutputintimeperiod_39',['setOutputIntimePeriod',['../class_me_pm25_sensor.html#ac126c70ddc9816cac9eedbb9b4387c33',1,'MePm25Sensor']]], + ['setpin_40',['setpin',['../class_me_stepper_on_board.html#a881cf1984ee0cfcb773b5ab6265c40cf',1,'MeStepperOnBoard::setpin()'],['../class_me_temperature.html#a4b6942b8b6c171c9b105d6e9f33dfcf8',1,'MeTemperature::setpin()'],['../class_me_touch_sensor.html#ac456229aced293ccdbea89a2e0d9dfc5',1,'MeTouchSensor::setpin()'],['../class_me_ultrasonic_sensor.html#aebf1069f210e0dcd0a8d8d44e9810f63',1,'MeUltrasonicSensor::setpin()'],['../class_me4_button.html#a810aabfe9b826610c16d53a6506e7fcb',1,'Me4Button::setpin()'],['../class_me7_segment_display.html#a76d0b14ce4e0146ab1620dd462014caa',1,'Me7SegmentDisplay::setpin()'],['../class_me_buzzer.html#a5b6bba509b80d4239b1480822f2737dc',1,'MeBuzzer::setpin()'],['../class_me_compass.html#acb63b0ff0fdfb216718b827f66f2915e',1,'MeCompass::setpin()'],['../class_me_d_c_motor.html#a3ed0c7598287a9dce9725e0cfd96069d',1,'MeDCMotor::setpin()'],['../class_me_flame_sensor.html#a42b0282962ea9afea2d2b0d4bbdb1ce4',1,'MeFlameSensor::setpin()'],['../class_me_gas_sensor.html#abd9b50c545276fa6b1b357083de5c5e4',1,'MeGasSensor::setpin()'],['../class_me_gyro.html#ac183cec71c6d840b7c5d651d025e02ca',1,'MeGyro::setpin()'],['../class_me_humiture.html#a3d96abbe15a836cfae534ec67f908f85',1,'MeHumiture::setpin()'],['../class_me_joystick.html#a250f11087c929f5e892b5670f5fdb7d4',1,'MeJoystick::setpin()'],['../class_me_light_sensor.html#a9b4ca3d8caf6c4dcc2de651dddb37ce6',1,'MeLightSensor::setpin()'],['../class_me_limit_switch.html#aa212ebf1bcdb0940c7b31d0d4db23cd4',1,'MeLimitSwitch::setpin()'],['../class_me_line_follower.html#aafb9c399cf49bd9877ba9d19d3f55922',1,'MeLineFollower::setpin()'],['../class_me_mega_pi_d_c_motor.html#a8d46dbfbce3b5f38622eb6f3febd4feb',1,'MeMegaPiDCMotor::setpin()'],['../class_me_mega_pi_pro4_dc_motor.html#a7dedce5958822fbb8c28bb5867357c80',1,'MeMegaPiPro4DcMotor::setpin()'],['../class_me_mega_pi_pro_e_s_c_motor.html#aed9f1a9466a577ec01330e3f1759f3f4',1,'MeMegaPiProESCMotor::setpin()'],['../class_me_on_board_temp.html#a8df6de600f2a4d781d52de951712d641',1,'MeOnBoardTemp::setpin()'],['../class_me_p_i_r_motion_sensor.html#a413ff73fcb8fbe86fe36c0197bc64626',1,'MePIRMotionSensor::setpin()'],['../class_me_potentiometer.html#aeab20b74c2e17d9c150a1d102a0c5df4',1,'MePotentiometer::setpin()'],['../class_me_r_g_b_led.html#a8dfb56420333855fee707db26ede3b7e',1,'MeRGBLed::setpin()'],['../class_me_shutter.html#a2fc368db549be0ae724d60095512c53f',1,'MeShutter::setpin()'],['../class_me_stepper.html#a4ca8dff894ce12f5639afbc276345435',1,'MeStepper::setpin()']]], + ['setpirmotionmode_41',['SetPirMotionMode',['../class_me_p_i_r_motion_sensor.html#aa7aa0020adee8562ff4ae2c7b84fd8de',1,'MePIRMotionSensor']]], + ['setpospid_42',['setpospid',['../class_me_encoder_on_board.html#ae8203fd1090bd08ccf2612642d6bb8e7',1,'MeEncoderOnBoard::setPosPid()'],['../class_me_encoder_new.html#a7314cbf995b8b11fc954d12f96302fe5',1,'MeEncoderNew::setPosPID(float p, float i, float d)']]], + ['setpulse_43',['setpulse',['../class_me_encoder_new.html#a658cae48c69e374ee22d29fd54b8f5ab',1,'MeEncoderNew::setPulse()'],['../class_me_encoder_on_board.html#af1e72c2e0a40b0e8819adb4f3eef42dd',1,'MeEncoderOnBoard::setPulse(int16_t pulseValue)']]], + ['setpulsepos_44',['setPulsePos',['../class_me_encoder_on_board.html#a3fff87c540573fc74038bcf809dc311e',1,'MeEncoderOnBoard']]], + ['setpwm_45',['setPWM',['../class_me_encoder_new.html#ad642ecd7bbb1015d5dab74ffce7b3b04',1,'MeEncoderNew']]], + ['setpwmmove_46',['setPwmMove',['../class_me_smart_servo.html#a6117a6fdeb20a0da8310be42011f699e',1,'MeSmartServo']]], + ['setratio_47',['setratio',['../class_me_encoder_new.html#a033ffc24a1a7c2ea2bba48afb86b9ee2',1,'MeEncoderNew::setRatio()'],['../class_me_encoder_on_board.html#ab144dd43024fd80fbb251938f50adff6',1,'MeEncoderOnBoard::setRatio()']]], + ['setrgbled_48',['setRGBLed',['../class_me_smart_servo.html#a2ba807a9e25bf953e83f22e1f862edc9',1,'MeSmartServo']]], + ['setspeed_49',['setspeed',['../class_me_stepper_on_board.html#a61eea9139c60f539c7e439676d819ba0',1,'MeStepperOnBoard::setSpeed()'],['../class_me_encoder_on_board.html#a9aff7dfc02978f6d066cbd24ce0687b3',1,'MeEncoderOnBoard::setSpeed()'],['../class_me_stepper.html#aa938e51919218e49bfc89b95e1bff27a',1,'MeStepper::setSpeed()']]], + ['setspeedpid_50',['setspeedpid',['../class_me_encoder_on_board.html#a5a668410ea2407e80627998161c7452d',1,'MeEncoderOnBoard::setSpeedPid()'],['../class_me_encoder_new.html#ab6575651faefb9e22c73305d79655c76',1,'MeEncoderNew::setSpeedPID()']]], + ['setstate_51',['setState',['../class_me_shutter.html#a1426ff39c1754dbfd32655c4b73f61ed',1,'MeShutter']]], + ['settarpwm_52',['setTarPWM',['../class_me_encoder_on_board.html#a5a5e69839bf4e35865e4c31d443a9d7f',1,'MeEncoderOnBoard']]], + ['settogmode_53',['SetTogMode',['../class_me_touch_sensor.html#a1518fb0549ecf88e4d7060026563ecc6',1,'MeTouchSensor']]], + ['setzero_54',['setZero',['../class_me_smart_servo.html#ab86b0e9279876f94f28120aaa36c9429',1,'MeSmartServo']]], + ['shotoff_55',['shotOff',['../class_me_shutter.html#a600e6f23491519772a16044c93691852',1,'MeShutter']]], + ['shoton_56',['shotOn',['../class_me_shutter.html#a44766a55c3bd837d77de4af19ec844f7',1,'MeShutter']]], + ['show_57',['show',['../class_me_r_g_b_led.html#ac3d66e93ecd6dadc953d71e24728c26a',1,'MeRGBLed']]], + ['showclock_58',['showClock',['../class_me_l_e_d_matrix.html#ae34d06e56a00bd8d1de86a9b500941a6',1,'MeLEDMatrix']]], + ['shownum_59',['showNum',['../class_me_l_e_d_matrix.html#ae2cd6f8f1b7b2077b49a4d05f7af1b79',1,'MeLEDMatrix']]], + ['skip_60',['skip',['../class_me_one_wire.html#adf1fe69dac4bda2511ce613c0e51d1cf',1,'MeOneWire']]], + ['smartservocmdresponse_61',['smartServoCmdResponse',['../class_me_smart_servo.html#a9576044532f0ca58cf8d554e9f31cacf',1,'MeSmartServo']]], + ['smartservoeventhandle_62',['smartServoEventHandle',['../class_me_smart_servo.html#a24f968f6117983c8c17bfbecc53793b6',1,'MeSmartServo']]], + ['softwareserial_63',['SoftwareSerial',['../class_software_serial.html',1,'']]], + ['space_64',['space',['../class_me_i_r.html#adeca6211b7bc6c3e0825087c3165abc0',1,'MeIR']]], + ['speed_65',['speed',['../class_me_stepper.html#aebc944454624fecb1c1d676a08990f08',1,'MeStepper::speed()'],['../class_me_stepper_on_board.html#aa7bd0bc1c0dd3a147398ec654b4cf8ac',1,'MeStepperOnBoard::speed()']]], + ['speedwithoutpos_66',['speedWithoutPos',['../class_me_encoder_on_board.html#a3296a20f1c19ff9c3f6721e5c1a4f0e2',1,'MeEncoderOnBoard']]], + ['spiclass_67',['SPIClass',['../class_s_p_i_class.html',1,'']]], + ['spisettings_68',['SPISettings',['../class_s_p_i_settings.html',1,'']]], + ['step_69',['step',['../class_me_stepper.html#a5dd329462fb6ca6421790f2fed2024ae',1,'MeStepper::step()'],['../class_me_stepper_on_board.html#a2df202c7c7cf5a72c200e4063555cb97',1,'MeStepperOnBoard::step()']]], + ['stop_70',['stop',['../class_me_d_c_motor.html#ac96a250d77ab11c1db0f15592e98be03',1,'MeDCMotor::stop()'],['../class_me_mega_pi_d_c_motor.html#a1df48e25908553976462a4d0e4413eda',1,'MeMegaPiDCMotor::stop()'],['../class_me_mega_pi_pro4_dc_motor.html#afd87d1eda99dbde9a1a2223777b9b520',1,'MeMegaPiPro4DcMotor::stop()'],['../class_me_mega_pi_pro_e_s_c_motor.html#ad270cf24ae74e70c946094a0fe86f6ee',1,'MeMegaPiProESCMotor::stop()']]], + ['sysex_5fmessage_71',['sysex_message',['../unionsysex__message.html',1,'']]], + ['sysex_5fmessage_5ftype_72',['sysex_message_type',['../structsysex__message__type.html',1,'']]] +]; diff --git a/doc/html/search/all_12.js b/doc/html/search/all_12.js new file mode 100644 index 00000000..0fc0537a --- /dev/null +++ b/doc/html/search/all_12.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['target_5fsearch_0',['target_search',['../class_me_one_wire.html#a72274992cccec07f9ee20525edcd7208',1,'MeOneWire']]], + ['targetposition_1',['targetposition',['../class_me_stepper.html#a48397cd52c4edf5d5c4c8b23df4f86de',1,'MeStepper::targetPosition()'],['../class_me_stepper_on_board.html#a2ad468c8d4083b29aa445d8ee516a16b',1,'MeStepperOnBoard::targetPosition()']]], + ['temperature_2',['temperature',['../class_me_temperature.html#a8dbbe2ee926c8a957c433c99d508563b',1,'MeTemperature']]], + ['testconnection_3',['testConnection',['../class_me_compass.html#a20480fba91e33e557ffb210ff06681d6',1,'MeCompass']]], + ['tone_4',['tone',['../class_me_buzzer.html#abac0ae73dab72895c956f2f11ca032ac',1,'MeBuzzer::tone(int pin, uint16_t frequency, uint32_t duration)'],['../class_me_buzzer.html#aa412cf2bc1512c389f4d729037e16ed0',1,'MeBuzzer::tone(uint16_t frequency, uint32_t duration=0)']]], + ['touched_5',['touched',['../class_me_limit_switch.html#ab2be1e59342778f68be708ed45e40496',1,'MeLimitSwitch::touched()'],['../class_me_touch_sensor.html#a859d24b3f023a2eaf4b2a87ca5c11768',1,'MeTouchSensor::touched()']]], + ['turnofffanlaser_6',['turnOffFanLaser',['../class_me_pm25_sensor.html#ae2c91a85f42874ba1f9a4b2cc985ad24',1,'MePm25Sensor']]], + ['turnofflight_7',['TurnOffLight',['../class_me_color_sensor.html#ab686f3e727861bc47ddbabb914f9c3a1',1,'MeColorSensor']]], + ['turnoffmodule_8',['TurnOffmodule',['../class_me_color_sensor.html#a836878156e0d4b820b92769cd5df50f5',1,'MeColorSensor']]], + ['turnonfanlaser_9',['turnOnFanLaser',['../class_me_pm25_sensor.html#a15457eb6a96687f86ed148e593a94a33',1,'MePm25Sensor']]], + ['turnonlight_10',['TurnOnLight',['../class_me_color_sensor.html#a51c9c3cbcd5af42ec1f3fac7b4bf3818',1,'MeColorSensor']]], + ['turnonmodule_11',['TurnOnmodule',['../class_me_color_sensor.html#a50a015a94ddab045cde3536a1f9bce44',1,'MeColorSensor']]], + ['twowire_12',['TwoWire',['../class_two_wire.html',1,'']]] +]; diff --git a/doc/html/search/all_13.js b/doc/html/search/all_13.js new file mode 100644 index 00000000..2f4365f1 --- /dev/null +++ b/doc/html/search/all_13.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['update_0',['update',['../class_me_gyro.html#a85373ad8f4764f9ab9cd0d880fb8dd19',1,'MeGyro::update()'],['../class_me_humiture.html#aa407c9adbdefaab8cf419d9748a11e56',1,'MeHumiture::update()'],['../class_me_stepper_on_board.html#a1f6128e6d2943f70fd9431a0df08fa01',1,'MeStepperOnBoard::update()']]], + ['updatecurpos_1',['updateCurPos',['../class_me_encoder_on_board.html#ad4df58c9cbc5646df9223e7560857bec',1,'MeEncoderOnBoard']]], + ['updatespeed_2',['updateSpeed',['../class_me_encoder_on_board.html#a7edaebc0c6aa631955d20cf7923e57f2',1,'MeEncoderOnBoard']]] +]; diff --git a/doc/html/search/all_14.js b/doc/html/search/all_14.js new file mode 100644 index 00000000..54e9fced --- /dev/null +++ b/doc/html/search/all_14.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['write_0',['write',['../class_me7_segment_display.html#a4b5cfc6eea577542021edf8f812bff2f',1,'Me7SegmentDisplay::write(uint8_t SegData[])'],['../class_me7_segment_display.html#a1057d40d5daa2f12170c95be7412bdb8',1,'Me7SegmentDisplay::write(uint8_t BitAddr, uint8_t SegData)'],['../class_me_one_wire.html#a50f690ef7f97a23844da2b89e78232d7',1,'MeOneWire::write()'],['../class_me_serial.html#ad28782e0bebe4255a8ba7995957176e6',1,'MeSerial::write()']]], + ['write_5fbit_1',['write_bit',['../class_me_one_wire.html#a71ff538d319b4492e3002e027b07e9fa',1,'MeOneWire']]], + ['write_5fbytes_2',['write_bytes',['../class_me_one_wire.html#a0f66689a98b50c8fd681ba6a324054a8',1,'MeOneWire']]], + ['writebuffer_3',['writeBuffer',['../class_me_p_s2.html#a89823992bc9d4fef006cc7f9782aa685',1,'MePS2']]], + ['writedata_4',['writeData',['../class_me_color_sensor.html#a9ba779e9fc9841177d80abf17cd4f973',1,'MeColorSensor']]], + ['writereg_5',['writeReg',['../class_me_color_sensor.html#aa4a1ce0523ec234b68387d0a38becab4',1,'MeColorSensor']]] +]; diff --git a/doc/html/search/all_15.js b/doc/html/search/all_15.js new file mode 100644 index 00000000..381444cb --- /dev/null +++ b/doc/html/search/all_15.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['_7emehostparser_0',['~MeHostParser',['../class_me_host_parser.html#a33eea4b1148451559c18f52ea7e0916d',1,'MeHostParser']]], + ['_7emergbled_1',['~MeRGBLed',['../class_me_r_g_b_led.html#a211af5eeebf2b79f6bc1ba5102a89523',1,'MeRGBLed']]] +]; diff --git a/doc/html/search/all_2.js b/doc/html/search/all_2.js new file mode 100644 index 00000000..d824b9a2 --- /dev/null +++ b/doc/html/search/all_2.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['begin_0',['begin',['../class_me_compass.html#aa514632f78e2095ee341e146789cc6b3',1,'MeCompass::begin()'],['../class_me_encoder_motor.html#aeda692228687464c10a47f279b682d53',1,'MeEncoderMotor::begin()'],['../class_me_encoder_new.html#a7502d17074b0de59a44406f1c67aa1fa',1,'MeEncoderNew::begin()'],['../class_me_gyro.html#ae12dbf32cc840e0d734dc813d1d3b8cc',1,'MeGyro::begin()'],['../class_me_infrared_receiver.html#ac25056e96b50a1bf16c05eedbfeaaf78',1,'MeInfraredReceiver::begin()'],['../class_me_i_r.html#aa307ef91b7d762ea970e54dba32a161c',1,'MeIR::begin()'],['../class_me_serial.html#a2e491a6206475d8d254a785043e0de22',1,'MeSerial::begin()'],['../class_me_voice.html#a54a988d062a82fa0514a2c268043bf7c',1,'MeVoice::begin()']]], + ['buttonpressed_1',['ButtonPressed',['../class_me_p_s2.html#af6995881e6754c128b4b978f378f2ef7',1,'MePS2']]], + ['buttonstate_2',['buttonState',['../class_me_infrared_receiver.html#a85d4066f35e6838f24e6d3f23a5236a1',1,'MeInfraredReceiver']]] +]; diff --git a/doc/html/search/all_3.js b/doc/html/search/all_3.js new file mode 100644 index 00000000..49ce0a21 --- /dev/null +++ b/doc/html/search/all_3.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['calcentervalue_0',['CalCenterValue',['../class_me_joystick.html#ac229685677e2195d2bed8edc9a5308d1',1,'MeJoystick']]], + ['calculatelrc_1',['calculateLRC',['../_me_host_parser_8cpp.html#a59acdd9a3bd91179b07a28853591e88d',1,'MeHostParser.cpp']]], + ['checknum_2',['checkNum',['../class_me7_segment_display.html#a50109f40f87591fbe2a907768b03678c',1,'Me7SegmentDisplay']]], + ['cleardisplay_3',['clearDisplay',['../class_me7_segment_display.html#aa7cf32e953eae84bde132cc38e1b91db',1,'Me7SegmentDisplay']]], + ['clearscreen_4',['clearScreen',['../class_me_l_e_d_matrix.html#afe559a6e2d6fa09ef27560c472db4131',1,'MeLEDMatrix']]], + ['cmd_5flist_5ftab_5ftype_5',['Cmd_list_tab_type',['../struct_cmd__list__tab__type.html',1,'']]], + ['coding_6',['coding',['../class_me7_segment_display.html#ad19ac6b355cc8da9e77c2fee4a908814',1,'Me7SegmentDisplay::coding(uint8_t DispData[])'],['../class_me7_segment_display.html#a496b175e3deca8df9709233b09194673',1,'Me7SegmentDisplay::coding(uint8_t DispData)']]], + ['colordataread_7',['ColorDataRead',['../class_me_color_sensor.html#aa033b29d7464ebcbcf74e47794383e09',1,'MeColorSensor']]], + ['colordatareadonebyone_8',['ColorDataReadOnebyOne',['../class_me_color_sensor.html#a88ff70346c30ab33df2f02d964da6c17',1,'MeColorSensor']]], + ['coloridentify_9',['ColorIdentify',['../class_me_color_sensor.html#a37adb003fab4d09e2cc014c713e35e57',1,'MeColorSensor']]], + ['compass_5fcalibration_5fparameter_10',['Compass_Calibration_Parameter',['../struct_compass___calibration___parameter.html',1,'']]], + ['computenewspeed_11',['computenewspeed',['../class_me_stepper.html#a231aef8a0a448f194f19a6ef5ddcbbc9',1,'MeStepper::computeNewSpeed()'],['../class_me_stepper_on_board.html#acee54708cc0281b3a4643e2661eb5c83',1,'MeStepperOnBoard::computeNewSpeed()']]], + ['coreselftest_12',['coreSelfTest',['../class_me_pm25_sensor.html#a8c2cb9ec0e5e254eb20639e3167e9d14',1,'MePm25Sensor']]], + ['crgb_13',['cRGB',['../structc_r_g_b.html',1,'']]], + ['currentposition_14',['currentposition',['../class_me_stepper.html#a98ecf9b60b9c5bc588963a27d141106a',1,'MeStepper::currentPosition()'],['../class_me_stepper_on_board.html#a836435093e011021ba4c0db7a3896617',1,'MeStepperOnBoard::currentPosition()']]] +]; diff --git a/doc/html/search/all_4.js b/doc/html/search/all_4.js new file mode 100644 index 00000000..3cd608c4 --- /dev/null +++ b/doc/html/search/all_4.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['decode_0',['decode',['../class_me_i_r.html#a32e9dfb953176df04c4e2fb728a4a634',1,'MeIR']]], + ['definitions_1',['AVR Only definitions',['../_servo_timers_8h.html#autotoc_md10',1,'']]], + ['depower_2',['depower',['../class_me_one_wire.html#af049edcbd9d0f09bc5ce54973c2305eb',1,'MeOneWire']]], + ['dht11_20sensor_3',['## ## ## DHT11 SENSOR',['../C:/Users/nicol/Documents/Arduino/libraries/MakeBlock_Drive_Updated/src/MeHumitureSensor.cpp#autotoc_md4',1,'']]], + ['direction_4',['direction',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa',1,'Direction: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa',1,'Direction: MeStepperOnBoard.cpp']]], + ['direction_5fccw_5',['direction_ccw',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2',1,'DIRECTION_CCW: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2',1,'DIRECTION_CCW: MeStepperOnBoard.cpp']]], + ['direction_5fcw_6',['direction_cw',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6',1,'DIRECTION_CW: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6',1,'DIRECTION_CW: MeStepperOnBoard.cpp']]], + ['disableoutputs_7',['disableOutputs',['../class_me_stepper_on_board.html#ad663fa9672bc29c860558ab65884f51b',1,'MeStepperOnBoard']]], + ['display_8',['display',['../class_me7_segment_display.html#ac1d7b706bf23e38fbdf60b1caad42a4e',1,'Me7SegmentDisplay::display(uint16_t value)'],['../class_me7_segment_display.html#aa35ed6811fb58e993044cce7ce0e24d6',1,'Me7SegmentDisplay::display(int16_t value)'],['../class_me7_segment_display.html#afb865fca3b56cec660fc78315d5a9268',1,'Me7SegmentDisplay::display(float value)'],['../class_me7_segment_display.html#a2152dcfb004b08bb5a2c04b7b2ad99c5',1,'Me7SegmentDisplay::display(long value)'],['../class_me7_segment_display.html#a9a45a56ed65a1ecdcc10066825db0130',1,'Me7SegmentDisplay::display(double value, uint8_t=1)'],['../class_me7_segment_display.html#a763ccddf8a9fa6469713451505518808',1,'Me7SegmentDisplay::display(uint8_t DispData[])'],['../class_me7_segment_display.html#a2eb95cdb42445ae3f07b4c8bb586e24e',1,'Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData)'],['../class_me7_segment_display.html#aef9737e226fe1158098c3cc35329f2cf',1,'Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on)']]], + ['distancecm_9',['distanceCm',['../class_me_ultrasonic_sensor.html#a72ad8300b4ab09413acb1e3f0a54c208',1,'MeUltrasonicSensor']]], + ['distanceinch_10',['distanceInch',['../class_me_ultrasonic_sensor.html#a1a4ed1ecf9c37b556c4514306347ee29',1,'MeUltrasonicSensor']]], + ['distancetogo_11',['distancetogo',['../class_me_encoder_on_board.html#a71d703a87bfe15ec2fbe86ab51e44778',1,'MeEncoderOnBoard::distanceToGo()'],['../class_me_stepper.html#ace0023e3e3dcb3fed6dee4754211a64d',1,'MeStepper::distanceToGo()'],['../class_me_stepper_on_board.html#aaa90efc7806ed103617729527bf3f7f7',1,'MeStepperOnBoard::distanceToGo()']]], + ['dpread1_12',['dpRead1',['../class_me_port.html#aabcb0e1dc89942cf302b8cbac2cbd0a5',1,'MePort']]], + ['dpread2_13',['dpRead2',['../class_me_port.html#a2e4b6faf3e9494e819ccee47dfb8010e',1,'MePort']]], + ['drawbitmap_14',['drawBitmap',['../class_me_l_e_d_matrix.html#a7e41bda67de56c3d8f568d6f31c93d6d',1,'MeLEDMatrix']]], + ['drawstr_15',['drawStr',['../class_me_l_e_d_matrix.html#a2bc5822502b9600d838a163a82820c02',1,'MeLEDMatrix']]], + ['dread1_16',['dRead1',['../class_me_port.html#a8b7b990f5fa85dfc28f7f3d0d7ba46b9',1,'MePort']]], + ['dread2_17',['dRead2',['../class_me_port.html#ab4fd13565335bd781da8f44bae803031',1,'MePort']]], + ['dwrite1_18',['dWrite1',['../class_me_port.html#a9d5f60427202c26bc8da4b1e6a66c5c2',1,'MePort']]], + ['dwrite2_19',['dWrite2',['../class_me_port.html#a0d9ee041f8361f45bcc83bed9577415f',1,'MePort']]] +]; diff --git a/doc/html/search/all_5.js b/doc/html/search/all_5.js new file mode 100644 index 00000000..b73effde --- /dev/null +++ b/doc/html/search/all_5.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['eepromclass_0',['EEPROMClass',['../struct_e_e_p_r_o_m_class.html',1,'']]], + ['eeptr_1',['EEPtr',['../struct_e_e_ptr.html',1,'']]], + ['eeref_2',['EERef',['../struct_e_e_ref.html',1,'']]], + ['enableirin_3',['enableIRIn',['../class_me_i_r.html#ad53fd8d718609dab42c9937831306ee0',1,'MeIR']]], + ['enableirout_4',['enableIROut',['../class_me_i_r.html#a5ba678779cfbadc0de5836341f785fea',1,'MeIR']]], + ['enableoutputs_5',['enableOutputs',['../class_me_stepper_on_board.html#af749d02703cca7e3651ee273e918308b',1,'MeStepperOnBoard']]], + ['encoder_5fport_5ftype_6',['Encoder_port_type',['../struct_encoder__port__type.html',1,'']]], + ['encodermove_7',['encoderMove',['../class_me_encoder_on_board.html#afae914fcb38cfeff89561ec1667ddb6b',1,'MeEncoderOnBoard']]], + ['end_8',['end',['../class_me_i_r.html#a7030203133352a4f6f8a3f1e99643858',1,'MeIR::end()'],['../class_me_serial.html#abd68e3efb8adfcc71089dadbd4acd143',1,'MeSerial::end()']]], + ['errorcodecheckresponse_9',['errorCodeCheckResponse',['../class_me_smart_servo.html#ac003fe9876a2e1b6981326783718a12f',1,'MeSmartServo']]] +]; diff --git a/doc/html/search/all_6.js b/doc/html/search/all_6.js new file mode 100644 index 00000000..c3da1eec --- /dev/null +++ b/doc/html/search/all_6.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['fast_5fupdate_0',['fast_update',['../class_me_gyro.html#a01ab455745beef2583a64e83c88e54e0',1,'MeGyro']]], + ['fillpixelsbak_1',['fillPixelsBak',['../class_me_r_g_b_led.html#a25ae4338ba5b885746560fa277c065ba',1,'MeRGBLed']]], + ['focusoff_2',['focusOff',['../class_me_shutter.html#ad8a99473a3461e639eea31793ade7b4f',1,'MeShutter']]], + ['focuson_3',['focusOn',['../class_me_shutter.html#a4427ea37c8313acd5643ec6f3859fd36',1,'MeShutter']]], + ['for_20arduino_4',['Makeblock library for Arduino',['../index.html',1,'']]], + ['front_5',['## ## ## ##FRONT',['../C:/Users/nicol/Documents/Arduino/libraries/MakeBlock_Drive_Updated/src/MeHumitureSensor.cpp#autotoc_md5',1,'']]] +]; diff --git a/doc/html/search/all_7.js b/doc/html/search/all_7.js new file mode 100644 index 00000000..cceece62 --- /dev/null +++ b/doc/html/search/all_7.js @@ -0,0 +1,49 @@ +var searchData= +[ + ['getangle_0',['getangle',['../class_me_compass.html#a544592a96b717dfd4d7f7357d22440a6',1,'MeCompass::getAngle()'],['../class_me_gyro.html#a7ff55cc89d2507d47d193d659341b6b2',1,'MeGyro::getAngle()']]], + ['getanglerequest_1',['getAngleRequest',['../class_me_smart_servo.html#adb14101ef4f0981f5ba3eabfd02775c7',1,'MeSmartServo']]], + ['getanglex_2',['getAngleX',['../class_me_gyro.html#a22f9944d93ab6c8b3c09195fcf002675',1,'MeGyro']]], + ['getangley_3',['getAngleY',['../class_me_gyro.html#a32858bdbdbc045d5885c8294d811c351',1,'MeGyro']]], + ['getanglez_4',['getAngleZ',['../class_me_gyro.html#aee097463680345da15710d7e2f5bad04',1,'MeGyro']]], + ['getcode_5',['getcode',['../class_me_infrared_receiver.html#a2b4385744d5ff2cd325f15095d257126',1,'MeInfraredReceiver::getCode()'],['../class_me_i_r.html#ad28a726a055271ee450f49a1d9d56cca',1,'MeIR::getCode()'],['../class_me_voice.html#a0ea6a575219b569d2c093cf50838e30b',1,'MeVoice::getCode()']]], + ['getcolorat_6',['getColorAt',['../class_me_r_g_b_led.html#a2bf63b839691eed62c9a0eac076b290d',1,'MeRGBLed']]], + ['getcurpos_7',['getCurPos',['../class_me_encoder_on_board.html#a166e2d6d5f8aeb598638b80472b79474',1,'MeEncoderOnBoard']]], + ['getcurpwm_8',['getCurPwm',['../class_me_encoder_on_board.html#acbf1db8de43fd00edff02218f520e59c',1,'MeEncoderOnBoard']]], + ['getcurrentposition_9',['getcurrentposition',['../class_me_encoder_motor.html#a3e0f684f694a4ace231ac8fe90c68c62',1,'MeEncoderMotor::getCurrentPosition()'],['../class_me_encoder_new.html#ab161f5bd122c55b9564f8ce1263a8c0b',1,'MeEncoderNew::getCurrentPosition()']]], + ['getcurrentrequest_10',['getCurrentRequest',['../class_me_smart_servo.html#adc467ef432434d9b279f794a453da64c',1,'MeSmartServo']]], + ['getcurrentspeed_11',['getcurrentspeed',['../class_me_encoder_motor.html#a7ff4246627c94976d97141da3a31ad00',1,'MeEncoderMotor::getCurrentSpeed()'],['../class_me_encoder_new.html#a15f163ff89aeba26ea17be4a3b77737f',1,'MeEncoderNew::getCurrentSpeed()'],['../class_me_encoder_on_board.html#a8e9e0142f1c6b864ddbc1c96eea47033',1,'MeEncoderOnBoard::getCurrentSpeed()']]], + ['getdata_12',['getData',['../class_me_host_parser.html#a653298e64d1ac2633b23e4ae420121c3',1,'MeHostParser']]], + ['getdevaddr_13',['getDevAddr',['../class_me_gyro.html#a15122f1ff89422a7aa0f0bb0a7af82ad',1,'MeGyro']]], + ['getdewpoint_14',['getdewPoint',['../class_me_humiture.html#af89ec5b9a23973e9256c8458c340f067',1,'MeHumiture']]], + ['getfahrenheit_15',['getFahrenheit',['../class_me_humiture.html#a2b70560a4598ec78832b13dfc63fdd07',1,'MeHumiture']]], + ['getfirmwareversion_16',['getFirmwareVersion',['../class_me_encoder_new.html#a02ff4e42930711e7ab228f25b80e045c',1,'MeEncoderNew']]], + ['getgyrox_17',['getGyroX',['../class_me_gyro.html#acd4874b1d99d4a79c4194b5f0a2691d1',1,'MeGyro']]], + ['getgyroy_18',['getGyroY',['../class_me_gyro.html#a2409cc23fd683a3f546f1660da49bf8d',1,'MeGyro']]], + ['getgyroz_19',['getGyroZ',['../class_me_gyro.html#a973d074ad4c72fec8bf77a43db27da06',1,'MeGyro']]], + ['getheading_20',['getHeading',['../class_me_compass.html#a151c87c12cdcf667faf5f307bae8e418',1,'MeCompass']]], + ['getheadingx_21',['getHeadingX',['../class_me_compass.html#a968a8f7bc7534fefc8aad19b56472be4',1,'MeCompass']]], + ['getheadingy_22',['getHeadingY',['../class_me_compass.html#a39e81714f6c14f8dcc0faec9330eaa2c',1,'MeCompass']]], + ['getheadingz_23',['getHeadingZ',['../class_me_compass.html#ae0cb31dcc67e6a1f25292edd9506046d',1,'MeCompass']]], + ['gethumidity_24',['getHumidity',['../class_me_humiture.html#a8e2e8567ea52c7bea8148214636e5444',1,'MeHumiture']]], + ['getintnum_25',['getIntNum',['../class_me_encoder_on_board.html#a25fa2844d59070f897269f929c06c92b',1,'MeEncoderOnBoard']]], + ['getkelvin_26',['getKelvin',['../class_me_humiture.html#ae42e2c3fac7b1e53c0732d278de880c1',1,'MeHumiture']]], + ['getnumber_27',['getNumber',['../class_me_r_g_b_led.html#a68784e19385f21058f9b4ffddba82b4d',1,'MeRGBLed']]], + ['getpackageready_28',['getPackageReady',['../class_me_host_parser.html#a4e07eae4722fba03fd463447cb8526d4',1,'MeHostParser']]], + ['getpointfast_29',['getPointFast',['../class_me_humiture.html#aad97cff43721852a7e2d72cd223d1d3f',1,'MeHumiture']]], + ['getport_30',['getport',['../class_me_port.html#a8d9ca22e35477573b27c4165ac61def0',1,'MePort::getPort()'],['../class_me_stepper_on_board.html#a3f0d66021a8967ad91b7ed7cd62a8123',1,'MeStepperOnBoard::getPort()']]], + ['getporta_31',['getPortA',['../class_me_encoder_on_board.html#a6c96dc60288791c12a9071ab72081fdb',1,'MeEncoderOnBoard']]], + ['getportb_32',['getPortB',['../class_me_encoder_on_board.html#a51d03721fd727d0066546f0280811f4f',1,'MeEncoderOnBoard']]], + ['getpospid_33',['getPosPID',['../class_me_encoder_new.html#a8729ee00ccdf13ebb0385b29de057320',1,'MeEncoderNew']]], + ['getpulse_34',['getPulse',['../class_me_encoder_new.html#a4cee6129526a9d8c3111acb61a9d3a88',1,'MeEncoderNew']]], + ['getpulsepos_35',['getPulsePos',['../class_me_encoder_on_board.html#ae41f008de63749d140beeda6ecde9080',1,'MeEncoderOnBoard']]], + ['getratio_36',['getRatio',['../class_me_encoder_new.html#a476f3a1e0364be857b07b238cdf9eb08',1,'MeEncoderNew']]], + ['getslot_37',['getSlot',['../class_me_port.html#a4c73dec349340e958b9567b06fa6f27c',1,'MePort']]], + ['getslotnum_38',['getSlotNum',['../class_me_encoder_on_board.html#aa6d2efab8f23883b30518c4bd0d9652b',1,'MeEncoderOnBoard']]], + ['getspeedpid_39',['getSpeedPID',['../class_me_encoder_new.html#afe29430100b70233abc4f991bb2e27be',1,'MeEncoderNew']]], + ['getspeedrequest_40',['getSpeedRequest',['../class_me_smart_servo.html#a058cffd56063ed54f5bcdd0995861c18',1,'MeSmartServo']]], + ['getstring_41',['getString',['../class_me_i_r.html#acb90c07d687f185d4ed36a57b41cf358',1,'MeIR']]], + ['gettemperature_42',['getTemperature',['../class_me_humiture.html#a5811d17c07807b9617751adf382abf15',1,'MeHumiture']]], + ['gettemprequest_43',['getTempRequest',['../class_me_smart_servo.html#ab65dd2a4b12d6604fac57595737cfeeb',1,'MeSmartServo']]], + ['getvalue_44',['getValue',['../class_me_humiture.html#a0aa1f08444d67c6bed1c3eb0f357afa7',1,'MeHumiture']]], + ['getvoltagerequest_45',['getVoltageRequest',['../class_me_smart_servo.html#ae2f7bcf1cc941f324a0873129dd7b33b',1,'MeSmartServo']]] +]; diff --git a/doc/html/search/all_8.js b/doc/html/search/all_8.js new file mode 100644 index 00000000..5ab7de3f --- /dev/null +++ b/doc/html/search/all_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['handsharke_0',['handSharke',['../class_me_smart_servo.html#aa3f5a58c87f7ae9c1bd46c4f9c3816c9',1,'MeSmartServo']]], + ['host_5frecv_1',['host_recv',['../class_me_u_s_b_host.html#afdf22bd1a9c271c87d981b3da4a6e711',1,'MeUSBHost']]] +]; diff --git a/doc/html/search/all_9.js b/doc/html/search/all_9.js new file mode 100644 index 00000000..6a06785f --- /dev/null +++ b/doc/html/search/all_9.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['init_0',['init',['../class_me7_segment_display.html#a47525c61c0cdc531272eb50395df3ed1',1,'Me7SegmentDisplay::init()'],['../class_me_mega_pi_pro_e_s_c_motor.html#a06d836fed26db76e706c02a9643b2329',1,'MeMegaPiProESCMotor::init()'],['../class_me_u_s_b_host.html#a4a05983202d4f7479f3480053543d7e5',1,'MeUSBHost::init(int8_t type)']]], + ['inithiddevice_1',['initHIDDevice',['../class_me_u_s_b_host.html#ab243f4416f3d91498c3b7a94abf96e0e',1,'MeUSBHost']]], + ['irparams_5ft_2',['irparams_t',['../structirparams__t.html',1,'']]], + ['ishumandetected_3',['isHumanDetected',['../class_me_p_i_r_motion_sensor.html#a1e7b90004c44efd782f7691a8140c3e0',1,'MePIRMotionSensor']]], + ['islistening_4',['isListening',['../class_me_serial.html#a4c4af893caafb362da7906ddabe16327',1,'MeSerial']]], + ['istarposreached_5',['istarposreached',['../class_me_encoder_new.html#a0fec98e0dcfd4d1df08039810f450f6d',1,'MeEncoderNew::isTarPosReached()'],['../class_me_encoder_on_board.html#a1539ed2b8d1a47b9b5037c114856ad00',1,'MeEncoderOnBoard::isTarPosReached()']]] +]; diff --git a/doc/html/search/all_a.js b/doc/html/search/all_a.js new file mode 100644 index 00000000..2d1f4cd1 --- /dev/null +++ b/doc/html/search/all_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keypressed_0',['keyPressed',['../class_me_i_r.html#a7b0f1947b326e956b7b6f7c06e95a3cc',1,'MeIR']]] +]; diff --git a/doc/html/search/all_b.js b/doc/html/search/all_b.js new file mode 100644 index 00000000..95f3bd2a --- /dev/null +++ b/doc/html/search/all_b.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['led_5fmatrix_5fclock_5fnumber_5ffont_5f3x8_5ftypedef_0',['LED_Matrix_Clock_Number_Font_3x8_TypeDef',['../struct_l_e_d___matrix___clock___number___font__3x8___type_def.html',1,'']]], + ['led_5fmatrix_5ffont_5f6x8_5ftypedef_1',['LED_Matrix_Font_6x8_TypeDef',['../struct_l_e_d___matrix___font__6x8___type_def.html',1,'']]], + ['library_20for_20arduino_2',['Makeblock library for Arduino',['../index.html',1,'']]], + ['lightoff_3',['lightOff',['../class_me_light_sensor.html#a0b787d14763d3c34e353ff6f6ef9b3f8',1,'MeLightSensor']]], + ['lighton_4',['lightOn',['../class_me_light_sensor.html#aab0e6ecb7bb432e9e131811fabac77c3',1,'MeLightSensor']]], + ['listen_5',['listen',['../class_me_serial.html#a5dd4784d18202db78fb8333afd97c031',1,'MeSerial']]], + ['loop_6',['loop',['../class_me_encoder_on_board.html#a40a21255f01a568dbdbdcbfe9236070c',1,'MeEncoderOnBoard::loop()'],['../class_me_infrared_receiver.html#ab178d4d0bb7a3af0aa35a88183c2f928',1,'MeInfraredReceiver::loop()'],['../class_me_i_r.html#aeca67335b28008603173082a00a53641',1,'MeIR::loop()'],['../class_me_p_s2.html#a6801dbef44b2b324731cea5d75215a41',1,'MePS2::loop()'],['../class_me_voice.html#ae31f0be6411947ecef97104bf26bf646',1,'MeVoice::loop()']]] +]; diff --git a/doc/html/search/all_c.js b/doc/html/search/all_c.js new file mode 100644 index 00000000..393b3aaf --- /dev/null +++ b/doc/html/search/all_c.js @@ -0,0 +1,166 @@ +var searchData= +[ + ['makeblock_20library_20for_20arduino_0',['Makeblock library for Arduino',['../index.html',1,'']]], + ['mark_1',['mark',['../class_me_i_r.html#a45a3d2442f3dc1ffbc7816655475ff82',1,'MeIR']]], + ['max_2',['MAX',['../class_me_color_sensor.html#a33fedc7e60aad74cf937389b82c1943e',1,'MeColorSensor']]], + ['mbotdcmotor_3',['mbotdcmotor',['../class_m_bot_d_c_motor.html',1,'MBotDCMotor'],['../class_m_bot_d_c_motor.html#ab2b0796707235c4c87656ac986906b9a',1,'MBotDCMotor::MBotDCMotor()']]], + ['me4button_4',['me4button',['../class_me4_button.html',1,'Me4Button'],['../class_me4_button.html#acf07832a6ad875d35f16ca31825ec8d5',1,'Me4Button::Me4Button(uint8_t port)'],['../class_me4_button.html#a084dc6572ea890e9c1e5d50cb60c11e1',1,'Me4Button::Me4Button(void)']]], + ['me4button_2ecpp_5',['Me4Button.cpp',['../_me4_button_8cpp.html',1,'']]], + ['me4button_2eh_6',['Me4Button.h',['../_me4_button_8h.html',1,'']]], + ['me7segmentdisplay_7',['me7segmentdisplay',['../class_me7_segment_display.html',1,'Me7SegmentDisplay'],['../class_me7_segment_display.html#a0c19f7b481f2f4be039b1eee70b5057d',1,'Me7SegmentDisplay::Me7SegmentDisplay(void)'],['../class_me7_segment_display.html#aa6bf9e53244dbd5b4432dbe96041cade',1,'Me7SegmentDisplay::Me7SegmentDisplay(uint8_t port)']]], + ['me7segmentdisplay_2ecpp_8',['Me7SegmentDisplay.cpp',['../_me7_segment_display_8cpp.html',1,'']]], + ['me7segmentdisplay_2eh_9',['Me7SegmentDisplay.h',['../_me7_segment_display_8h.html',1,'']]], + ['me_5fencoder_5ftype_10',['Me_Encoder_type',['../struct_me___encoder__type.html',1,'']]], + ['meanalog_11',['MeAnalog',['../class_me_p_s2.html#a9418cffcc31f2325b022189d9c02713a',1,'MePS2']]], + ['measure_12',['measure',['../class_me_ultrasonic_sensor.html#ac2ccac04ce9765c9c4b33d878db32ff6',1,'MeUltrasonicSensor']]], + ['meauriga_2eh_13',['MeAuriga.h',['../_me_auriga_8h.html',1,'']]], + ['mebaseboard_2eh_14',['MeBaseBoard.h',['../_me_base_board_8h.html',1,'']]], + ['mebluetooth_15',['mebluetooth',['../class_me_bluetooth.html',1,'MeBluetooth'],['../class_me_bluetooth.html#a178daf00e8d835bf72327d67816c6863',1,'MeBluetooth::MeBluetooth()'],['../class_me_bluetooth.html#afa9957e066a599bac84a4cd389bacc27',1,'MeBluetooth::MeBluetooth(uint8_t port)']]], + ['mebluetooth_2ecpp_16',['MeBluetooth.cpp',['../_me_bluetooth_8cpp.html',1,'']]], + ['mebluetooth_2eh_17',['MeBluetooth.h',['../_me_bluetooth_8h.html',1,'']]], + ['mebuzzer_18',['mebuzzer',['../class_me_buzzer.html',1,'MeBuzzer'],['../class_me_buzzer.html#a5af903da92e6142eae69ae7c12eebcbe',1,'MeBuzzer::MeBuzzer(uint8_t port)'],['../class_me_buzzer.html#a545e0f080ecc289e7d39aa81954e08d6',1,'MeBuzzer::MeBuzzer(uint8_t port, uint8_t slot)'],['../class_me_buzzer.html#a227e3cc7515146d9f5951184f4c285fe',1,'MeBuzzer::MeBuzzer()']]], + ['mebuzzer_2ecpp_19',['MeBuzzer.cpp',['../_me_buzzer_8cpp.html',1,'']]], + ['mebuzzer_2eh_20',['MeBuzzer.h',['../_me_buzzer_8h.html',1,'']]], + ['mecolor_21',['Mecolor',['../class_mecolor.html',1,'']]], + ['mecolorsensor_22',['mecolorsensor',['../class_me_color_sensor.html#a09474c3805cbbff251af6699425d6742',1,'MeColorSensor::MeColorSensor(uint8_t port, uint8_t address)'],['../class_me_color_sensor.html#a0c82b287c01d688df13fadedf0737014',1,'MeColorSensor::MeColorSensor(uint8_t port)'],['../class_me_color_sensor.html#af5fe6429a8b59d988c0edb070cdf66ab',1,'MeColorSensor::MeColorSensor(void)'],['../class_me_color_sensor.html',1,'MeColorSensor']]], + ['mecolorsensor_2ecpp_23',['MeColorSensor.cpp',['../_me_color_sensor_8cpp.html',1,'']]], + ['mecolorsensor_2eh_24',['MeColorSensor.h',['../_me_color_sensor_8h.html',1,'']]], + ['mecompass_25',['mecompass',['../class_me_compass.html',1,'MeCompass'],['../class_me_compass.html#a2713d01cf20bac751fa1ac0d5ac0e00c',1,'MeCompass::MeCompass()'],['../class_me_compass.html#ab15cfe4fdf45cc69008bef9cf39f4abf',1,'MeCompass::MeCompass(uint8_t port, uint8_t address)'],['../class_me_compass.html#af6727a5bdba3f2042adeec5d5a61285d',1,'MeCompass::MeCompass(uint8_t port)']]], + ['mecompass_2ecpp_26',['MeCompass.cpp',['../_me_compass_8cpp.html',1,'']]], + ['mecompass_2eh_27',['MeCompass.h',['../_me_compass_8h.html',1,'']]], + ['meconfig_2eh_28',['MeConfig.h',['../_me_config_8h.html',1,'']]], + ['medcmotor_29',['medcmotor',['../class_me_d_c_motor.html',1,'MeDCMotor'],['../class_me_d_c_motor.html#ac0d5e24deae9f03c1f76e7cc780c52fb',1,'MeDCMotor::MeDCMotor(void)'],['../class_me_d_c_motor.html#a34753a0be6495d847dd37caa4427cdc6',1,'MeDCMotor::MeDCMotor(uint8_t port)']]], + ['medcmotor_2ecpp_30',['MeDCMotor.cpp',['../_me_d_c_motor_8cpp.html',1,'']]], + ['medcmotor_2eh_31',['MeDCMotor.h',['../_me_d_c_motor_8h.html',1,'']]], + ['meeeprom_2eh_32',['MeEEPROM.h',['../_me_e_e_p_r_o_m_8h.html',1,'']]], + ['meencodermotor_33',['meencodermotor',['../class_me_encoder_motor.html#ac1e1d1667620217d906460831316ca26',1,'MeEncoderMotor::MeEncoderMotor(uint8_t addr, uint8_t slot)'],['../class_me_encoder_motor.html#a28ce79300600255bef5420094199cf5a',1,'MeEncoderMotor::MeEncoderMotor(uint8_t slot)'],['../class_me_encoder_motor.html',1,'MeEncoderMotor'],['../class_me_encoder_motor.html#acbeab97d3d90a0854155264ddfd1d7bb',1,'MeEncoderMotor::MeEncoderMotor()']]], + ['meencodermotor_2ecpp_34',['MeEncoderMotor.cpp',['../_me_encoder_motor_8cpp.html',1,'']]], + ['meencodermotor_2eh_35',['MeEncoderMotor.h',['../_me_encoder_motor_8h.html',1,'']]], + ['meencodernew_36',['meencodernew',['../class_me_encoder_new.html',1,'MeEncoderNew'],['../class_me_encoder_new.html#a49faf6de7d40df69dc08edb424086390',1,'MeEncoderNew::MeEncoderNew(uint8_t slot)'],['../class_me_encoder_new.html#a809786152a62ec4d737f45a3cc8d3ea0',1,'MeEncoderNew::MeEncoderNew(void)'],['../class_me_encoder_new.html#af77b13a73ad1a190ce06516cb1ec8591',1,'MeEncoderNew::MeEncoderNew(uint8_t addr, uint8_t slot)']]], + ['meencodernew_2ecpp_37',['MeEncoderNew.cpp',['../_me_encoder_new_8cpp.html',1,'']]], + ['meencodernew_2eh_38',['MeEncoderNew.h',['../_me_encoder_new_8h.html',1,'']]], + ['meencoderonboard_39',['meencoderonboard',['../class_me_encoder_on_board.html',1,'MeEncoderOnBoard'],['../class_me_encoder_on_board.html#a043ff2bc98d5f271bac28b5ac21d580b',1,'MeEncoderOnBoard::MeEncoderOnBoard(int slot)'],['../class_me_encoder_on_board.html#afcb6c413e88b685ebe72b0b34b48d32a',1,'MeEncoderOnBoard::MeEncoderOnBoard()']]], + ['meencoderonboard_2ecpp_40',['MeEncoderOnBoard.cpp',['../_me_encoder_on_board_8cpp.html',1,'']]], + ['meencoderonboard_2eh_41',['MeEncoderOnBoard.h',['../_me_encoder_on_board_8h.html',1,'']]], + ['meflamesensor_42',['meflamesensor',['../class_me_flame_sensor.html',1,'MeFlameSensor'],['../class_me_flame_sensor.html#a32ce1598a172c6ddd56b51713add39e3',1,'MeFlameSensor::MeFlameSensor(uint8_t port)'],['../class_me_flame_sensor.html#adc284c980be43010a9dc046ed9ecf03f',1,'MeFlameSensor::MeFlameSensor(void)']]], + ['meflamesensor_2ecpp_43',['MeFlameSensor.cpp',['../_me_flame_sensor_8cpp.html',1,'']]], + ['meflamesensor_2eh_44',['MeFlameSensor.h',['../_me_flame_sensor_8h.html',1,'']]], + ['megapi_5fdc_5ftype_45',['megapi_dc_type',['../structmegapi__dc__type.html',1,'']]], + ['megapi_5fslot_46',['megaPi_slot',['../structmega_pi__slot.html',1,'']]], + ['megapipro_5fesc_5ftype_47',['megapipro_esc_type',['../structmegapipro__esc__type.html',1,'']]], + ['megassensor_48',['megassensor',['../class_me_gas_sensor.html',1,'MeGasSensor'],['../class_me_gas_sensor.html#a96b281de59928839b6d267f7c368fdfe',1,'MeGasSensor::MeGasSensor(void)'],['../class_me_gas_sensor.html#a70e0e87e9237858c8b48a5b06beef965',1,'MeGasSensor::MeGasSensor(uint8_t port)']]], + ['megassensor_2ecpp_49',['MeGasSensor.cpp',['../_me_gas_sensor_8cpp.html',1,'']]], + ['megassensor_2eh_50',['MeGasSensor.h',['../_me_gas_sensor_8h.html',1,'']]], + ['megyro_51',['megyro',['../class_me_gyro.html',1,'MeGyro'],['../class_me_gyro.html#a4a6b3f7485716b1943e15eb554b51ae7',1,'MeGyro::MeGyro(void)'],['../class_me_gyro.html#a207095ed46ba017c930c4fefe856828e',1,'MeGyro::MeGyro(uint8_t port)'],['../class_me_gyro.html#a0340b5dfd830cbfc25034a3277ad071f',1,'MeGyro::MeGyro(uint8_t port, uint8_t address)']]], + ['megyro_2ecpp_52',['MeGyro.cpp',['../_me_gyro_8cpp.html',1,'']]], + ['megyro_2eh_53',['MeGyro.h',['../_me_gyro_8h.html',1,'']]], + ['mehost_5fpack_54',['MeHost_Pack',['../_me_encoder_motor_8cpp.html#af46216bf6587148906d641d9fa0a89cb',1,'MeEncoderMotor.cpp']]], + ['mehostparser_55',['mehostparser',['../class_me_host_parser.html',1,'MeHostParser'],['../class_me_host_parser.html#a05210809fce73b62b8864c8cc07c67e5',1,'MeHostParser::MeHostParser()']]], + ['mehostparser_2ecpp_56',['MeHostParser.cpp',['../_me_host_parser_8cpp.html',1,'']]], + ['mehostparser_2eh_57',['MeHostParser.h',['../_me_host_parser_8h.html',1,'']]], + ['mehumiture_58',['mehumiture',['../class_me_humiture.html#a89b2b014a729287e7a2de580da6c96c0',1,'MeHumiture::MeHumiture(uint8_t port)'],['../class_me_humiture.html#a1795d111fb925d4dbbbe500d0698c724',1,'MeHumiture::MeHumiture(void)'],['../class_me_humiture.html',1,'MeHumiture']]], + ['mehumituresensor_2ecpp_59',['MeHumitureSensor.cpp',['../_me_humiture_sensor_8cpp.html',1,'']]], + ['mehumituresensor_2eh_60',['MeHumitureSensor.h',['../_me_humiture_sensor_8h.html',1,'']]], + ['meinfraredreceiver_61',['meinfraredreceiver',['../class_me_infrared_receiver.html#a98474aa37cad10df237c006e22ec50a2',1,'MeInfraredReceiver::MeInfraredReceiver(uint8_t port)'],['../class_me_infrared_receiver.html#a41adf4b88eaec8d9c770ba29ddaa22f6',1,'MeInfraredReceiver::MeInfraredReceiver(void)'],['../class_me_infrared_receiver.html',1,'MeInfraredReceiver']]], + ['meinfraredreceiver_2ecpp_62',['MeInfraredReceiver.cpp',['../_me_infrared_receiver_8cpp.html',1,'']]], + ['meinfraredreceiver_2eh_63',['MeInfraredReceiver.h',['../_me_infrared_receiver_8h.html',1,'']]], + ['meir_64',['meir',['../class_me_i_r.html#a9093e92f61e6fb20d5bc1e9f0d250e04',1,'MeIR::MeIR()'],['../class_me_i_r.html',1,'MeIR']]], + ['meir_2ecpp_65',['MeIR.cpp',['../_me_i_r_8cpp.html',1,'']]], + ['meir_2eh_66',['MeIR.h',['../_me_i_r_8h.html',1,'']]], + ['mejoystick_67',['mejoystick',['../class_me_joystick.html#a1fdc2f7f587fc30f7fce0b4efcb6fa1c',1,'MeJoystick::MeJoystick(void)'],['../class_me_joystick.html#abbc566b261a9b3029a21e68f62462e26',1,'MeJoystick::MeJoystick(uint8_t port)'],['../class_me_joystick.html',1,'MeJoystick']]], + ['mejoystick_2ecpp_68',['MeJoystick.cpp',['../_me_joystick_8cpp.html',1,'']]], + ['mejoystick_2eh_69',['MeJoystick.h',['../_me_joystick_8h.html',1,'']]], + ['meledmatrix_70',['meledmatrix',['../class_me_l_e_d_matrix.html#ac90091e7105e8a85eec4edb25561bb1a',1,'MeLEDMatrix::MeLEDMatrix(uint8_t port)'],['../class_me_l_e_d_matrix.html#add0de4df6d4eedf76f259a08df8322f7',1,'MeLEDMatrix::MeLEDMatrix()'],['../class_me_l_e_d_matrix.html#ab2309b562a05e4a6a1fc8d301d0c6f85',1,'MeLEDMatrix::MeLEDMatrix(uint8_t SCK_Pin, uint8_t DIN_Pin)'],['../class_me_l_e_d_matrix.html',1,'MeLEDMatrix']]], + ['meledmatrix_2ecpp_71',['MeLEDMatrix.cpp',['../_me_l_e_d_matrix_8cpp.html',1,'']]], + ['meledmatrix_2eh_72',['MeLEDMatrix.h',['../_me_l_e_d_matrix_8h.html',1,'']]], + ['meledmatrixdata_2eh_73',['MeLEDMatrixData.h',['../_me_l_e_d_matrix_data_8h.html',1,'']]], + ['melightsensor_74',['melightsensor',['../class_me_light_sensor.html#a369148767eeac2ad59e724554621298d',1,'MeLightSensor::MeLightSensor(void)'],['../class_me_light_sensor.html#af7e3e21af2ea0190d65655750bf49665',1,'MeLightSensor::MeLightSensor(uint8_t port)'],['../class_me_light_sensor.html',1,'MeLightSensor']]], + ['melightsensor_2ecpp_75',['MeLightSensor.cpp',['../_me_light_sensor_8cpp.html',1,'']]], + ['melightsensor_2eh_76',['MeLightSensor.h',['../_me_light_sensor_8h.html',1,'']]], + ['melimitswitch_77',['melimitswitch',['../class_me_limit_switch.html#a54eb87697a1b59d658cbf8862a7e070b',1,'MeLimitSwitch::MeLimitSwitch(void)'],['../class_me_limit_switch.html#af0aac1c09b9e8f0a97c451bba78a2c70',1,'MeLimitSwitch::MeLimitSwitch(uint8_t port)'],['../class_me_limit_switch.html#aaa939697942431d0b9812e4f9d978199',1,'MeLimitSwitch::MeLimitSwitch(uint8_t port, uint8_t slot)'],['../class_me_limit_switch.html',1,'MeLimitSwitch']]], + ['melimitswitch_2ecpp_78',['MeLimitSwitch.cpp',['../_me_limit_switch_8cpp.html',1,'']]], + ['melimitswitch_2eh_79',['MeLimitSwitch.h',['../_me_limit_switch_8h.html',1,'']]], + ['melinefollower_80',['melinefollower',['../class_me_line_follower.html',1,'MeLineFollower'],['../class_me_line_follower.html#a0e2dcb9e9af565ac9cfb2eb0c022ee34',1,'MeLineFollower::MeLineFollower(uint8_t port)'],['../class_me_line_follower.html#a0921a28658143998b3c9d794cbe44c9e',1,'MeLineFollower::MeLineFollower(void)']]], + ['melinefollower_2ecpp_81',['MeLineFollower.cpp',['../_me_line_follower_8cpp.html',1,'']]], + ['melinefollower_2eh_82',['MeLineFollower.h',['../_me_line_follower_8h.html',1,'']]], + ['membotdcmotor_2ecpp_83',['MeMbotDCMotor.cpp',['../_me_mbot_d_c_motor_8cpp.html',1,'']]], + ['membotdcmotor_2eh_84',['MeMbotDCMotor.h',['../_me_mbot_d_c_motor_8h.html',1,'']]], + ['memcore_2eh_85',['MeMCore.h',['../_me_m_core_8h.html',1,'']]], + ['memegapi_2eh_86',['MeMegaPi.h',['../_me_mega_pi_8h.html',1,'']]], + ['memegapidcmotor_87',['memegapidcmotor',['../class_me_mega_pi_d_c_motor.html',1,'MeMegaPiDCMotor'],['../class_me_mega_pi_d_c_motor.html#a514ff2f2c60e28567f803b75c95b59ca',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(void)'],['../class_me_mega_pi_d_c_motor.html#acbd1227d383653d78ae751377b2ed516',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(uint8_t port)'],['../class_me_mega_pi_d_c_motor.html#ad53dab0d6fd9ccbfaef1d53f229cfe8a',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)']]], + ['memegapidcmotor_2ecpp_88',['MeMegaPiDCMotor.cpp',['../_me_mega_pi_d_c_motor_8cpp.html',1,'']]], + ['memegapidcmotor_2eh_89',['MeMegaPiDCMotor.h',['../_me_mega_pi_d_c_motor_8h.html',1,'']]], + ['memegapipro_2eh_90',['MeMegaPiPro.h',['../_me_mega_pi_pro_8h.html',1,'']]], + ['memegapipro4dcmotor_91',['memegapipro4dcmotor',['../class_me_mega_pi_pro4_dc_motor.html',1,'MeMegaPiPro4DcMotor'],['../class_me_mega_pi_pro4_dc_motor.html#a82a9c5416fb71a07550902f6dca71119',1,'MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor(void)'],['../class_me_mega_pi_pro4_dc_motor.html#a0797022589246f44bbbc7fd0d0467726',1,'MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor(uint8_t port)']]], + ['memegapipro4dcmotor_2ecpp_92',['MeMegaPiPro4DcMotor.cpp',['../_me_mega_pi_pro4_dc_motor_8cpp.html',1,'']]], + ['memegapipro4dcmotor_2eh_93',['MeMegaPiPro4DcMotor.h',['../_me_mega_pi_pro4_dc_motor_8h.html',1,'']]], + ['memegapiproescmotor_94',['memegapiproescmotor',['../class_me_mega_pi_pro_e_s_c_motor.html',1,'MeMegaPiProESCMotor'],['../class_me_mega_pi_pro_e_s_c_motor.html#a5bac3025e305ce8cbfe0bb288e277ec2',1,'MeMegaPiProESCMotor::MeMegaPiProESCMotor(void)'],['../class_me_mega_pi_pro_e_s_c_motor.html#a23bfa7d1caecb5801d98cc774fe108ae',1,'MeMegaPiProESCMotor::MeMegaPiProESCMotor(uint8_t port)']]], + ['memegapiproescmotor_2ecpp_95',['MeMegaPiProESCMotor.cpp',['../_me_mega_pi_pro_e_s_c_motor_8cpp.html',1,'']]], + ['memegapiproescmotor_2eh_96',['MeMegaPiProESCMotor.h',['../_me_mega_pi_pro_e_s_c_motor_8h.html',1,'']]], + ['meonboardtemp_97',['meonboardtemp',['../class_me_on_board_temp.html',1,'MeOnBoardTemp'],['../class_me_on_board_temp.html#a06f4cfe51ec0c2dbc372a5f21188b499',1,'MeOnBoardTemp::MeOnBoardTemp(void)'],['../class_me_on_board_temp.html#ab22487c40c90a0af0f47be119868e8ad',1,'MeOnBoardTemp::MeOnBoardTemp(uint8_t port)']]], + ['meonboardtemp_2ecpp_98',['MeOnBoardTemp.cpp',['../_me_on_board_temp_8cpp.html',1,'']]], + ['meonboardtemp_2eh_99',['MeOnBoardTemp.h',['../_me_on_board_temp_8h.html',1,'']]], + ['meonewire_100',['meonewire',['../class_me_one_wire.html',1,'MeOneWire'],['../class_me_one_wire.html#a8069007f7070f2f239af17cd824651f2',1,'MeOneWire::MeOneWire(void)'],['../class_me_one_wire.html#a56ca2b54bd03dc44d888a823ba388566',1,'MeOneWire::MeOneWire(uint8_t pin)']]], + ['meonewire_2ecpp_101',['MeOneWire.cpp',['../_me_one_wire_8cpp.html',1,'']]], + ['meonewire_2eh_102',['MeOneWire.h',['../_me_one_wire_8h.html',1,'']]], + ['meorion_2eh_103',['MeOrion.h',['../_me_orion_8h.html',1,'']]], + ['mepirmotionsensor_104',['mepirmotionsensor',['../class_me_p_i_r_motion_sensor.html',1,'MePIRMotionSensor'],['../class_me_p_i_r_motion_sensor.html#a02248fc5af91a2e8778bd4031ff434e0',1,'MePIRMotionSensor::MePIRMotionSensor()'],['../class_me_p_i_r_motion_sensor.html#ab845675e34478ecf04e3742844f1418c',1,'MePIRMotionSensor::MePIRMotionSensor(uint8_t port)']]], + ['mepirmotionsensor_2ecpp_105',['MePIRMotionSensor.cpp',['../_me_p_i_r_motion_sensor_8cpp.html',1,'']]], + ['mepirmotionsensor_2eh_106',['MePIRMotionSensor.h',['../_me_p_i_r_motion_sensor_8h.html',1,'']]], + ['mepm25sensor_107',['mepm25sensor',['../class_me_pm25_sensor.html#a1cc18797bdc8959a726025fbb8ea888a',1,'MePm25Sensor::MePm25Sensor()'],['../class_me_pm25_sensor.html',1,'MePm25Sensor'],['../class_me_pm25_sensor.html#a1d7cdd82e198a2e040a190c8f6fe652a',1,'MePm25Sensor::MePm25Sensor()']]], + ['mepm25sensor_2ecpp_108',['MePm25Sensor.cpp',['../_me_pm25_sensor_8cpp.html',1,'']]], + ['mepm25sensor_2eh_109',['MePm25Sensor.h',['../_me_pm25_sensor_8h.html',1,'']]], + ['meport_110',['meport',['../class_me_port.html',1,'MePort'],['../class_me_port.html#a1458b606f98da409d7ab4fa7d09c6816',1,'MePort::MePort(uint8_t port, uint8_t slot)'],['../class_me_port.html#a7a1d7cdf061740148cd893ba481420a3',1,'MePort::MePort(uint8_t port)'],['../class_me_port.html#ae4b9e8e718b626d0ce4017a430878210',1,'MePort::MePort(void)']]], + ['meport_2ecpp_111',['MePort.cpp',['../_me_port_8cpp.html',1,'']]], + ['meport_2eh_112',['MePort.h',['../_me_port_8h.html',1,'']]], + ['meport_5fsig_113',['MePort_Sig',['../struct_me_port___sig.html',1,'']]], + ['mepotentiometer_114',['mepotentiometer',['../class_me_potentiometer.html#add2858c8d9ea25a49f498be2fe33785d',1,'MePotentiometer::MePotentiometer()'],['../class_me_potentiometer.html',1,'MePotentiometer'],['../class_me_potentiometer.html#ac21a8e502a18305cfbf967daa54121c9',1,'MePotentiometer::MePotentiometer()']]], + ['mepotentiometer_2ecpp_115',['MePotentiometer.cpp',['../_me_potentiometer_8cpp.html',1,'']]], + ['mepotentiometer_2eh_116',['MePotentiometer.h',['../_me_potentiometer_8h.html',1,'']]], + ['mepressuresensor_117',['MePressureSensor',['../class_me_pressure_sensor.html',1,'']]], + ['meps2_118',['meps2',['../class_me_p_s2.html#a2fd79fe40df482bad8eacb00666f8d61',1,'MePS2::MePS2()'],['../class_me_p_s2.html#abfc47759480247f23a63a716a4699371',1,'MePS2::MePS2(uint8_t port)'],['../class_me_p_s2.html',1,'MePS2']]], + ['meps2_2ecpp_119',['MePS2.cpp',['../_me_p_s2_8cpp.html',1,'']]], + ['meps2_2eh_120',['MePS2.h',['../_me_p_s2_8h.html',1,'']]], + ['mergbled_121',['mergbled',['../class_me_r_g_b_led.html#a5f7c3954ceb5ec785dd6fcb6f64e76ab',1,'MeRGBLed::MeRGBLed(uint8_t port, uint8_t slot, uint8_t led_num)'],['../class_me_r_g_b_led.html#a6204f460f613534e783318e7a8e9039d',1,'MeRGBLed::MeRGBLed(uint8_t port, uint8_t led_num)'],['../class_me_r_g_b_led.html#ac6bf6ad922bb2e0cb2b1d0763dd25348',1,'MeRGBLed::MeRGBLed(uint8_t port)'],['../class_me_r_g_b_led.html#addbe094cefa309fc7a5486f13ba628c0',1,'MeRGBLed::MeRGBLed(void)'],['../class_me_r_g_b_led.html',1,'MeRGBLed']]], + ['mergbled_2ecpp_122',['MeRGBLed.cpp',['../_me_r_g_b_led_8cpp.html',1,'']]], + ['mergbled_2eh_123',['MeRGBLed.h',['../_me_r_g_b_led_8h.html',1,'']]], + ['meserial_124',['meserial',['../class_me_serial.html#a06d4cb2f572533e9b1414cc1e6d4929b',1,'MeSerial::MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)'],['../class_me_serial.html#a63ac4943dae1b910fd627758ba0c20a2',1,'MeSerial::MeSerial(uint8_t port)'],['../class_me_serial.html#aaa113d4dc7bf62acae7b7ca559c23245',1,'MeSerial::MeSerial(void)'],['../class_me_serial.html',1,'MeSerial']]], + ['meserial_2ecpp_125',['MeSerial.cpp',['../_me_serial_8cpp.html',1,'']]], + ['meserial_2eh_126',['MeSerial.h',['../_me_serial_8h.html',1,'']]], + ['meshield_2eh_127',['MeShield.h',['../_me_shield_8h.html',1,'']]], + ['meshutter_128',['meshutter',['../class_me_shutter.html',1,'MeShutter'],['../class_me_shutter.html#a072f6dd9c71d200ec8879784744e0576',1,'MeShutter::MeShutter(uint8_t port)'],['../class_me_shutter.html#a19cb9b364ab8e4309620b3f11dd3323d',1,'MeShutter::MeShutter(void)']]], + ['meshutter_2ecpp_129',['MeShutter.cpp',['../_me_shutter_8cpp.html',1,'']]], + ['meshutter_2eh_130',['MeShutter.h',['../_me_shutter_8h.html',1,'']]], + ['mesmartservo_131',['mesmartservo',['../class_me_smart_servo.html',1,'MeSmartServo'],['../class_me_smart_servo.html#a8423e173c2a4c24f442e0536054fbba0',1,'MeSmartServo::MeSmartServo()'],['../class_me_smart_servo.html#a488fddfc5eed85885f9652f820fb87e9',1,'MeSmartServo::MeSmartServo(uint8_t port)']]], + ['mesmartservo_2ecpp_132',['MeSmartServo.cpp',['../_me_smart_servo_8cpp.html',1,'']]], + ['mesmartservo_2eh_133',['MeSmartServo.h',['../_me_smart_servo_8h.html',1,'']]], + ['mesoundsensor_134',['MeSoundSensor',['../class_me_sound_sensor.html',1,'']]], + ['mesoundsensor_2ecpp_135',['MeSoundSensor.cpp',['../_me_sound_sensor_8cpp.html',1,'']]], + ['mestepper_136',['mestepper',['../class_me_stepper.html#a34e8a0c1b7eb99ff9fe6a0d805cc12d1',1,'MeStepper::MeStepper()'],['../class_me_stepper.html#a10df219f3839e1c88100c1d84e46c01e',1,'MeStepper::MeStepper(uint8_t port)'],['../class_me_stepper.html',1,'MeStepper']]], + ['mestepper_2ecpp_137',['MeStepper.cpp',['../_me_stepper_8cpp.html',1,'']]], + ['mestepper_2eh_138',['MeStepper.h',['../_me_stepper_8h.html',1,'']]], + ['mestepperonboard_139',['mestepperonboard',['../class_me_stepper_on_board.html#a8f2852b3a7c35103dae8b9cae3f9ec54',1,'MeStepperOnBoard::MeStepperOnBoard(int slot)'],['../class_me_stepper_on_board.html#a6476b785a367f0bf0f6be0b5f1d256db',1,'MeStepperOnBoard::MeStepperOnBoard()'],['../class_me_stepper_on_board.html',1,'MeStepperOnBoard']]], + ['mestepperonboard_2ecpp_140',['MeStepperOnBoard.cpp',['../_me_stepper_on_board_8cpp.html',1,'']]], + ['mestepperonboard_2eh_141',['MeStepperOnBoard.h',['../_me_stepper_on_board_8h.html',1,'']]], + ['metemperature_142',['metemperature',['../class_me_temperature.html#a1583b8551a9f33b7abe02cbfe2761fa8',1,'MeTemperature::MeTemperature(void)'],['../class_me_temperature.html#a93c1c6633fa8515b317f83e4a780b71a',1,'MeTemperature::MeTemperature(uint8_t port)'],['../class_me_temperature.html',1,'MeTemperature'],['../class_me_temperature.html#a657de368a959e2f9985fc2867a6ea0e2',1,'MeTemperature::MeTemperature()']]], + ['metemperature_2ecpp_143',['MeTemperature.cpp',['../_me_temperature_8cpp.html',1,'']]], + ['metemperature_2eh_144',['MeTemperature.h',['../_me_temperature_8h.html',1,'']]], + ['metouchsensor_145',['metouchsensor',['../class_me_touch_sensor.html',1,'MeTouchSensor'],['../class_me_touch_sensor.html#a09705164b54337f2f36da27c62854599',1,'MeTouchSensor::MeTouchSensor(void)'],['../class_me_touch_sensor.html#a0ecfd6da5fea8197e371ad544f9c07f9',1,'MeTouchSensor::MeTouchSensor(uint8_t port)']]], + ['metouchsensor_2ecpp_146',['MeTouchSensor.cpp',['../_me_touch_sensor_8cpp.html',1,'']]], + ['metouchsensor_2eh_147',['MeTouchSensor.h',['../_me_touch_sensor_8h.html',1,'']]], + ['meultrasonicsensor_148',['meultrasonicsensor',['../class_me_ultrasonic_sensor.html#a1c80a8cdd1d38cbeda6d643d41dc1fa0',1,'MeUltrasonicSensor::MeUltrasonicSensor(void)'],['../class_me_ultrasonic_sensor.html#a979e0ac40c81bc61a942de16a385c52f',1,'MeUltrasonicSensor::MeUltrasonicSensor(uint8_t port)'],['../class_me_ultrasonic_sensor.html',1,'MeUltrasonicSensor']]], + ['meultrasonicsensor_2ecpp_149',['MeUltrasonicSensor.cpp',['../_me_ultrasonic_sensor_8cpp.html',1,'']]], + ['meultrasonicsensor_2eh_150',['MeUltrasonicSensor.h',['../_me_ultrasonic_sensor_8h.html',1,'']]], + ['meusbhost_151',['meusbhost',['../class_me_u_s_b_host.html#a046694bf0110a4fed7650f2c370e167c',1,'MeUSBHost::MeUSBHost()'],['../class_me_u_s_b_host.html',1,'MeUSBHost'],['../class_me_u_s_b_host.html#a27367dd6f4253fa7222af2cc4c90d91d',1,'MeUSBHost::MeUSBHost()']]], + ['meusbhost_2ecpp_152',['MeUSBHost.cpp',['../_me_u_s_b_host_8cpp.html',1,'']]], + ['meusbhost_2eh_153',['MeUSBHost.h',['../_me_u_s_b_host_8h.html',1,'']]], + ['mevoice_154',['mevoice',['../class_me_voice.html',1,'MeVoice'],['../class_me_voice.html#af9c1752c4d82263049f676b31ffb2438',1,'MeVoice::MeVoice(void)'],['../class_me_voice.html#a4eaae4a750179d7132dc533a80e749b1',1,'MeVoice::MeVoice(uint8_t port)']]], + ['mevoice_2ecpp_155',['MeVoice.cpp',['../_me_voice_8cpp.html',1,'']]], + ['mevoice_2eh_156',['MeVoice.h',['../_me_voice_8h.html',1,'']]], + ['mewifi_157',['mewifi',['../class_me_wifi.html',1,'MeWifi'],['../class_me_wifi.html#aaec7c63be7254e4a4471b42c75ddf320',1,'MeWifi::MeWifi()'],['../class_me_wifi.html#a1fc0a632eefc50c65c993cadbf2e91d8',1,'MeWifi::MeWifi(uint8_t port)']]], + ['mewifi_2ecpp_158',['MeWifi.cpp',['../_me_wifi_8cpp.html',1,'']]], + ['mewifi_2eh_159',['MeWifi.h',['../_me_wifi_8h.html',1,'']]], + ['min_160',['MIN',['../class_me_color_sensor.html#a7731131a09e0e0bc4121cd30353db745',1,'MeColorSensor']]], + ['move_161',['move',['../class_me_encoder_motor.html#a10a88a426631d9251a0db96f921f1bcd',1,'MeEncoderMotor::move()'],['../class_me_encoder_new.html#abe1fe2665edfaae677ed00eea1fef040',1,'MeEncoderNew::move()'],['../class_me_encoder_on_board.html#afae5f5d060a6bcefbe344b418455a819',1,'MeEncoderOnBoard::move()'],['../class_m_bot_d_c_motor.html#afe0b361462f7660fd767cd7e5a23ea77',1,'MBotDCMotor::move()'],['../class_me_smart_servo.html#accf6f85b682196fa8e3f36f2a2e5e508',1,'MeSmartServo::move()'],['../class_me_stepper_on_board.html#aad362da829622be269f2903cf2000b3e',1,'MeStepperOnBoard::move(long relative)'],['../class_me_stepper_on_board.html#a6f0502cf085c9a108cd7c0f29eb18273',1,'MeStepperOnBoard::move(long relative, int16_t extId, cb callback)'],['../class_me_stepper.html#aa8020356bb0c793c2ea78737f9c5f387',1,'MeStepper::move()']]], + ['moveto_162',['moveto',['../class_me_encoder_motor.html#a05f1de71458b1ab75bd34f9c948cc463',1,'MeEncoderMotor::moveTo()'],['../class_me_encoder_on_board.html#a288f72436792c55a8847bfc3fa94b972',1,'MeEncoderOnBoard::moveTo()'],['../class_me_smart_servo.html#aad84a194b3ed4f175d336bca6a596ec6',1,'MeSmartServo::moveTo()'],['../class_me_stepper.html#a2bf300dfaa8901eac1fe334a3d01bb50',1,'MeStepper::moveTo()'],['../class_me_stepper_on_board.html#a52fd44017b98f6f557321483f98dda71',1,'MeStepperOnBoard::moveTo(long absolute)'],['../class_me_stepper_on_board.html#a952049fc3361c7f33f5bfb2c8f78707e',1,'MeStepperOnBoard::moveTo(long absolute, int16_t extId, cb callback)'],['../class_me_encoder_new.html#a2b9316c366c67ef88b6f03635f8c9468',1,'MeEncoderNew::moveTo()']]] +]; diff --git a/doc/html/search/all_d.js b/doc/html/search/all_d.js new file mode 100644 index 00000000..fb4b89b8 --- /dev/null +++ b/doc/html/search/all_d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['notone_0',['notone',['../class_me_buzzer.html#a25ea6412895981c00bc9ff67dbacb7d0',1,'MeBuzzer::noTone(int pin)'],['../class_me_buzzer.html#a17f2d0a133f49125f2aa24dd970e926f',1,'MeBuzzer::noTone()']]] +]; diff --git a/doc/html/search/all_e.js b/doc/html/search/all_e.js new file mode 100644 index 00000000..2fffc37d --- /dev/null +++ b/doc/html/search/all_e.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['offcenter_0',['OffCenter',['../class_me_joystick.html#a6402a4343716a84282366e25035f4297',1,'MeJoystick']]], + ['only_20definitions_1',['AVR Only definitions',['../_servo_timers_8h.html#autotoc_md10',1,'']]], + ['operator_2b_2b_2',['operator++',['../struct_e_e_ref.html#a5b230b800d3bf6fa6396aba8a3ac5cdb',1,'EERef::operator++()'],['../struct_e_e_ref.html#a8020a7251293e013d26587935ce8905d',1,'EERef::operator++(int)'],['../struct_e_e_ptr.html#a7473bc4e92c4970fb5414d050265a981',1,'EEPtr::operator++()']]], + ['outputintimeoff_3',['OutputIntimeOff',['../class_me_pm25_sensor.html#a255b47a6afeeac32f7dd9d50a97241e7',1,'MePm25Sensor']]], + ['outputintimeon_4',['OutputIntimeOn',['../class_me_pm25_sensor.html#a98a6e7af47ae69ffd23fdae581aef083',1,'MePm25Sensor']]] +]; diff --git a/doc/html/search/all_f.js b/doc/html/search/all_f.js new file mode 100644 index 00000000..a4d7d763 --- /dev/null +++ b/doc/html/search/all_f.js @@ -0,0 +1,20 @@ +var searchData= +[ + ['pid_5finternal_0',['PID_internal',['../struct_p_i_d__internal.html',1,'']]], + ['pidpositiontopwm_1',['pidPositionToPwm',['../class_me_encoder_on_board.html#ad22d95cd15408391e5638b5fc9fa6896',1,'MeEncoderOnBoard']]], + ['pin_2',['pin',['../class_me_port.html#aea7dad0142d940c0395b1782fe5adeae',1,'MePort::pin(void)'],['../class_me_port.html#a637d42b5a62d655b8517bc8a363206f3',1,'MePort::pin(uint8_t port, uint8_t slot)']]], + ['pin1_3',['pin1',['../class_me_port.html#a1ed16a0f863a618cc9f32b27015107e7',1,'MePort']]], + ['pin2_4',['pin2',['../class_me_port.html#a8a1b3cd06dffbb48d40c3adf25011803',1,'MePort']]], + ['pm25datastruct_5',['PM25DATASTRUCT',['../struct_p_m25_d_a_t_a_s_t_r_u_c_t.html',1,'']]], + ['pm25datauino_6',['PM25DATAUINO',['../union_p_m25_d_a_t_a_u_i_n_o.html',1,'']]], + ['poll_7',['poll',['../class_me_serial.html#a721bd751d68b01eeafd206163eab10a4',1,'MeSerial']]], + ['pressed_8',['pressed',['../class_me4_button.html#a51d9728459f5323d59d1543931ba2dc9',1,'Me4Button']]], + ['printf_9',['printf',['../class_me_serial.html#a30bae57ed633a2b7c8a41ff0de0a6679',1,'MeSerial']]], + ['probedevice_10',['probeDevice',['../class_me_u_s_b_host.html#a1ec6f4ebdb3f888e04d8ef5c83ff75f0',1,'MeUSBHost']]], + ['processsysexmessage_11',['processSysexMessage',['../class_me_smart_servo.html#a3eb0b8f79dd50b4e55526d261b40d8a1',1,'MeSmartServo']]], + ['pulseposminus_12',['pulsePosMinus',['../class_me_encoder_on_board.html#a8bf581cccdefbc31950d5ff81ed1cb9c',1,'MeEncoderOnBoard']]], + ['pulseposplus_13',['pulsePosPlus',['../class_me_encoder_on_board.html#a5860af63894f883a46e7faa448091315',1,'MeEncoderOnBoard']]], + ['pushbyte_14',['pushByte',['../class_me_host_parser.html#aea2e516581e88dc2f807759bc2a679b2',1,'MeHostParser']]], + ['pushstr_15',['pushStr',['../class_me_host_parser.html#a0103f25edd15026dcf5ae8a19cb25abf',1,'MeHostParser']]], + ['pwmmove_16',['pwmMove',['../class_me_encoder_on_board.html#abf552ba0bf4e6e83dc9a63f510792cd0',1,'MeEncoderOnBoard']]] +]; diff --git a/doc/html/search/classes_0.js b/doc/html/search/classes_0.js new file mode 100644 index 00000000..75c44333 --- /dev/null +++ b/doc/html/search/classes_0.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['_5fusb_5fconfig_5fdescriptor_0',['_USB_CONFIG_DEscriptOR',['../struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html',1,'']]], + ['_5fusb_5fconfig_5fdescriptor_5flong_1',['_USB_CONFIG_DEscriptOR_LONG',['../struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html',1,'']]], + ['_5fusb_5fdevice_5fdescriptor_2',['_USB_DEVICE_DEscriptOR',['../struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html',1,'']]], + ['_5fusb_5fendpoint_5fdescriptor_3',['_USB_ENDPOINT_DEscriptOR',['../struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html',1,'']]], + ['_5fusb_5finterf_5fdescriptor_4',['_USB_INTERF_DEscriptOR',['../struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html',1,'']]] +]; diff --git a/doc/html/search/classes_1.js b/doc/html/search/classes_1.js new file mode 100644 index 00000000..b4c08463 --- /dev/null +++ b/doc/html/search/classes_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['cmd_5flist_5ftab_5ftype_0',['Cmd_list_tab_type',['../struct_cmd__list__tab__type.html',1,'']]], + ['compass_5fcalibration_5fparameter_1',['Compass_Calibration_Parameter',['../struct_compass___calibration___parameter.html',1,'']]], + ['crgb_2',['cRGB',['../structc_r_g_b.html',1,'']]] +]; diff --git a/doc/html/search/classes_2.js b/doc/html/search/classes_2.js new file mode 100644 index 00000000..92d66230 --- /dev/null +++ b/doc/html/search/classes_2.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['eepromclass_0',['EEPROMClass',['../struct_e_e_p_r_o_m_class.html',1,'']]], + ['eeptr_1',['EEPtr',['../struct_e_e_ptr.html',1,'']]], + ['eeref_2',['EERef',['../struct_e_e_ref.html',1,'']]], + ['encoder_5fport_5ftype_3',['Encoder_port_type',['../struct_encoder__port__type.html',1,'']]] +]; diff --git a/doc/html/search/classes_3.js b/doc/html/search/classes_3.js new file mode 100644 index 00000000..347e4cc5 --- /dev/null +++ b/doc/html/search/classes_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['irparams_5ft_0',['irparams_t',['../structirparams__t.html',1,'']]] +]; diff --git a/doc/html/search/classes_4.js b/doc/html/search/classes_4.js new file mode 100644 index 00000000..52f66fdd --- /dev/null +++ b/doc/html/search/classes_4.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['led_5fmatrix_5fclock_5fnumber_5ffont_5f3x8_5ftypedef_0',['LED_Matrix_Clock_Number_Font_3x8_TypeDef',['../struct_l_e_d___matrix___clock___number___font__3x8___type_def.html',1,'']]], + ['led_5fmatrix_5ffont_5f6x8_5ftypedef_1',['LED_Matrix_Font_6x8_TypeDef',['../struct_l_e_d___matrix___font__6x8___type_def.html',1,'']]] +]; diff --git a/doc/html/search/classes_5.js b/doc/html/search/classes_5.js new file mode 100644 index 00000000..a67502b8 --- /dev/null +++ b/doc/html/search/classes_5.js @@ -0,0 +1,56 @@ +var searchData= +[ + ['mbotdcmotor_0',['MBotDCMotor',['../class_m_bot_d_c_motor.html',1,'']]], + ['me4button_1',['Me4Button',['../class_me4_button.html',1,'']]], + ['me7segmentdisplay_2',['Me7SegmentDisplay',['../class_me7_segment_display.html',1,'']]], + ['me_5fencoder_5ftype_3',['Me_Encoder_type',['../struct_me___encoder__type.html',1,'']]], + ['mebluetooth_4',['MeBluetooth',['../class_me_bluetooth.html',1,'']]], + ['mebuzzer_5',['MeBuzzer',['../class_me_buzzer.html',1,'']]], + ['mecolor_6',['Mecolor',['../class_mecolor.html',1,'']]], + ['mecolorsensor_7',['MeColorSensor',['../class_me_color_sensor.html',1,'']]], + ['mecompass_8',['MeCompass',['../class_me_compass.html',1,'']]], + ['medcmotor_9',['MeDCMotor',['../class_me_d_c_motor.html',1,'']]], + ['meencodermotor_10',['MeEncoderMotor',['../class_me_encoder_motor.html',1,'']]], + ['meencodernew_11',['MeEncoderNew',['../class_me_encoder_new.html',1,'']]], + ['meencoderonboard_12',['MeEncoderOnBoard',['../class_me_encoder_on_board.html',1,'']]], + ['meflamesensor_13',['MeFlameSensor',['../class_me_flame_sensor.html',1,'']]], + ['megapi_5fdc_5ftype_14',['megapi_dc_type',['../structmegapi__dc__type.html',1,'']]], + ['megapi_5fslot_15',['megaPi_slot',['../structmega_pi__slot.html',1,'']]], + ['megapipro_5fesc_5ftype_16',['megapipro_esc_type',['../structmegapipro__esc__type.html',1,'']]], + ['megassensor_17',['MeGasSensor',['../class_me_gas_sensor.html',1,'']]], + ['megyro_18',['MeGyro',['../class_me_gyro.html',1,'']]], + ['mehostparser_19',['MeHostParser',['../class_me_host_parser.html',1,'']]], + ['mehumiture_20',['MeHumiture',['../class_me_humiture.html',1,'']]], + ['meinfraredreceiver_21',['MeInfraredReceiver',['../class_me_infrared_receiver.html',1,'']]], + ['meir_22',['MeIR',['../class_me_i_r.html',1,'']]], + ['mejoystick_23',['MeJoystick',['../class_me_joystick.html',1,'']]], + ['meledmatrix_24',['MeLEDMatrix',['../class_me_l_e_d_matrix.html',1,'']]], + ['melightsensor_25',['MeLightSensor',['../class_me_light_sensor.html',1,'']]], + ['melimitswitch_26',['MeLimitSwitch',['../class_me_limit_switch.html',1,'']]], + ['melinefollower_27',['MeLineFollower',['../class_me_line_follower.html',1,'']]], + ['memegapidcmotor_28',['MeMegaPiDCMotor',['../class_me_mega_pi_d_c_motor.html',1,'']]], + ['memegapipro4dcmotor_29',['MeMegaPiPro4DcMotor',['../class_me_mega_pi_pro4_dc_motor.html',1,'']]], + ['memegapiproescmotor_30',['MeMegaPiProESCMotor',['../class_me_mega_pi_pro_e_s_c_motor.html',1,'']]], + ['meonboardtemp_31',['MeOnBoardTemp',['../class_me_on_board_temp.html',1,'']]], + ['meonewire_32',['MeOneWire',['../class_me_one_wire.html',1,'']]], + ['mepirmotionsensor_33',['MePIRMotionSensor',['../class_me_p_i_r_motion_sensor.html',1,'']]], + ['mepm25sensor_34',['MePm25Sensor',['../class_me_pm25_sensor.html',1,'']]], + ['meport_35',['MePort',['../class_me_port.html',1,'']]], + ['meport_5fsig_36',['MePort_Sig',['../struct_me_port___sig.html',1,'']]], + ['mepotentiometer_37',['MePotentiometer',['../class_me_potentiometer.html',1,'']]], + ['mepressuresensor_38',['MePressureSensor',['../class_me_pressure_sensor.html',1,'']]], + ['meps2_39',['MePS2',['../class_me_p_s2.html',1,'']]], + ['mergbled_40',['MeRGBLed',['../class_me_r_g_b_led.html',1,'']]], + ['meserial_41',['MeSerial',['../class_me_serial.html',1,'']]], + ['meshutter_42',['MeShutter',['../class_me_shutter.html',1,'']]], + ['mesmartservo_43',['MeSmartServo',['../class_me_smart_servo.html',1,'']]], + ['mesoundsensor_44',['MeSoundSensor',['../class_me_sound_sensor.html',1,'']]], + ['mestepper_45',['MeStepper',['../class_me_stepper.html',1,'']]], + ['mestepperonboard_46',['MeStepperOnBoard',['../class_me_stepper_on_board.html',1,'']]], + ['metemperature_47',['MeTemperature',['../class_me_temperature.html',1,'']]], + ['metouchsensor_48',['MeTouchSensor',['../class_me_touch_sensor.html',1,'']]], + ['meultrasonicsensor_49',['MeUltrasonicSensor',['../class_me_ultrasonic_sensor.html',1,'']]], + ['meusbhost_50',['MeUSBHost',['../class_me_u_s_b_host.html',1,'']]], + ['mevoice_51',['MeVoice',['../class_me_voice.html',1,'']]], + ['mewifi_52',['MeWifi',['../class_me_wifi.html',1,'']]] +]; diff --git a/doc/html/search/classes_6.js b/doc/html/search/classes_6.js new file mode 100644 index 00000000..e473c007 --- /dev/null +++ b/doc/html/search/classes_6.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['pid_5finternal_0',['PID_internal',['../struct_p_i_d__internal.html',1,'']]], + ['pm25datastruct_1',['PM25DATASTRUCT',['../struct_p_m25_d_a_t_a_s_t_r_u_c_t.html',1,'']]], + ['pm25datauino_2',['PM25DATAUINO',['../union_p_m25_d_a_t_a_u_i_n_o.html',1,'']]] +]; diff --git a/doc/html/search/classes_7.js b/doc/html/search/classes_7.js new file mode 100644 index 00000000..3ada01cc --- /dev/null +++ b/doc/html/search/classes_7.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['servo_0',['Servo',['../class_servo.html',1,'']]], + ['servo_5fdevice_5ftype_1',['servo_device_type',['../structservo__device__type.html',1,'']]], + ['servo_5ft_2',['servo_t',['../structservo__t.html',1,'']]], + ['servopin_5ft_3',['ServoPin_t',['../struct_servo_pin__t.html',1,'']]], + ['softwareserial_4',['SoftwareSerial',['../class_software_serial.html',1,'']]], + ['spiclass_5',['SPIClass',['../class_s_p_i_class.html',1,'']]], + ['spisettings_6',['SPISettings',['../class_s_p_i_settings.html',1,'']]], + ['sysex_5fmessage_7',['sysex_message',['../unionsysex__message.html',1,'']]], + ['sysex_5fmessage_5ftype_8',['sysex_message_type',['../structsysex__message__type.html',1,'']]] +]; diff --git a/doc/html/search/classes_8.js b/doc/html/search/classes_8.js new file mode 100644 index 00000000..c9c1af5c --- /dev/null +++ b/doc/html/search/classes_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['twowire_0',['TwoWire',['../class_two_wire.html',1,'']]] +]; diff --git a/doc/html/search/close.svg b/doc/html/search/close.svg new file mode 100644 index 00000000..337d6cc1 --- /dev/null +++ b/doc/html/search/close.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/doc/html/search/enums_0.js b/doc/html/search/enums_0.js new file mode 100644 index 00000000..09eee3fe --- /dev/null +++ b/doc/html/search/enums_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['direction_0',['direction',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa',1,'Direction: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aa',1,'Direction: MeStepperOnBoard.cpp']]] +]; diff --git a/doc/html/search/enumvalues_0.js b/doc/html/search/enumvalues_0.js new file mode 100644 index 00000000..20ec6875 --- /dev/null +++ b/doc/html/search/enumvalues_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['direction_5fccw_0',['direction_ccw',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2',1,'DIRECTION_CCW: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaad8096a357e6a61f6746147d0b19467c2',1,'DIRECTION_CCW: MeStepperOnBoard.cpp']]], + ['direction_5fcw_1',['direction_cw',['../_me_stepper_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6',1,'DIRECTION_CW: MeStepper.cpp'],['../_me_stepper_on_board_8cpp.html#a224b9163917ac32fc95a60d8c1eec3aaa0f98509d24ebeef4508c20b9d8bfa0a6',1,'DIRECTION_CW: MeStepperOnBoard.cpp']]] +]; diff --git a/doc/html/search/files_0.js b/doc/html/search/files_0.js new file mode 100644 index 00000000..fd3c1f1c --- /dev/null +++ b/doc/html/search/files_0.js @@ -0,0 +1,104 @@ +var searchData= +[ + ['me4button_2ecpp_0',['Me4Button.cpp',['../_me4_button_8cpp.html',1,'']]], + ['me4button_2eh_1',['Me4Button.h',['../_me4_button_8h.html',1,'']]], + ['me7segmentdisplay_2ecpp_2',['Me7SegmentDisplay.cpp',['../_me7_segment_display_8cpp.html',1,'']]], + ['me7segmentdisplay_2eh_3',['Me7SegmentDisplay.h',['../_me7_segment_display_8h.html',1,'']]], + ['meauriga_2eh_4',['MeAuriga.h',['../_me_auriga_8h.html',1,'']]], + ['mebaseboard_2eh_5',['MeBaseBoard.h',['../_me_base_board_8h.html',1,'']]], + ['mebluetooth_2ecpp_6',['MeBluetooth.cpp',['../_me_bluetooth_8cpp.html',1,'']]], + ['mebluetooth_2eh_7',['MeBluetooth.h',['../_me_bluetooth_8h.html',1,'']]], + ['mebuzzer_2ecpp_8',['MeBuzzer.cpp',['../_me_buzzer_8cpp.html',1,'']]], + ['mebuzzer_2eh_9',['MeBuzzer.h',['../_me_buzzer_8h.html',1,'']]], + ['mecolorsensor_2ecpp_10',['MeColorSensor.cpp',['../_me_color_sensor_8cpp.html',1,'']]], + ['mecolorsensor_2eh_11',['MeColorSensor.h',['../_me_color_sensor_8h.html',1,'']]], + ['mecompass_2ecpp_12',['MeCompass.cpp',['../_me_compass_8cpp.html',1,'']]], + ['mecompass_2eh_13',['MeCompass.h',['../_me_compass_8h.html',1,'']]], + ['meconfig_2eh_14',['MeConfig.h',['../_me_config_8h.html',1,'']]], + ['medcmotor_2ecpp_15',['MeDCMotor.cpp',['../_me_d_c_motor_8cpp.html',1,'']]], + ['medcmotor_2eh_16',['MeDCMotor.h',['../_me_d_c_motor_8h.html',1,'']]], + ['meeeprom_2eh_17',['MeEEPROM.h',['../_me_e_e_p_r_o_m_8h.html',1,'']]], + ['meencodermotor_2ecpp_18',['MeEncoderMotor.cpp',['../_me_encoder_motor_8cpp.html',1,'']]], + ['meencodermotor_2eh_19',['MeEncoderMotor.h',['../_me_encoder_motor_8h.html',1,'']]], + ['meencodernew_2ecpp_20',['MeEncoderNew.cpp',['../_me_encoder_new_8cpp.html',1,'']]], + ['meencodernew_2eh_21',['MeEncoderNew.h',['../_me_encoder_new_8h.html',1,'']]], + ['meencoderonboard_2ecpp_22',['MeEncoderOnBoard.cpp',['../_me_encoder_on_board_8cpp.html',1,'']]], + ['meencoderonboard_2eh_23',['MeEncoderOnBoard.h',['../_me_encoder_on_board_8h.html',1,'']]], + ['meflamesensor_2ecpp_24',['MeFlameSensor.cpp',['../_me_flame_sensor_8cpp.html',1,'']]], + ['meflamesensor_2eh_25',['MeFlameSensor.h',['../_me_flame_sensor_8h.html',1,'']]], + ['megassensor_2ecpp_26',['MeGasSensor.cpp',['../_me_gas_sensor_8cpp.html',1,'']]], + ['megassensor_2eh_27',['MeGasSensor.h',['../_me_gas_sensor_8h.html',1,'']]], + ['megyro_2ecpp_28',['MeGyro.cpp',['../_me_gyro_8cpp.html',1,'']]], + ['megyro_2eh_29',['MeGyro.h',['../_me_gyro_8h.html',1,'']]], + ['mehostparser_2ecpp_30',['MeHostParser.cpp',['../_me_host_parser_8cpp.html',1,'']]], + ['mehostparser_2eh_31',['MeHostParser.h',['../_me_host_parser_8h.html',1,'']]], + ['mehumituresensor_2ecpp_32',['MeHumitureSensor.cpp',['../_me_humiture_sensor_8cpp.html',1,'']]], + ['mehumituresensor_2eh_33',['MeHumitureSensor.h',['../_me_humiture_sensor_8h.html',1,'']]], + ['meinfraredreceiver_2ecpp_34',['MeInfraredReceiver.cpp',['../_me_infrared_receiver_8cpp.html',1,'']]], + ['meinfraredreceiver_2eh_35',['MeInfraredReceiver.h',['../_me_infrared_receiver_8h.html',1,'']]], + ['meir_2ecpp_36',['MeIR.cpp',['../_me_i_r_8cpp.html',1,'']]], + ['meir_2eh_37',['MeIR.h',['../_me_i_r_8h.html',1,'']]], + ['mejoystick_2ecpp_38',['MeJoystick.cpp',['../_me_joystick_8cpp.html',1,'']]], + ['mejoystick_2eh_39',['MeJoystick.h',['../_me_joystick_8h.html',1,'']]], + ['meledmatrix_2ecpp_40',['MeLEDMatrix.cpp',['../_me_l_e_d_matrix_8cpp.html',1,'']]], + ['meledmatrix_2eh_41',['MeLEDMatrix.h',['../_me_l_e_d_matrix_8h.html',1,'']]], + ['meledmatrixdata_2eh_42',['MeLEDMatrixData.h',['../_me_l_e_d_matrix_data_8h.html',1,'']]], + ['melightsensor_2ecpp_43',['MeLightSensor.cpp',['../_me_light_sensor_8cpp.html',1,'']]], + ['melightsensor_2eh_44',['MeLightSensor.h',['../_me_light_sensor_8h.html',1,'']]], + ['melimitswitch_2ecpp_45',['MeLimitSwitch.cpp',['../_me_limit_switch_8cpp.html',1,'']]], + ['melimitswitch_2eh_46',['MeLimitSwitch.h',['../_me_limit_switch_8h.html',1,'']]], + ['melinefollower_2ecpp_47',['MeLineFollower.cpp',['../_me_line_follower_8cpp.html',1,'']]], + ['melinefollower_2eh_48',['MeLineFollower.h',['../_me_line_follower_8h.html',1,'']]], + ['membotdcmotor_2ecpp_49',['MeMbotDCMotor.cpp',['../_me_mbot_d_c_motor_8cpp.html',1,'']]], + ['membotdcmotor_2eh_50',['MeMbotDCMotor.h',['../_me_mbot_d_c_motor_8h.html',1,'']]], + ['memcore_2eh_51',['MeMCore.h',['../_me_m_core_8h.html',1,'']]], + ['memegapi_2eh_52',['MeMegaPi.h',['../_me_mega_pi_8h.html',1,'']]], + ['memegapidcmotor_2ecpp_53',['MeMegaPiDCMotor.cpp',['../_me_mega_pi_d_c_motor_8cpp.html',1,'']]], + ['memegapidcmotor_2eh_54',['MeMegaPiDCMotor.h',['../_me_mega_pi_d_c_motor_8h.html',1,'']]], + ['memegapipro_2eh_55',['MeMegaPiPro.h',['../_me_mega_pi_pro_8h.html',1,'']]], + ['memegapipro4dcmotor_2ecpp_56',['MeMegaPiPro4DcMotor.cpp',['../_me_mega_pi_pro4_dc_motor_8cpp.html',1,'']]], + ['memegapipro4dcmotor_2eh_57',['MeMegaPiPro4DcMotor.h',['../_me_mega_pi_pro4_dc_motor_8h.html',1,'']]], + ['memegapiproescmotor_2ecpp_58',['MeMegaPiProESCMotor.cpp',['../_me_mega_pi_pro_e_s_c_motor_8cpp.html',1,'']]], + ['memegapiproescmotor_2eh_59',['MeMegaPiProESCMotor.h',['../_me_mega_pi_pro_e_s_c_motor_8h.html',1,'']]], + ['meonboardtemp_2ecpp_60',['MeOnBoardTemp.cpp',['../_me_on_board_temp_8cpp.html',1,'']]], + ['meonboardtemp_2eh_61',['MeOnBoardTemp.h',['../_me_on_board_temp_8h.html',1,'']]], + ['meonewire_2ecpp_62',['MeOneWire.cpp',['../_me_one_wire_8cpp.html',1,'']]], + ['meonewire_2eh_63',['MeOneWire.h',['../_me_one_wire_8h.html',1,'']]], + ['meorion_2eh_64',['MeOrion.h',['../_me_orion_8h.html',1,'']]], + ['mepirmotionsensor_2ecpp_65',['MePIRMotionSensor.cpp',['../_me_p_i_r_motion_sensor_8cpp.html',1,'']]], + ['mepirmotionsensor_2eh_66',['MePIRMotionSensor.h',['../_me_p_i_r_motion_sensor_8h.html',1,'']]], + ['mepm25sensor_2ecpp_67',['MePm25Sensor.cpp',['../_me_pm25_sensor_8cpp.html',1,'']]], + ['mepm25sensor_2eh_68',['MePm25Sensor.h',['../_me_pm25_sensor_8h.html',1,'']]], + ['meport_2ecpp_69',['MePort.cpp',['../_me_port_8cpp.html',1,'']]], + ['meport_2eh_70',['MePort.h',['../_me_port_8h.html',1,'']]], + ['mepotentiometer_2ecpp_71',['MePotentiometer.cpp',['../_me_potentiometer_8cpp.html',1,'']]], + ['mepotentiometer_2eh_72',['MePotentiometer.h',['../_me_potentiometer_8h.html',1,'']]], + ['meps2_2ecpp_73',['MePS2.cpp',['../_me_p_s2_8cpp.html',1,'']]], + ['meps2_2eh_74',['MePS2.h',['../_me_p_s2_8h.html',1,'']]], + ['mergbled_2ecpp_75',['MeRGBLed.cpp',['../_me_r_g_b_led_8cpp.html',1,'']]], + ['mergbled_2eh_76',['MeRGBLed.h',['../_me_r_g_b_led_8h.html',1,'']]], + ['meserial_2ecpp_77',['MeSerial.cpp',['../_me_serial_8cpp.html',1,'']]], + ['meserial_2eh_78',['MeSerial.h',['../_me_serial_8h.html',1,'']]], + ['meshield_2eh_79',['MeShield.h',['../_me_shield_8h.html',1,'']]], + ['meshutter_2ecpp_80',['MeShutter.cpp',['../_me_shutter_8cpp.html',1,'']]], + ['meshutter_2eh_81',['MeShutter.h',['../_me_shutter_8h.html',1,'']]], + ['mesmartservo_2ecpp_82',['MeSmartServo.cpp',['../_me_smart_servo_8cpp.html',1,'']]], + ['mesmartservo_2eh_83',['MeSmartServo.h',['../_me_smart_servo_8h.html',1,'']]], + ['mesoundsensor_2ecpp_84',['MeSoundSensor.cpp',['../_me_sound_sensor_8cpp.html',1,'']]], + ['mestepper_2ecpp_85',['MeStepper.cpp',['../_me_stepper_8cpp.html',1,'']]], + ['mestepper_2eh_86',['MeStepper.h',['../_me_stepper_8h.html',1,'']]], + ['mestepperonboard_2ecpp_87',['MeStepperOnBoard.cpp',['../_me_stepper_on_board_8cpp.html',1,'']]], + ['mestepperonboard_2eh_88',['MeStepperOnBoard.h',['../_me_stepper_on_board_8h.html',1,'']]], + ['metemperature_2ecpp_89',['MeTemperature.cpp',['../_me_temperature_8cpp.html',1,'']]], + ['metemperature_2eh_90',['MeTemperature.h',['../_me_temperature_8h.html',1,'']]], + ['metouchsensor_2ecpp_91',['MeTouchSensor.cpp',['../_me_touch_sensor_8cpp.html',1,'']]], + ['metouchsensor_2eh_92',['MeTouchSensor.h',['../_me_touch_sensor_8h.html',1,'']]], + ['meultrasonicsensor_2ecpp_93',['MeUltrasonicSensor.cpp',['../_me_ultrasonic_sensor_8cpp.html',1,'']]], + ['meultrasonicsensor_2eh_94',['MeUltrasonicSensor.h',['../_me_ultrasonic_sensor_8h.html',1,'']]], + ['meusbhost_2ecpp_95',['MeUSBHost.cpp',['../_me_u_s_b_host_8cpp.html',1,'']]], + ['meusbhost_2eh_96',['MeUSBHost.h',['../_me_u_s_b_host_8h.html',1,'']]], + ['mevoice_2ecpp_97',['MeVoice.cpp',['../_me_voice_8cpp.html',1,'']]], + ['mevoice_2eh_98',['MeVoice.h',['../_me_voice_8h.html',1,'']]], + ['mewifi_2ecpp_99',['MeWifi.cpp',['../_me_wifi_8cpp.html',1,'']]], + ['mewifi_2eh_100',['MeWifi.h',['../_me_wifi_8h.html',1,'']]] +]; diff --git a/doc/html/search/functions_0.js b/doc/html/search/functions_0.js new file mode 100644 index 00000000..44d5af3c --- /dev/null +++ b/doc/html/search/functions_0.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['angle_0',['angle',['../class_me_joystick.html#ae6ce1a51a3023c9017a560de91497adf',1,'MeJoystick']]], + ['aread1_1',['aRead1',['../class_me_port.html#acfd28b1ab8cc6af5bf8223446022525c',1,'MePort']]], + ['aread2_2',['aRead2',['../class_me_port.html#a63709dcbe9850c0d3baec1fed72809bf',1,'MePort']]], + ['askfordata_3',['askForData',['../class_me_pm25_sensor.html#abcec24407e3cbc74c6e47ca2abdd082a',1,'MePm25Sensor']]], + ['assigndevidrequest_4',['assignDevIdRequest',['../class_me_smart_servo.html#ad416c90e90bffb8e56caa8d79fe2d473',1,'MeSmartServo']]], + ['assigndevidresponse_5',['assignDevIdResponse',['../class_me_smart_servo.html#a5b6fa025da9977cba9212b64988acb2a',1,'MeSmartServo']]], + ['available_6',['available',['../class_me_serial.html#a4b784a1b24df5e06f208d697e9e1ed3f',1,'MeSerial']]], + ['awrite1_7',['aWrite1',['../class_me_port.html#adb4d7959f2059bf9986a8e5a631988ae',1,'MePort']]], + ['awrite2_8',['aWrite2',['../class_me_port.html#a3834f0f30618ec31789d524dd367e44f',1,'MePort']]] +]; diff --git a/doc/html/search/functions_1.js b/doc/html/search/functions_1.js new file mode 100644 index 00000000..d824b9a2 --- /dev/null +++ b/doc/html/search/functions_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['begin_0',['begin',['../class_me_compass.html#aa514632f78e2095ee341e146789cc6b3',1,'MeCompass::begin()'],['../class_me_encoder_motor.html#aeda692228687464c10a47f279b682d53',1,'MeEncoderMotor::begin()'],['../class_me_encoder_new.html#a7502d17074b0de59a44406f1c67aa1fa',1,'MeEncoderNew::begin()'],['../class_me_gyro.html#ae12dbf32cc840e0d734dc813d1d3b8cc',1,'MeGyro::begin()'],['../class_me_infrared_receiver.html#ac25056e96b50a1bf16c05eedbfeaaf78',1,'MeInfraredReceiver::begin()'],['../class_me_i_r.html#aa307ef91b7d762ea970e54dba32a161c',1,'MeIR::begin()'],['../class_me_serial.html#a2e491a6206475d8d254a785043e0de22',1,'MeSerial::begin()'],['../class_me_voice.html#a54a988d062a82fa0514a2c268043bf7c',1,'MeVoice::begin()']]], + ['buttonpressed_1',['ButtonPressed',['../class_me_p_s2.html#af6995881e6754c128b4b978f378f2ef7',1,'MePS2']]], + ['buttonstate_2',['buttonState',['../class_me_infrared_receiver.html#a85d4066f35e6838f24e6d3f23a5236a1',1,'MeInfraredReceiver']]] +]; diff --git a/doc/html/search/functions_10.js b/doc/html/search/functions_10.js new file mode 100644 index 00000000..191ec749 --- /dev/null +++ b/doc/html/search/functions_10.js @@ -0,0 +1,64 @@ +var searchData= +[ + ['search_0',['search',['../class_me_one_wire.html#a2d48b3c80326da96b627f7dc15ad1b56',1,'MeOneWire']]], + ['select_1',['select',['../class_me_one_wire.html#afa0cc28fb5fec3b805cc7eeb955ae8d3',1,'MeOneWire']]], + ['sendbyte_2',['sendByte',['../class_me_smart_servo.html#a412e124ef188a4937ea6d4648724ae96',1,'MeSmartServo']]], + ['sendfloat_3',['sendFloat',['../class_me_smart_servo.html#a68d970c3f3634048cf85d31ee5475c86',1,'MeSmartServo']]], + ['sendlong_4',['sendLong',['../class_me_smart_servo.html#a640143e57999486cf952f8184ecdadbf',1,'MeSmartServo']]], + ['sendnec_5',['sendNEC',['../class_me_i_r.html#abc9e6b20f70767186f9b9f849785bef7',1,'MeIR']]], + ['sendraw_6',['sendRaw',['../class_me_i_r.html#a1e24ad12d0d40449977f708748396438',1,'MeIR']]], + ['sendshort_7',['sendShort',['../class_me_smart_servo.html#acf5bd557ed6e873d6832b765bc1ebdbc',1,'MeSmartServo']]], + ['sendstring_8',['sendstring',['../class_me_i_r.html#ac16817f96bbdf3c065db67056b753b7e',1,'MeIR::sendString(String s)'],['../class_me_i_r.html#a3994b9b4bb24d8f69d1582a6289604ce',1,'MeIR::sendString(float v)'],['../class_me_serial.html#ab4d91285ca3d044f73793137cc1ff3cd',1,'MeSerial::sendString()']]], + ['sensorinit_9',['SensorInit',['../class_me_color_sensor.html#a1efe278e3a311adc4239a8ca9042447c',1,'MeColorSensor']]], + ['set_10',['set',['../class_me7_segment_display.html#a761c4852237699b3504f901c3a30166c',1,'Me7SegmentDisplay']]], + ['setacceleration_11',['setacceleration',['../class_me_stepper.html#ac9ed9b7961f4812b4cb3455aa0987f64',1,'MeStepper::setAcceleration()'],['../class_me_stepper_on_board.html#a568dff526477425da5dd7640dd6f8dca',1,'MeStepperOnBoard::setAcceleration()']]], + ['setaddr_12',['setAddr',['../class_me_encoder_new.html#a6bf91a91af5bde030d9656e3314d0c96',1,'MeEncoderNew']]], + ['setbreak_13',['setBreak',['../class_me_smart_servo.html#ae7e58107842eb0c2d13596c99d0e8838',1,'MeSmartServo']]], + ['setbrightness_14',['setbrightness',['../class_me7_segment_display.html#a7761bf8b50f0a91a3c2b27b1230b1132',1,'Me7SegmentDisplay::setBrightness()'],['../class_me_l_e_d_matrix.html#af0a710afc6c9314faf92b17484d8b89f',1,'MeLEDMatrix::setBrightness()']]], + ['setcolor_15',['setcolor',['../class_me_r_g_b_led.html#ab7a91e9e4cfe48f1f38bd6ca25953834',1,'MeRGBLed::setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)'],['../class_me_r_g_b_led.html#a921b6b54e13ffcb8b4d55a830d6cd28e',1,'MeRGBLed::setColor(uint8_t red, uint8_t green, uint8_t blue)'],['../class_me_r_g_b_led.html#a04c16004bb6035a004eb5b8042f4aa14',1,'MeRGBLed::setColor(uint8_t index, long value)']]], + ['setcolorat_16',['setColorAt',['../class_me_r_g_b_led.html#a31f967cfa254d0943b5712925dc381b8',1,'MeRGBLed']]], + ['setcolorindex_17',['setColorIndex',['../class_me_l_e_d_matrix.html#ac32458aff39a381c5b4600fa3cb731ed',1,'MeLEDMatrix']]], + ['setcoreefficient_18',['setCoreEfficient',['../class_me_pm25_sensor.html#aa25fb8cdc6c8ea19f5d8495a3844fb42',1,'MePm25Sensor']]], + ['setcoreselftesttime_19',['setCoreSelfTestTime',['../class_me_pm25_sensor.html#a59a38b9cfb0a6145308dfef3a73db42e',1,'MePm25Sensor']]], + ['setcurrentposition_20',['setcurrentposition',['../class_me_encoder_new.html#a36caaf02601282f0a5543c1f115bca15',1,'MeEncoderNew::setCurrentPosition()'],['../class_me_stepper.html#a3a3a66d03b75a43d6f33cf5cfcfe63ca',1,'MeStepper::setCurrentPosition()'],['../class_me_stepper_on_board.html#af8e05271185ffe7c3bd520c8483d930d',1,'MeStepperOnBoard::setCurrentPosition()']]], + ['setcurrentspeed_21',['setCurrentSpeed',['../class_me_encoder_on_board.html#a27ca91cfa7df12a997db8a0eb04ab536',1,'MeEncoderOnBoard']]], + ['setdevid_22',['setDevid',['../class_me_encoder_new.html#a800797c599c551731a65225f459a076a',1,'MeEncoderNew']]], + ['sethardware_23',['setHardware',['../class_me_serial.html#a73dde79161f876956fd6d070f14510d3',1,'MeSerial']]], + ['setinitangle_24',['setInitAngle',['../class_me_smart_servo.html#aedb7c0b2bba4e771865752acdae65b0d',1,'MeSmartServo']]], + ['setmaxspeed_25',['setmaxspeed',['../class_me_stepper.html#a5bbeb502699499f95116ba48ee690978',1,'MeStepper::setMaxSpeed()'],['../class_me_stepper_on_board.html#ab8d690efadd05acd2f453989990872b5',1,'MeStepperOnBoard::setMaxSpeed(float speed)']]], + ['setmicrostep_26',['setMicroStep',['../class_me_stepper_on_board.html#a8cb61d386f7b800f1a2f752c46cfff54',1,'MeStepperOnBoard']]], + ['setmode_27',['setMode',['../class_me_encoder_new.html#a8a54a728b9077dcd0e95a0277d54fcb3',1,'MeEncoderNew']]], + ['setmotionmode_28',['setMotionMode',['../class_me_encoder_on_board.html#a0d5dc8c4a9c36dbd02236ab2358a37dd',1,'MeEncoderOnBoard']]], + ['setmotorpwm_29',['setMotorPwm',['../class_me_encoder_on_board.html#a35f9d7b4962ff8b1ed1db67896c4ed0e',1,'MeEncoderOnBoard']]], + ['setnumber_30',['setNumber',['../class_me_r_g_b_led.html#ac80f183e41fb3d860ac7100e0639390f',1,'MeRGBLed']]], + ['setouputcompatibility_31',['setOuputCompatibility',['../class_me_pm25_sensor.html#af061f8c09a9e3bfb4509f7f8cb6b59c6',1,'MePm25Sensor']]], + ['setoutputintimeperiod_32',['setOutputIntimePeriod',['../class_me_pm25_sensor.html#ac126c70ddc9816cac9eedbb9b4387c33',1,'MePm25Sensor']]], + ['setpin_33',['setpin',['../class_me4_button.html#a810aabfe9b826610c16d53a6506e7fcb',1,'Me4Button::setpin()'],['../class_me7_segment_display.html#a76d0b14ce4e0146ab1620dd462014caa',1,'Me7SegmentDisplay::setpin()'],['../class_me_buzzer.html#a5b6bba509b80d4239b1480822f2737dc',1,'MeBuzzer::setpin()'],['../class_me_compass.html#acb63b0ff0fdfb216718b827f66f2915e',1,'MeCompass::setpin()'],['../class_me_d_c_motor.html#a3ed0c7598287a9dce9725e0cfd96069d',1,'MeDCMotor::setpin()'],['../class_me_flame_sensor.html#a42b0282962ea9afea2d2b0d4bbdb1ce4',1,'MeFlameSensor::setpin()'],['../class_me_gas_sensor.html#abd9b50c545276fa6b1b357083de5c5e4',1,'MeGasSensor::setpin()'],['../class_me_gyro.html#ac183cec71c6d840b7c5d651d025e02ca',1,'MeGyro::setpin()'],['../class_me_humiture.html#a3d96abbe15a836cfae534ec67f908f85',1,'MeHumiture::setpin()'],['../class_me_joystick.html#a250f11087c929f5e892b5670f5fdb7d4',1,'MeJoystick::setpin()'],['../class_me_light_sensor.html#a9b4ca3d8caf6c4dcc2de651dddb37ce6',1,'MeLightSensor::setpin()'],['../class_me_limit_switch.html#aa212ebf1bcdb0940c7b31d0d4db23cd4',1,'MeLimitSwitch::setpin()'],['../class_me_line_follower.html#aafb9c399cf49bd9877ba9d19d3f55922',1,'MeLineFollower::setpin()'],['../class_me_mega_pi_d_c_motor.html#a8d46dbfbce3b5f38622eb6f3febd4feb',1,'MeMegaPiDCMotor::setpin()'],['../class_me_mega_pi_pro4_dc_motor.html#a7dedce5958822fbb8c28bb5867357c80',1,'MeMegaPiPro4DcMotor::setpin()'],['../class_me_mega_pi_pro_e_s_c_motor.html#aed9f1a9466a577ec01330e3f1759f3f4',1,'MeMegaPiProESCMotor::setpin()'],['../class_me_on_board_temp.html#a8df6de600f2a4d781d52de951712d641',1,'MeOnBoardTemp::setpin()'],['../class_me_p_i_r_motion_sensor.html#a413ff73fcb8fbe86fe36c0197bc64626',1,'MePIRMotionSensor::setpin()'],['../class_me_potentiometer.html#aeab20b74c2e17d9c150a1d102a0c5df4',1,'MePotentiometer::setpin()'],['../class_me_r_g_b_led.html#a8dfb56420333855fee707db26ede3b7e',1,'MeRGBLed::setpin()'],['../class_me_shutter.html#a2fc368db549be0ae724d60095512c53f',1,'MeShutter::setpin()'],['../class_me_stepper.html#a4ca8dff894ce12f5639afbc276345435',1,'MeStepper::setpin()'],['../class_me_stepper_on_board.html#a881cf1984ee0cfcb773b5ab6265c40cf',1,'MeStepperOnBoard::setpin()'],['../class_me_temperature.html#a4b6942b8b6c171c9b105d6e9f33dfcf8',1,'MeTemperature::setpin()'],['../class_me_touch_sensor.html#ac456229aced293ccdbea89a2e0d9dfc5',1,'MeTouchSensor::setpin()'],['../class_me_ultrasonic_sensor.html#aebf1069f210e0dcd0a8d8d44e9810f63',1,'MeUltrasonicSensor::setpin()']]], + ['setpirmotionmode_34',['SetPirMotionMode',['../class_me_p_i_r_motion_sensor.html#aa7aa0020adee8562ff4ae2c7b84fd8de',1,'MePIRMotionSensor']]], + ['setpospid_35',['setpospid',['../class_me_encoder_on_board.html#ae8203fd1090bd08ccf2612642d6bb8e7',1,'MeEncoderOnBoard::setPosPid()'],['../class_me_encoder_new.html#a7314cbf995b8b11fc954d12f96302fe5',1,'MeEncoderNew::setPosPID(float p, float i, float d)']]], + ['setpulse_36',['setpulse',['../class_me_encoder_new.html#a658cae48c69e374ee22d29fd54b8f5ab',1,'MeEncoderNew::setPulse()'],['../class_me_encoder_on_board.html#af1e72c2e0a40b0e8819adb4f3eef42dd',1,'MeEncoderOnBoard::setPulse(int16_t pulseValue)']]], + ['setpulsepos_37',['setPulsePos',['../class_me_encoder_on_board.html#a3fff87c540573fc74038bcf809dc311e',1,'MeEncoderOnBoard']]], + ['setpwm_38',['setPWM',['../class_me_encoder_new.html#ad642ecd7bbb1015d5dab74ffce7b3b04',1,'MeEncoderNew']]], + ['setpwmmove_39',['setPwmMove',['../class_me_smart_servo.html#a6117a6fdeb20a0da8310be42011f699e',1,'MeSmartServo']]], + ['setratio_40',['setratio',['../class_me_encoder_new.html#a033ffc24a1a7c2ea2bba48afb86b9ee2',1,'MeEncoderNew::setRatio()'],['../class_me_encoder_on_board.html#ab144dd43024fd80fbb251938f50adff6',1,'MeEncoderOnBoard::setRatio()']]], + ['setrgbled_41',['setRGBLed',['../class_me_smart_servo.html#a2ba807a9e25bf953e83f22e1f862edc9',1,'MeSmartServo']]], + ['setspeed_42',['setspeed',['../class_me_encoder_on_board.html#a9aff7dfc02978f6d066cbd24ce0687b3',1,'MeEncoderOnBoard::setSpeed()'],['../class_me_stepper.html#aa938e51919218e49bfc89b95e1bff27a',1,'MeStepper::setSpeed()'],['../class_me_stepper_on_board.html#a61eea9139c60f539c7e439676d819ba0',1,'MeStepperOnBoard::setSpeed()']]], + ['setspeedpid_43',['setspeedpid',['../class_me_encoder_on_board.html#a5a668410ea2407e80627998161c7452d',1,'MeEncoderOnBoard::setSpeedPid()'],['../class_me_encoder_new.html#ab6575651faefb9e22c73305d79655c76',1,'MeEncoderNew::setSpeedPID()']]], + ['setstate_44',['setState',['../class_me_shutter.html#a1426ff39c1754dbfd32655c4b73f61ed',1,'MeShutter']]], + ['settarpwm_45',['setTarPWM',['../class_me_encoder_on_board.html#a5a5e69839bf4e35865e4c31d443a9d7f',1,'MeEncoderOnBoard']]], + ['settogmode_46',['SetTogMode',['../class_me_touch_sensor.html#a1518fb0549ecf88e4d7060026563ecc6',1,'MeTouchSensor']]], + ['setzero_47',['setZero',['../class_me_smart_servo.html#ab86b0e9279876f94f28120aaa36c9429',1,'MeSmartServo']]], + ['shotoff_48',['shotOff',['../class_me_shutter.html#a600e6f23491519772a16044c93691852',1,'MeShutter']]], + ['shoton_49',['shotOn',['../class_me_shutter.html#a44766a55c3bd837d77de4af19ec844f7',1,'MeShutter']]], + ['show_50',['show',['../class_me_r_g_b_led.html#ac3d66e93ecd6dadc953d71e24728c26a',1,'MeRGBLed']]], + ['showclock_51',['showClock',['../class_me_l_e_d_matrix.html#ae34d06e56a00bd8d1de86a9b500941a6',1,'MeLEDMatrix']]], + ['shownum_52',['showNum',['../class_me_l_e_d_matrix.html#ae2cd6f8f1b7b2077b49a4d05f7af1b79',1,'MeLEDMatrix']]], + ['skip_53',['skip',['../class_me_one_wire.html#adf1fe69dac4bda2511ce613c0e51d1cf',1,'MeOneWire']]], + ['smartservocmdresponse_54',['smartServoCmdResponse',['../class_me_smart_servo.html#a9576044532f0ca58cf8d554e9f31cacf',1,'MeSmartServo']]], + ['smartservoeventhandle_55',['smartServoEventHandle',['../class_me_smart_servo.html#a24f968f6117983c8c17bfbecc53793b6',1,'MeSmartServo']]], + ['space_56',['space',['../class_me_i_r.html#adeca6211b7bc6c3e0825087c3165abc0',1,'MeIR']]], + ['speed_57',['speed',['../class_me_stepper.html#aebc944454624fecb1c1d676a08990f08',1,'MeStepper::speed()'],['../class_me_stepper_on_board.html#aa7bd0bc1c0dd3a147398ec654b4cf8ac',1,'MeStepperOnBoard::speed()']]], + ['speedwithoutpos_58',['speedWithoutPos',['../class_me_encoder_on_board.html#a3296a20f1c19ff9c3f6721e5c1a4f0e2',1,'MeEncoderOnBoard']]], + ['step_59',['step',['../class_me_stepper.html#a5dd329462fb6ca6421790f2fed2024ae',1,'MeStepper::step()'],['../class_me_stepper_on_board.html#a2df202c7c7cf5a72c200e4063555cb97',1,'MeStepperOnBoard::step()']]], + ['stop_60',['stop',['../class_me_d_c_motor.html#ac96a250d77ab11c1db0f15592e98be03',1,'MeDCMotor::stop()'],['../class_me_mega_pi_d_c_motor.html#a1df48e25908553976462a4d0e4413eda',1,'MeMegaPiDCMotor::stop()'],['../class_me_mega_pi_pro4_dc_motor.html#afd87d1eda99dbde9a1a2223777b9b520',1,'MeMegaPiPro4DcMotor::stop()'],['../class_me_mega_pi_pro_e_s_c_motor.html#ad270cf24ae74e70c946094a0fe86f6ee',1,'MeMegaPiProESCMotor::stop()']]] +]; diff --git a/doc/html/search/functions_11.js b/doc/html/search/functions_11.js new file mode 100644 index 00000000..6458e66b --- /dev/null +++ b/doc/html/search/functions_11.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['target_5fsearch_0',['target_search',['../class_me_one_wire.html#a72274992cccec07f9ee20525edcd7208',1,'MeOneWire']]], + ['targetposition_1',['targetposition',['../class_me_stepper.html#a48397cd52c4edf5d5c4c8b23df4f86de',1,'MeStepper::targetPosition()'],['../class_me_stepper_on_board.html#a2ad468c8d4083b29aa445d8ee516a16b',1,'MeStepperOnBoard::targetPosition()']]], + ['temperature_2',['temperature',['../class_me_temperature.html#a8dbbe2ee926c8a957c433c99d508563b',1,'MeTemperature']]], + ['testconnection_3',['testConnection',['../class_me_compass.html#a20480fba91e33e557ffb210ff06681d6',1,'MeCompass']]], + ['tone_4',['tone',['../class_me_buzzer.html#abac0ae73dab72895c956f2f11ca032ac',1,'MeBuzzer::tone(int pin, uint16_t frequency, uint32_t duration)'],['../class_me_buzzer.html#aa412cf2bc1512c389f4d729037e16ed0',1,'MeBuzzer::tone(uint16_t frequency, uint32_t duration=0)']]], + ['touched_5',['touched',['../class_me_limit_switch.html#ab2be1e59342778f68be708ed45e40496',1,'MeLimitSwitch::touched()'],['../class_me_touch_sensor.html#a859d24b3f023a2eaf4b2a87ca5c11768',1,'MeTouchSensor::touched()']]], + ['turnofffanlaser_6',['turnOffFanLaser',['../class_me_pm25_sensor.html#ae2c91a85f42874ba1f9a4b2cc985ad24',1,'MePm25Sensor']]], + ['turnofflight_7',['TurnOffLight',['../class_me_color_sensor.html#ab686f3e727861bc47ddbabb914f9c3a1',1,'MeColorSensor']]], + ['turnoffmodule_8',['TurnOffmodule',['../class_me_color_sensor.html#a836878156e0d4b820b92769cd5df50f5',1,'MeColorSensor']]], + ['turnonfanlaser_9',['turnOnFanLaser',['../class_me_pm25_sensor.html#a15457eb6a96687f86ed148e593a94a33',1,'MePm25Sensor']]], + ['turnonlight_10',['TurnOnLight',['../class_me_color_sensor.html#a51c9c3cbcd5af42ec1f3fac7b4bf3818',1,'MeColorSensor']]], + ['turnonmodule_11',['TurnOnmodule',['../class_me_color_sensor.html#a50a015a94ddab045cde3536a1f9bce44',1,'MeColorSensor']]] +]; diff --git a/doc/html/search/functions_12.js b/doc/html/search/functions_12.js new file mode 100644 index 00000000..2f4365f1 --- /dev/null +++ b/doc/html/search/functions_12.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['update_0',['update',['../class_me_gyro.html#a85373ad8f4764f9ab9cd0d880fb8dd19',1,'MeGyro::update()'],['../class_me_humiture.html#aa407c9adbdefaab8cf419d9748a11e56',1,'MeHumiture::update()'],['../class_me_stepper_on_board.html#a1f6128e6d2943f70fd9431a0df08fa01',1,'MeStepperOnBoard::update()']]], + ['updatecurpos_1',['updateCurPos',['../class_me_encoder_on_board.html#ad4df58c9cbc5646df9223e7560857bec',1,'MeEncoderOnBoard']]], + ['updatespeed_2',['updateSpeed',['../class_me_encoder_on_board.html#a7edaebc0c6aa631955d20cf7923e57f2',1,'MeEncoderOnBoard']]] +]; diff --git a/doc/html/search/functions_13.js b/doc/html/search/functions_13.js new file mode 100644 index 00000000..54e9fced --- /dev/null +++ b/doc/html/search/functions_13.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['write_0',['write',['../class_me7_segment_display.html#a4b5cfc6eea577542021edf8f812bff2f',1,'Me7SegmentDisplay::write(uint8_t SegData[])'],['../class_me7_segment_display.html#a1057d40d5daa2f12170c95be7412bdb8',1,'Me7SegmentDisplay::write(uint8_t BitAddr, uint8_t SegData)'],['../class_me_one_wire.html#a50f690ef7f97a23844da2b89e78232d7',1,'MeOneWire::write()'],['../class_me_serial.html#ad28782e0bebe4255a8ba7995957176e6',1,'MeSerial::write()']]], + ['write_5fbit_1',['write_bit',['../class_me_one_wire.html#a71ff538d319b4492e3002e027b07e9fa',1,'MeOneWire']]], + ['write_5fbytes_2',['write_bytes',['../class_me_one_wire.html#a0f66689a98b50c8fd681ba6a324054a8',1,'MeOneWire']]], + ['writebuffer_3',['writeBuffer',['../class_me_p_s2.html#a89823992bc9d4fef006cc7f9782aa685',1,'MePS2']]], + ['writedata_4',['writeData',['../class_me_color_sensor.html#a9ba779e9fc9841177d80abf17cd4f973',1,'MeColorSensor']]], + ['writereg_5',['writeReg',['../class_me_color_sensor.html#aa4a1ce0523ec234b68387d0a38becab4',1,'MeColorSensor']]] +]; diff --git a/doc/html/search/functions_14.js b/doc/html/search/functions_14.js new file mode 100644 index 00000000..381444cb --- /dev/null +++ b/doc/html/search/functions_14.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['_7emehostparser_0',['~MeHostParser',['../class_me_host_parser.html#a33eea4b1148451559c18f52ea7e0916d',1,'MeHostParser']]], + ['_7emergbled_1',['~MeRGBLed',['../class_me_r_g_b_led.html#a211af5eeebf2b79f6bc1ba5102a89523',1,'MeRGBLed']]] +]; diff --git a/doc/html/search/functions_2.js b/doc/html/search/functions_2.js new file mode 100644 index 00000000..50615051 --- /dev/null +++ b/doc/html/search/functions_2.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['calcentervalue_0',['CalCenterValue',['../class_me_joystick.html#ac229685677e2195d2bed8edc9a5308d1',1,'MeJoystick']]], + ['calculatelrc_1',['calculateLRC',['../_me_host_parser_8cpp.html#a59acdd9a3bd91179b07a28853591e88d',1,'MeHostParser.cpp']]], + ['checknum_2',['checkNum',['../class_me7_segment_display.html#a50109f40f87591fbe2a907768b03678c',1,'Me7SegmentDisplay']]], + ['cleardisplay_3',['clearDisplay',['../class_me7_segment_display.html#aa7cf32e953eae84bde132cc38e1b91db',1,'Me7SegmentDisplay']]], + ['clearscreen_4',['clearScreen',['../class_me_l_e_d_matrix.html#afe559a6e2d6fa09ef27560c472db4131',1,'MeLEDMatrix']]], + ['coding_5',['coding',['../class_me7_segment_display.html#ad19ac6b355cc8da9e77c2fee4a908814',1,'Me7SegmentDisplay::coding(uint8_t DispData[])'],['../class_me7_segment_display.html#a496b175e3deca8df9709233b09194673',1,'Me7SegmentDisplay::coding(uint8_t DispData)']]], + ['colordataread_6',['ColorDataRead',['../class_me_color_sensor.html#aa033b29d7464ebcbcf74e47794383e09',1,'MeColorSensor']]], + ['colordatareadonebyone_7',['ColorDataReadOnebyOne',['../class_me_color_sensor.html#a88ff70346c30ab33df2f02d964da6c17',1,'MeColorSensor']]], + ['coloridentify_8',['ColorIdentify',['../class_me_color_sensor.html#a37adb003fab4d09e2cc014c713e35e57',1,'MeColorSensor']]], + ['computenewspeed_9',['computenewspeed',['../class_me_stepper.html#a231aef8a0a448f194f19a6ef5ddcbbc9',1,'MeStepper::computeNewSpeed()'],['../class_me_stepper_on_board.html#acee54708cc0281b3a4643e2661eb5c83',1,'MeStepperOnBoard::computeNewSpeed()']]], + ['coreselftest_10',['coreSelfTest',['../class_me_pm25_sensor.html#a8c2cb9ec0e5e254eb20639e3167e9d14',1,'MePm25Sensor']]], + ['currentposition_11',['currentposition',['../class_me_stepper.html#a98ecf9b60b9c5bc588963a27d141106a',1,'MeStepper::currentPosition()'],['../class_me_stepper_on_board.html#a836435093e011021ba4c0db7a3896617',1,'MeStepperOnBoard::currentPosition()']]] +]; diff --git a/doc/html/search/functions_3.js b/doc/html/search/functions_3.js new file mode 100644 index 00000000..9e8d820a --- /dev/null +++ b/doc/html/search/functions_3.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['decode_0',['decode',['../class_me_i_r.html#a32e9dfb953176df04c4e2fb728a4a634',1,'MeIR']]], + ['depower_1',['depower',['../class_me_one_wire.html#af049edcbd9d0f09bc5ce54973c2305eb',1,'MeOneWire']]], + ['disableoutputs_2',['disableOutputs',['../class_me_stepper_on_board.html#ad663fa9672bc29c860558ab65884f51b',1,'MeStepperOnBoard']]], + ['display_3',['display',['../class_me7_segment_display.html#ac1d7b706bf23e38fbdf60b1caad42a4e',1,'Me7SegmentDisplay::display(uint16_t value)'],['../class_me7_segment_display.html#aa35ed6811fb58e993044cce7ce0e24d6',1,'Me7SegmentDisplay::display(int16_t value)'],['../class_me7_segment_display.html#afb865fca3b56cec660fc78315d5a9268',1,'Me7SegmentDisplay::display(float value)'],['../class_me7_segment_display.html#a2152dcfb004b08bb5a2c04b7b2ad99c5',1,'Me7SegmentDisplay::display(long value)'],['../class_me7_segment_display.html#a9a45a56ed65a1ecdcc10066825db0130',1,'Me7SegmentDisplay::display(double value, uint8_t=1)'],['../class_me7_segment_display.html#a763ccddf8a9fa6469713451505518808',1,'Me7SegmentDisplay::display(uint8_t DispData[])'],['../class_me7_segment_display.html#a2eb95cdb42445ae3f07b4c8bb586e24e',1,'Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData)'],['../class_me7_segment_display.html#aef9737e226fe1158098c3cc35329f2cf',1,'Me7SegmentDisplay::display(uint8_t BitAddr, uint8_t DispData, uint8_t point_on)']]], + ['distancecm_4',['distanceCm',['../class_me_ultrasonic_sensor.html#a72ad8300b4ab09413acb1e3f0a54c208',1,'MeUltrasonicSensor']]], + ['distanceinch_5',['distanceInch',['../class_me_ultrasonic_sensor.html#a1a4ed1ecf9c37b556c4514306347ee29',1,'MeUltrasonicSensor']]], + ['distancetogo_6',['distancetogo',['../class_me_encoder_on_board.html#a71d703a87bfe15ec2fbe86ab51e44778',1,'MeEncoderOnBoard::distanceToGo()'],['../class_me_stepper.html#ace0023e3e3dcb3fed6dee4754211a64d',1,'MeStepper::distanceToGo()'],['../class_me_stepper_on_board.html#aaa90efc7806ed103617729527bf3f7f7',1,'MeStepperOnBoard::distanceToGo()']]], + ['dpread1_7',['dpRead1',['../class_me_port.html#aabcb0e1dc89942cf302b8cbac2cbd0a5',1,'MePort']]], + ['dpread2_8',['dpRead2',['../class_me_port.html#a2e4b6faf3e9494e819ccee47dfb8010e',1,'MePort']]], + ['drawbitmap_9',['drawBitmap',['../class_me_l_e_d_matrix.html#a7e41bda67de56c3d8f568d6f31c93d6d',1,'MeLEDMatrix']]], + ['drawstr_10',['drawStr',['../class_me_l_e_d_matrix.html#a2bc5822502b9600d838a163a82820c02',1,'MeLEDMatrix']]], + ['dread1_11',['dRead1',['../class_me_port.html#a8b7b990f5fa85dfc28f7f3d0d7ba46b9',1,'MePort']]], + ['dread2_12',['dRead2',['../class_me_port.html#ab4fd13565335bd781da8f44bae803031',1,'MePort']]], + ['dwrite1_13',['dWrite1',['../class_me_port.html#a9d5f60427202c26bc8da4b1e6a66c5c2',1,'MePort']]], + ['dwrite2_14',['dWrite2',['../class_me_port.html#a0d9ee041f8361f45bcc83bed9577415f',1,'MePort']]] +]; diff --git a/doc/html/search/functions_4.js b/doc/html/search/functions_4.js new file mode 100644 index 00000000..1ae345fd --- /dev/null +++ b/doc/html/search/functions_4.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['enableirin_0',['enableIRIn',['../class_me_i_r.html#ad53fd8d718609dab42c9937831306ee0',1,'MeIR']]], + ['enableirout_1',['enableIROut',['../class_me_i_r.html#a5ba678779cfbadc0de5836341f785fea',1,'MeIR']]], + ['enableoutputs_2',['enableOutputs',['../class_me_stepper_on_board.html#af749d02703cca7e3651ee273e918308b',1,'MeStepperOnBoard']]], + ['encodermove_3',['encoderMove',['../class_me_encoder_on_board.html#afae914fcb38cfeff89561ec1667ddb6b',1,'MeEncoderOnBoard']]], + ['end_4',['end',['../class_me_i_r.html#a7030203133352a4f6f8a3f1e99643858',1,'MeIR::end()'],['../class_me_serial.html#abd68e3efb8adfcc71089dadbd4acd143',1,'MeSerial::end()']]], + ['errorcodecheckresponse_5',['errorCodeCheckResponse',['../class_me_smart_servo.html#ac003fe9876a2e1b6981326783718a12f',1,'MeSmartServo']]] +]; diff --git a/doc/html/search/functions_5.js b/doc/html/search/functions_5.js new file mode 100644 index 00000000..0cd2f56c --- /dev/null +++ b/doc/html/search/functions_5.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['fast_5fupdate_0',['fast_update',['../class_me_gyro.html#a01ab455745beef2583a64e83c88e54e0',1,'MeGyro']]], + ['fillpixelsbak_1',['fillPixelsBak',['../class_me_r_g_b_led.html#a25ae4338ba5b885746560fa277c065ba',1,'MeRGBLed']]], + ['focusoff_2',['focusOff',['../class_me_shutter.html#ad8a99473a3461e639eea31793ade7b4f',1,'MeShutter']]], + ['focuson_3',['focusOn',['../class_me_shutter.html#a4427ea37c8313acd5643ec6f3859fd36',1,'MeShutter']]] +]; diff --git a/doc/html/search/functions_6.js b/doc/html/search/functions_6.js new file mode 100644 index 00000000..cceece62 --- /dev/null +++ b/doc/html/search/functions_6.js @@ -0,0 +1,49 @@ +var searchData= +[ + ['getangle_0',['getangle',['../class_me_compass.html#a544592a96b717dfd4d7f7357d22440a6',1,'MeCompass::getAngle()'],['../class_me_gyro.html#a7ff55cc89d2507d47d193d659341b6b2',1,'MeGyro::getAngle()']]], + ['getanglerequest_1',['getAngleRequest',['../class_me_smart_servo.html#adb14101ef4f0981f5ba3eabfd02775c7',1,'MeSmartServo']]], + ['getanglex_2',['getAngleX',['../class_me_gyro.html#a22f9944d93ab6c8b3c09195fcf002675',1,'MeGyro']]], + ['getangley_3',['getAngleY',['../class_me_gyro.html#a32858bdbdbc045d5885c8294d811c351',1,'MeGyro']]], + ['getanglez_4',['getAngleZ',['../class_me_gyro.html#aee097463680345da15710d7e2f5bad04',1,'MeGyro']]], + ['getcode_5',['getcode',['../class_me_infrared_receiver.html#a2b4385744d5ff2cd325f15095d257126',1,'MeInfraredReceiver::getCode()'],['../class_me_i_r.html#ad28a726a055271ee450f49a1d9d56cca',1,'MeIR::getCode()'],['../class_me_voice.html#a0ea6a575219b569d2c093cf50838e30b',1,'MeVoice::getCode()']]], + ['getcolorat_6',['getColorAt',['../class_me_r_g_b_led.html#a2bf63b839691eed62c9a0eac076b290d',1,'MeRGBLed']]], + ['getcurpos_7',['getCurPos',['../class_me_encoder_on_board.html#a166e2d6d5f8aeb598638b80472b79474',1,'MeEncoderOnBoard']]], + ['getcurpwm_8',['getCurPwm',['../class_me_encoder_on_board.html#acbf1db8de43fd00edff02218f520e59c',1,'MeEncoderOnBoard']]], + ['getcurrentposition_9',['getcurrentposition',['../class_me_encoder_motor.html#a3e0f684f694a4ace231ac8fe90c68c62',1,'MeEncoderMotor::getCurrentPosition()'],['../class_me_encoder_new.html#ab161f5bd122c55b9564f8ce1263a8c0b',1,'MeEncoderNew::getCurrentPosition()']]], + ['getcurrentrequest_10',['getCurrentRequest',['../class_me_smart_servo.html#adc467ef432434d9b279f794a453da64c',1,'MeSmartServo']]], + ['getcurrentspeed_11',['getcurrentspeed',['../class_me_encoder_motor.html#a7ff4246627c94976d97141da3a31ad00',1,'MeEncoderMotor::getCurrentSpeed()'],['../class_me_encoder_new.html#a15f163ff89aeba26ea17be4a3b77737f',1,'MeEncoderNew::getCurrentSpeed()'],['../class_me_encoder_on_board.html#a8e9e0142f1c6b864ddbc1c96eea47033',1,'MeEncoderOnBoard::getCurrentSpeed()']]], + ['getdata_12',['getData',['../class_me_host_parser.html#a653298e64d1ac2633b23e4ae420121c3',1,'MeHostParser']]], + ['getdevaddr_13',['getDevAddr',['../class_me_gyro.html#a15122f1ff89422a7aa0f0bb0a7af82ad',1,'MeGyro']]], + ['getdewpoint_14',['getdewPoint',['../class_me_humiture.html#af89ec5b9a23973e9256c8458c340f067',1,'MeHumiture']]], + ['getfahrenheit_15',['getFahrenheit',['../class_me_humiture.html#a2b70560a4598ec78832b13dfc63fdd07',1,'MeHumiture']]], + ['getfirmwareversion_16',['getFirmwareVersion',['../class_me_encoder_new.html#a02ff4e42930711e7ab228f25b80e045c',1,'MeEncoderNew']]], + ['getgyrox_17',['getGyroX',['../class_me_gyro.html#acd4874b1d99d4a79c4194b5f0a2691d1',1,'MeGyro']]], + ['getgyroy_18',['getGyroY',['../class_me_gyro.html#a2409cc23fd683a3f546f1660da49bf8d',1,'MeGyro']]], + ['getgyroz_19',['getGyroZ',['../class_me_gyro.html#a973d074ad4c72fec8bf77a43db27da06',1,'MeGyro']]], + ['getheading_20',['getHeading',['../class_me_compass.html#a151c87c12cdcf667faf5f307bae8e418',1,'MeCompass']]], + ['getheadingx_21',['getHeadingX',['../class_me_compass.html#a968a8f7bc7534fefc8aad19b56472be4',1,'MeCompass']]], + ['getheadingy_22',['getHeadingY',['../class_me_compass.html#a39e81714f6c14f8dcc0faec9330eaa2c',1,'MeCompass']]], + ['getheadingz_23',['getHeadingZ',['../class_me_compass.html#ae0cb31dcc67e6a1f25292edd9506046d',1,'MeCompass']]], + ['gethumidity_24',['getHumidity',['../class_me_humiture.html#a8e2e8567ea52c7bea8148214636e5444',1,'MeHumiture']]], + ['getintnum_25',['getIntNum',['../class_me_encoder_on_board.html#a25fa2844d59070f897269f929c06c92b',1,'MeEncoderOnBoard']]], + ['getkelvin_26',['getKelvin',['../class_me_humiture.html#ae42e2c3fac7b1e53c0732d278de880c1',1,'MeHumiture']]], + ['getnumber_27',['getNumber',['../class_me_r_g_b_led.html#a68784e19385f21058f9b4ffddba82b4d',1,'MeRGBLed']]], + ['getpackageready_28',['getPackageReady',['../class_me_host_parser.html#a4e07eae4722fba03fd463447cb8526d4',1,'MeHostParser']]], + ['getpointfast_29',['getPointFast',['../class_me_humiture.html#aad97cff43721852a7e2d72cd223d1d3f',1,'MeHumiture']]], + ['getport_30',['getport',['../class_me_port.html#a8d9ca22e35477573b27c4165ac61def0',1,'MePort::getPort()'],['../class_me_stepper_on_board.html#a3f0d66021a8967ad91b7ed7cd62a8123',1,'MeStepperOnBoard::getPort()']]], + ['getporta_31',['getPortA',['../class_me_encoder_on_board.html#a6c96dc60288791c12a9071ab72081fdb',1,'MeEncoderOnBoard']]], + ['getportb_32',['getPortB',['../class_me_encoder_on_board.html#a51d03721fd727d0066546f0280811f4f',1,'MeEncoderOnBoard']]], + ['getpospid_33',['getPosPID',['../class_me_encoder_new.html#a8729ee00ccdf13ebb0385b29de057320',1,'MeEncoderNew']]], + ['getpulse_34',['getPulse',['../class_me_encoder_new.html#a4cee6129526a9d8c3111acb61a9d3a88',1,'MeEncoderNew']]], + ['getpulsepos_35',['getPulsePos',['../class_me_encoder_on_board.html#ae41f008de63749d140beeda6ecde9080',1,'MeEncoderOnBoard']]], + ['getratio_36',['getRatio',['../class_me_encoder_new.html#a476f3a1e0364be857b07b238cdf9eb08',1,'MeEncoderNew']]], + ['getslot_37',['getSlot',['../class_me_port.html#a4c73dec349340e958b9567b06fa6f27c',1,'MePort']]], + ['getslotnum_38',['getSlotNum',['../class_me_encoder_on_board.html#aa6d2efab8f23883b30518c4bd0d9652b',1,'MeEncoderOnBoard']]], + ['getspeedpid_39',['getSpeedPID',['../class_me_encoder_new.html#afe29430100b70233abc4f991bb2e27be',1,'MeEncoderNew']]], + ['getspeedrequest_40',['getSpeedRequest',['../class_me_smart_servo.html#a058cffd56063ed54f5bcdd0995861c18',1,'MeSmartServo']]], + ['getstring_41',['getString',['../class_me_i_r.html#acb90c07d687f185d4ed36a57b41cf358',1,'MeIR']]], + ['gettemperature_42',['getTemperature',['../class_me_humiture.html#a5811d17c07807b9617751adf382abf15',1,'MeHumiture']]], + ['gettemprequest_43',['getTempRequest',['../class_me_smart_servo.html#ab65dd2a4b12d6604fac57595737cfeeb',1,'MeSmartServo']]], + ['getvalue_44',['getValue',['../class_me_humiture.html#a0aa1f08444d67c6bed1c3eb0f357afa7',1,'MeHumiture']]], + ['getvoltagerequest_45',['getVoltageRequest',['../class_me_smart_servo.html#ae2f7bcf1cc941f324a0873129dd7b33b',1,'MeSmartServo']]] +]; diff --git a/doc/html/search/functions_7.js b/doc/html/search/functions_7.js new file mode 100644 index 00000000..5ab7de3f --- /dev/null +++ b/doc/html/search/functions_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['handsharke_0',['handSharke',['../class_me_smart_servo.html#aa3f5a58c87f7ae9c1bd46c4f9c3816c9',1,'MeSmartServo']]], + ['host_5frecv_1',['host_recv',['../class_me_u_s_b_host.html#afdf22bd1a9c271c87d981b3da4a6e711',1,'MeUSBHost']]] +]; diff --git a/doc/html/search/functions_8.js b/doc/html/search/functions_8.js new file mode 100644 index 00000000..d8cdc704 --- /dev/null +++ b/doc/html/search/functions_8.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['init_0',['init',['../class_me7_segment_display.html#a47525c61c0cdc531272eb50395df3ed1',1,'Me7SegmentDisplay::init()'],['../class_me_mega_pi_pro_e_s_c_motor.html#a06d836fed26db76e706c02a9643b2329',1,'MeMegaPiProESCMotor::init()'],['../class_me_u_s_b_host.html#a4a05983202d4f7479f3480053543d7e5',1,'MeUSBHost::init(int8_t type)']]], + ['inithiddevice_1',['initHIDDevice',['../class_me_u_s_b_host.html#ab243f4416f3d91498c3b7a94abf96e0e',1,'MeUSBHost']]], + ['ishumandetected_2',['isHumanDetected',['../class_me_p_i_r_motion_sensor.html#a1e7b90004c44efd782f7691a8140c3e0',1,'MePIRMotionSensor']]], + ['islistening_3',['isListening',['../class_me_serial.html#a4c4af893caafb362da7906ddabe16327',1,'MeSerial']]], + ['istarposreached_4',['istarposreached',['../class_me_encoder_new.html#a0fec98e0dcfd4d1df08039810f450f6d',1,'MeEncoderNew::isTarPosReached()'],['../class_me_encoder_on_board.html#a1539ed2b8d1a47b9b5037c114856ad00',1,'MeEncoderOnBoard::isTarPosReached()']]] +]; diff --git a/doc/html/search/functions_9.js b/doc/html/search/functions_9.js new file mode 100644 index 00000000..2d1f4cd1 --- /dev/null +++ b/doc/html/search/functions_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['keypressed_0',['keyPressed',['../class_me_i_r.html#a7b0f1947b326e956b7b6f7c06e95a3cc',1,'MeIR']]] +]; diff --git a/doc/html/search/functions_a.js b/doc/html/search/functions_a.js new file mode 100644 index 00000000..322bdbab --- /dev/null +++ b/doc/html/search/functions_a.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['lightoff_0',['lightOff',['../class_me_light_sensor.html#a0b787d14763d3c34e353ff6f6ef9b3f8',1,'MeLightSensor']]], + ['lighton_1',['lightOn',['../class_me_light_sensor.html#aab0e6ecb7bb432e9e131811fabac77c3',1,'MeLightSensor']]], + ['listen_2',['listen',['../class_me_serial.html#a5dd4784d18202db78fb8333afd97c031',1,'MeSerial']]], + ['loop_3',['loop',['../class_me_encoder_on_board.html#a40a21255f01a568dbdbdcbfe9236070c',1,'MeEncoderOnBoard::loop()'],['../class_me_infrared_receiver.html#ab178d4d0bb7a3af0aa35a88183c2f928',1,'MeInfraredReceiver::loop()'],['../class_me_i_r.html#aeca67335b28008603173082a00a53641',1,'MeIR::loop()'],['../class_me_p_s2.html#a6801dbef44b2b324731cea5d75215a41',1,'MePS2::loop()'],['../class_me_voice.html#ae31f0be6411947ecef97104bf26bf646',1,'MeVoice::loop()']]] +]; diff --git a/doc/html/search/functions_b.js b/doc/html/search/functions_b.js new file mode 100644 index 00000000..5a37189e --- /dev/null +++ b/doc/html/search/functions_b.js @@ -0,0 +1,56 @@ +var searchData= +[ + ['mark_0',['mark',['../class_me_i_r.html#a45a3d2442f3dc1ffbc7816655475ff82',1,'MeIR']]], + ['max_1',['MAX',['../class_me_color_sensor.html#a33fedc7e60aad74cf937389b82c1943e',1,'MeColorSensor']]], + ['mbotdcmotor_2',['MBotDCMotor',['../class_m_bot_d_c_motor.html#ab2b0796707235c4c87656ac986906b9a',1,'MBotDCMotor']]], + ['me4button_3',['me4button',['../class_me4_button.html#a084dc6572ea890e9c1e5d50cb60c11e1',1,'Me4Button::Me4Button(void)'],['../class_me4_button.html#acf07832a6ad875d35f16ca31825ec8d5',1,'Me4Button::Me4Button(uint8_t port)']]], + ['me7segmentdisplay_4',['me7segmentdisplay',['../class_me7_segment_display.html#a0c19f7b481f2f4be039b1eee70b5057d',1,'Me7SegmentDisplay::Me7SegmentDisplay(void)'],['../class_me7_segment_display.html#aa6bf9e53244dbd5b4432dbe96041cade',1,'Me7SegmentDisplay::Me7SegmentDisplay(uint8_t port)']]], + ['meanalog_5',['MeAnalog',['../class_me_p_s2.html#a9418cffcc31f2325b022189d9c02713a',1,'MePS2']]], + ['measure_6',['measure',['../class_me_ultrasonic_sensor.html#ac2ccac04ce9765c9c4b33d878db32ff6',1,'MeUltrasonicSensor']]], + ['mebluetooth_7',['mebluetooth',['../class_me_bluetooth.html#a178daf00e8d835bf72327d67816c6863',1,'MeBluetooth::MeBluetooth()'],['../class_me_bluetooth.html#afa9957e066a599bac84a4cd389bacc27',1,'MeBluetooth::MeBluetooth(uint8_t port)']]], + ['mebuzzer_8',['mebuzzer',['../class_me_buzzer.html#a227e3cc7515146d9f5951184f4c285fe',1,'MeBuzzer::MeBuzzer()'],['../class_me_buzzer.html#a5af903da92e6142eae69ae7c12eebcbe',1,'MeBuzzer::MeBuzzer(uint8_t port)'],['../class_me_buzzer.html#a545e0f080ecc289e7d39aa81954e08d6',1,'MeBuzzer::MeBuzzer(uint8_t port, uint8_t slot)']]], + ['mecolorsensor_9',['mecolorsensor',['../class_me_color_sensor.html#af5fe6429a8b59d988c0edb070cdf66ab',1,'MeColorSensor::MeColorSensor(void)'],['../class_me_color_sensor.html#a0c82b287c01d688df13fadedf0737014',1,'MeColorSensor::MeColorSensor(uint8_t port)'],['../class_me_color_sensor.html#a09474c3805cbbff251af6699425d6742',1,'MeColorSensor::MeColorSensor(uint8_t port, uint8_t address)']]], + ['mecompass_10',['mecompass',['../class_me_compass.html#a2713d01cf20bac751fa1ac0d5ac0e00c',1,'MeCompass::MeCompass()'],['../class_me_compass.html#af6727a5bdba3f2042adeec5d5a61285d',1,'MeCompass::MeCompass(uint8_t port)'],['../class_me_compass.html#ab15cfe4fdf45cc69008bef9cf39f4abf',1,'MeCompass::MeCompass(uint8_t port, uint8_t address)']]], + ['medcmotor_11',['medcmotor',['../class_me_d_c_motor.html#ac0d5e24deae9f03c1f76e7cc780c52fb',1,'MeDCMotor::MeDCMotor(void)'],['../class_me_d_c_motor.html#a34753a0be6495d847dd37caa4427cdc6',1,'MeDCMotor::MeDCMotor(uint8_t port)']]], + ['meencodermotor_12',['meencodermotor',['../class_me_encoder_motor.html#ac1e1d1667620217d906460831316ca26',1,'MeEncoderMotor::MeEncoderMotor(uint8_t addr, uint8_t slot)'],['../class_me_encoder_motor.html#a28ce79300600255bef5420094199cf5a',1,'MeEncoderMotor::MeEncoderMotor(uint8_t slot)'],['../class_me_encoder_motor.html#acbeab97d3d90a0854155264ddfd1d7bb',1,'MeEncoderMotor::MeEncoderMotor()']]], + ['meencodernew_13',['meencodernew',['../class_me_encoder_new.html#af77b13a73ad1a190ce06516cb1ec8591',1,'MeEncoderNew::MeEncoderNew(uint8_t addr, uint8_t slot)'],['../class_me_encoder_new.html#a49faf6de7d40df69dc08edb424086390',1,'MeEncoderNew::MeEncoderNew(uint8_t slot)'],['../class_me_encoder_new.html#a809786152a62ec4d737f45a3cc8d3ea0',1,'MeEncoderNew::MeEncoderNew(void)']]], + ['meencoderonboard_14',['meencoderonboard',['../class_me_encoder_on_board.html#afcb6c413e88b685ebe72b0b34b48d32a',1,'MeEncoderOnBoard::MeEncoderOnBoard()'],['../class_me_encoder_on_board.html#a043ff2bc98d5f271bac28b5ac21d580b',1,'MeEncoderOnBoard::MeEncoderOnBoard(int slot)']]], + ['meflamesensor_15',['meflamesensor',['../class_me_flame_sensor.html#adc284c980be43010a9dc046ed9ecf03f',1,'MeFlameSensor::MeFlameSensor(void)'],['../class_me_flame_sensor.html#a32ce1598a172c6ddd56b51713add39e3',1,'MeFlameSensor::MeFlameSensor(uint8_t port)']]], + ['megassensor_16',['megassensor',['../class_me_gas_sensor.html#a96b281de59928839b6d267f7c368fdfe',1,'MeGasSensor::MeGasSensor(void)'],['../class_me_gas_sensor.html#a70e0e87e9237858c8b48a5b06beef965',1,'MeGasSensor::MeGasSensor(uint8_t port)']]], + ['megyro_17',['megyro',['../class_me_gyro.html#a4a6b3f7485716b1943e15eb554b51ae7',1,'MeGyro::MeGyro(void)'],['../class_me_gyro.html#a207095ed46ba017c930c4fefe856828e',1,'MeGyro::MeGyro(uint8_t port)'],['../class_me_gyro.html#a0340b5dfd830cbfc25034a3277ad071f',1,'MeGyro::MeGyro(uint8_t port, uint8_t address)']]], + ['mehost_5fpack_18',['MeHost_Pack',['../_me_encoder_motor_8cpp.html#af46216bf6587148906d641d9fa0a89cb',1,'MeEncoderMotor.cpp']]], + ['mehostparser_19',['MeHostParser',['../class_me_host_parser.html#a05210809fce73b62b8864c8cc07c67e5',1,'MeHostParser']]], + ['mehumiture_20',['mehumiture',['../class_me_humiture.html#a1795d111fb925d4dbbbe500d0698c724',1,'MeHumiture::MeHumiture(void)'],['../class_me_humiture.html#a89b2b014a729287e7a2de580da6c96c0',1,'MeHumiture::MeHumiture(uint8_t port)']]], + ['meinfraredreceiver_21',['meinfraredreceiver',['../class_me_infrared_receiver.html#a41adf4b88eaec8d9c770ba29ddaa22f6',1,'MeInfraredReceiver::MeInfraredReceiver(void)'],['../class_me_infrared_receiver.html#a98474aa37cad10df237c006e22ec50a2',1,'MeInfraredReceiver::MeInfraredReceiver(uint8_t port)']]], + ['meir_22',['MeIR',['../class_me_i_r.html#a9093e92f61e6fb20d5bc1e9f0d250e04',1,'MeIR']]], + ['mejoystick_23',['mejoystick',['../class_me_joystick.html#a1fdc2f7f587fc30f7fce0b4efcb6fa1c',1,'MeJoystick::MeJoystick(void)'],['../class_me_joystick.html#abbc566b261a9b3029a21e68f62462e26',1,'MeJoystick::MeJoystick(uint8_t port)']]], + ['meledmatrix_24',['meledmatrix',['../class_me_l_e_d_matrix.html#add0de4df6d4eedf76f259a08df8322f7',1,'MeLEDMatrix::MeLEDMatrix()'],['../class_me_l_e_d_matrix.html#ab2309b562a05e4a6a1fc8d301d0c6f85',1,'MeLEDMatrix::MeLEDMatrix(uint8_t SCK_Pin, uint8_t DIN_Pin)'],['../class_me_l_e_d_matrix.html#ac90091e7105e8a85eec4edb25561bb1a',1,'MeLEDMatrix::MeLEDMatrix(uint8_t port)']]], + ['melightsensor_25',['melightsensor',['../class_me_light_sensor.html#a369148767eeac2ad59e724554621298d',1,'MeLightSensor::MeLightSensor(void)'],['../class_me_light_sensor.html#af7e3e21af2ea0190d65655750bf49665',1,'MeLightSensor::MeLightSensor(uint8_t port)']]], + ['melimitswitch_26',['melimitswitch',['../class_me_limit_switch.html#a54eb87697a1b59d658cbf8862a7e070b',1,'MeLimitSwitch::MeLimitSwitch(void)'],['../class_me_limit_switch.html#af0aac1c09b9e8f0a97c451bba78a2c70',1,'MeLimitSwitch::MeLimitSwitch(uint8_t port)'],['../class_me_limit_switch.html#aaa939697942431d0b9812e4f9d978199',1,'MeLimitSwitch::MeLimitSwitch(uint8_t port, uint8_t slot)']]], + ['melinefollower_27',['melinefollower',['../class_me_line_follower.html#a0e2dcb9e9af565ac9cfb2eb0c022ee34',1,'MeLineFollower::MeLineFollower(uint8_t port)'],['../class_me_line_follower.html#a0921a28658143998b3c9d794cbe44c9e',1,'MeLineFollower::MeLineFollower(void)']]], + ['memegapidcmotor_28',['memegapidcmotor',['../class_me_mega_pi_d_c_motor.html#a514ff2f2c60e28567f803b75c95b59ca',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(void)'],['../class_me_mega_pi_d_c_motor.html#acbd1227d383653d78ae751377b2ed516',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(uint8_t port)'],['../class_me_mega_pi_d_c_motor.html#ad53dab0d6fd9ccbfaef1d53f229cfe8a',1,'MeMegaPiDCMotor::MeMegaPiDCMotor(uint8_t dc_dir_h1, uint8_t dc_dir_h2, uint8_t pwm_pin)']]], + ['memegapipro4dcmotor_29',['memegapipro4dcmotor',['../class_me_mega_pi_pro4_dc_motor.html#a82a9c5416fb71a07550902f6dca71119',1,'MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor(void)'],['../class_me_mega_pi_pro4_dc_motor.html#a0797022589246f44bbbc7fd0d0467726',1,'MeMegaPiPro4DcMotor::MeMegaPiPro4DcMotor(uint8_t port)']]], + ['memegapiproescmotor_30',['memegapiproescmotor',['../class_me_mega_pi_pro_e_s_c_motor.html#a23bfa7d1caecb5801d98cc774fe108ae',1,'MeMegaPiProESCMotor::MeMegaPiProESCMotor(uint8_t port)'],['../class_me_mega_pi_pro_e_s_c_motor.html#a5bac3025e305ce8cbfe0bb288e277ec2',1,'MeMegaPiProESCMotor::MeMegaPiProESCMotor(void)']]], + ['meonboardtemp_31',['meonboardtemp',['../class_me_on_board_temp.html#ab22487c40c90a0af0f47be119868e8ad',1,'MeOnBoardTemp::MeOnBoardTemp(uint8_t port)'],['../class_me_on_board_temp.html#a06f4cfe51ec0c2dbc372a5f21188b499',1,'MeOnBoardTemp::MeOnBoardTemp(void)']]], + ['meonewire_32',['meonewire',['../class_me_one_wire.html#a8069007f7070f2f239af17cd824651f2',1,'MeOneWire::MeOneWire(void)'],['../class_me_one_wire.html#a56ca2b54bd03dc44d888a823ba388566',1,'MeOneWire::MeOneWire(uint8_t pin)']]], + ['mepirmotionsensor_33',['mepirmotionsensor',['../class_me_p_i_r_motion_sensor.html#a02248fc5af91a2e8778bd4031ff434e0',1,'MePIRMotionSensor::MePIRMotionSensor()'],['../class_me_p_i_r_motion_sensor.html#ab845675e34478ecf04e3742844f1418c',1,'MePIRMotionSensor::MePIRMotionSensor(uint8_t port)']]], + ['mepm25sensor_34',['mepm25sensor',['../class_me_pm25_sensor.html#a1cc18797bdc8959a726025fbb8ea888a',1,'MePm25Sensor::MePm25Sensor()'],['../class_me_pm25_sensor.html#a1d7cdd82e198a2e040a190c8f6fe652a',1,'MePm25Sensor::MePm25Sensor(uint8_t port)']]], + ['meport_35',['meport',['../class_me_port.html#ae4b9e8e718b626d0ce4017a430878210',1,'MePort::MePort(void)'],['../class_me_port.html#a7a1d7cdf061740148cd893ba481420a3',1,'MePort::MePort(uint8_t port)'],['../class_me_port.html#a1458b606f98da409d7ab4fa7d09c6816',1,'MePort::MePort(uint8_t port, uint8_t slot)']]], + ['mepotentiometer_36',['mepotentiometer',['../class_me_potentiometer.html#add2858c8d9ea25a49f498be2fe33785d',1,'MePotentiometer::MePotentiometer(void)'],['../class_me_potentiometer.html#ac21a8e502a18305cfbf967daa54121c9',1,'MePotentiometer::MePotentiometer(uint8_t port)']]], + ['meps2_37',['meps2',['../class_me_p_s2.html#a2fd79fe40df482bad8eacb00666f8d61',1,'MePS2::MePS2()'],['../class_me_p_s2.html#abfc47759480247f23a63a716a4699371',1,'MePS2::MePS2(uint8_t port)']]], + ['mergbled_38',['mergbled',['../class_me_r_g_b_led.html#addbe094cefa309fc7a5486f13ba628c0',1,'MeRGBLed::MeRGBLed(void)'],['../class_me_r_g_b_led.html#ac6bf6ad922bb2e0cb2b1d0763dd25348',1,'MeRGBLed::MeRGBLed(uint8_t port)'],['../class_me_r_g_b_led.html#a6204f460f613534e783318e7a8e9039d',1,'MeRGBLed::MeRGBLed(uint8_t port, uint8_t led_num)'],['../class_me_r_g_b_led.html#a5f7c3954ceb5ec785dd6fcb6f64e76ab',1,'MeRGBLed::MeRGBLed(uint8_t port, uint8_t slot, uint8_t led_num)']]], + ['meserial_39',['meserial',['../class_me_serial.html#aaa113d4dc7bf62acae7b7ca559c23245',1,'MeSerial::MeSerial(void)'],['../class_me_serial.html#a63ac4943dae1b910fd627758ba0c20a2',1,'MeSerial::MeSerial(uint8_t port)'],['../class_me_serial.html#a06d4cb2f572533e9b1414cc1e6d4929b',1,'MeSerial::MeSerial(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)']]], + ['meshutter_40',['meshutter',['../class_me_shutter.html#a19cb9b364ab8e4309620b3f11dd3323d',1,'MeShutter::MeShutter(void)'],['../class_me_shutter.html#a072f6dd9c71d200ec8879784744e0576',1,'MeShutter::MeShutter(uint8_t port)']]], + ['mesmartservo_41',['mesmartservo',['../class_me_smart_servo.html#a8423e173c2a4c24f442e0536054fbba0',1,'MeSmartServo::MeSmartServo()'],['../class_me_smart_servo.html#a488fddfc5eed85885f9652f820fb87e9',1,'MeSmartServo::MeSmartServo(uint8_t port)']]], + ['mestepper_42',['mestepper',['../class_me_stepper.html#a34e8a0c1b7eb99ff9fe6a0d805cc12d1',1,'MeStepper::MeStepper()'],['../class_me_stepper.html#a10df219f3839e1c88100c1d84e46c01e',1,'MeStepper::MeStepper(uint8_t port)']]], + ['mestepperonboard_43',['mestepperonboard',['../class_me_stepper_on_board.html#a6476b785a367f0bf0f6be0b5f1d256db',1,'MeStepperOnBoard::MeStepperOnBoard()'],['../class_me_stepper_on_board.html#a8f2852b3a7c35103dae8b9cae3f9ec54',1,'MeStepperOnBoard::MeStepperOnBoard(int slot)']]], + ['metemperature_44',['metemperature',['../class_me_temperature.html#a93c1c6633fa8515b317f83e4a780b71a',1,'MeTemperature::MeTemperature(uint8_t port)'],['../class_me_temperature.html#a657de368a959e2f9985fc2867a6ea0e2',1,'MeTemperature::MeTemperature(uint8_t port, uint8_t slot)'],['../class_me_temperature.html#a1583b8551a9f33b7abe02cbfe2761fa8',1,'MeTemperature::MeTemperature(void)']]], + ['metouchsensor_45',['metouchsensor',['../class_me_touch_sensor.html#a0ecfd6da5fea8197e371ad544f9c07f9',1,'MeTouchSensor::MeTouchSensor(uint8_t port)'],['../class_me_touch_sensor.html#a09705164b54337f2f36da27c62854599',1,'MeTouchSensor::MeTouchSensor(void)']]], + ['meultrasonicsensor_46',['meultrasonicsensor',['../class_me_ultrasonic_sensor.html#a1c80a8cdd1d38cbeda6d643d41dc1fa0',1,'MeUltrasonicSensor::MeUltrasonicSensor(void)'],['../class_me_ultrasonic_sensor.html#a979e0ac40c81bc61a942de16a385c52f',1,'MeUltrasonicSensor::MeUltrasonicSensor(uint8_t port)']]], + ['meusbhost_47',['meusbhost',['../class_me_u_s_b_host.html#a046694bf0110a4fed7650f2c370e167c',1,'MeUSBHost::MeUSBHost()'],['../class_me_u_s_b_host.html#a27367dd6f4253fa7222af2cc4c90d91d',1,'MeUSBHost::MeUSBHost(uint8_t port)']]], + ['mevoice_48',['mevoice',['../class_me_voice.html#af9c1752c4d82263049f676b31ffb2438',1,'MeVoice::MeVoice(void)'],['../class_me_voice.html#a4eaae4a750179d7132dc533a80e749b1',1,'MeVoice::MeVoice(uint8_t port)']]], + ['mewifi_49',['mewifi',['../class_me_wifi.html#aaec7c63be7254e4a4471b42c75ddf320',1,'MeWifi::MeWifi()'],['../class_me_wifi.html#a1fc0a632eefc50c65c993cadbf2e91d8',1,'MeWifi::MeWifi(uint8_t port)']]], + ['min_50',['MIN',['../class_me_color_sensor.html#a7731131a09e0e0bc4121cd30353db745',1,'MeColorSensor']]], + ['move_51',['move',['../class_me_encoder_new.html#abe1fe2665edfaae677ed00eea1fef040',1,'MeEncoderNew::move()'],['../class_me_encoder_on_board.html#afae5f5d060a6bcefbe344b418455a819',1,'MeEncoderOnBoard::move()'],['../class_m_bot_d_c_motor.html#afe0b361462f7660fd767cd7e5a23ea77',1,'MBotDCMotor::move()'],['../class_me_smart_servo.html#accf6f85b682196fa8e3f36f2a2e5e508',1,'MeSmartServo::move()'],['../class_me_stepper.html#aa8020356bb0c793c2ea78737f9c5f387',1,'MeStepper::move()'],['../class_me_stepper_on_board.html#aad362da829622be269f2903cf2000b3e',1,'MeStepperOnBoard::move(long relative)'],['../class_me_stepper_on_board.html#a6f0502cf085c9a108cd7c0f29eb18273',1,'MeStepperOnBoard::move(long relative, int16_t extId, cb callback)'],['../class_me_encoder_motor.html#a10a88a426631d9251a0db96f921f1bcd',1,'MeEncoderMotor::move()']]], + ['moveto_52',['moveto',['../class_me_encoder_new.html#a2b9316c366c67ef88b6f03635f8c9468',1,'MeEncoderNew::moveTo()'],['../class_me_encoder_on_board.html#a288f72436792c55a8847bfc3fa94b972',1,'MeEncoderOnBoard::moveTo()'],['../class_me_smart_servo.html#aad84a194b3ed4f175d336bca6a596ec6',1,'MeSmartServo::moveTo()'],['../class_me_stepper.html#a2bf300dfaa8901eac1fe334a3d01bb50',1,'MeStepper::moveTo()'],['../class_me_stepper_on_board.html#a52fd44017b98f6f557321483f98dda71',1,'MeStepperOnBoard::moveTo(long absolute)'],['../class_me_stepper_on_board.html#a952049fc3361c7f33f5bfb2c8f78707e',1,'MeStepperOnBoard::moveTo(long absolute, int16_t extId, cb callback)'],['../class_me_encoder_motor.html#a05f1de71458b1ab75bd34f9c948cc463',1,'MeEncoderMotor::moveTo()']]] +]; diff --git a/doc/html/search/functions_c.js b/doc/html/search/functions_c.js new file mode 100644 index 00000000..fb4b89b8 --- /dev/null +++ b/doc/html/search/functions_c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['notone_0',['notone',['../class_me_buzzer.html#a25ea6412895981c00bc9ff67dbacb7d0',1,'MeBuzzer::noTone(int pin)'],['../class_me_buzzer.html#a17f2d0a133f49125f2aa24dd970e926f',1,'MeBuzzer::noTone()']]] +]; diff --git a/doc/html/search/functions_d.js b/doc/html/search/functions_d.js new file mode 100644 index 00000000..1f4ff3dc --- /dev/null +++ b/doc/html/search/functions_d.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['offcenter_0',['OffCenter',['../class_me_joystick.html#a6402a4343716a84282366e25035f4297',1,'MeJoystick']]], + ['operator_2b_2b_1',['operator++',['../struct_e_e_ref.html#a5b230b800d3bf6fa6396aba8a3ac5cdb',1,'EERef::operator++()'],['../struct_e_e_ref.html#a8020a7251293e013d26587935ce8905d',1,'EERef::operator++(int)'],['../struct_e_e_ptr.html#a7473bc4e92c4970fb5414d050265a981',1,'EEPtr::operator++()']]], + ['outputintimeoff_2',['OutputIntimeOff',['../class_me_pm25_sensor.html#a255b47a6afeeac32f7dd9d50a97241e7',1,'MePm25Sensor']]], + ['outputintimeon_3',['OutputIntimeOn',['../class_me_pm25_sensor.html#a98a6e7af47ae69ffd23fdae581aef083',1,'MePm25Sensor']]] +]; diff --git a/doc/html/search/functions_e.js b/doc/html/search/functions_e.js new file mode 100644 index 00000000..327c0222 --- /dev/null +++ b/doc/html/search/functions_e.js @@ -0,0 +1,17 @@ +var searchData= +[ + ['pidpositiontopwm_0',['pidPositionToPwm',['../class_me_encoder_on_board.html#ad22d95cd15408391e5638b5fc9fa6896',1,'MeEncoderOnBoard']]], + ['pin_1',['pin',['../class_me_port.html#aea7dad0142d940c0395b1782fe5adeae',1,'MePort::pin(void)'],['../class_me_port.html#a637d42b5a62d655b8517bc8a363206f3',1,'MePort::pin(uint8_t port, uint8_t slot)']]], + ['pin1_2',['pin1',['../class_me_port.html#a1ed16a0f863a618cc9f32b27015107e7',1,'MePort']]], + ['pin2_3',['pin2',['../class_me_port.html#a8a1b3cd06dffbb48d40c3adf25011803',1,'MePort']]], + ['poll_4',['poll',['../class_me_serial.html#a721bd751d68b01eeafd206163eab10a4',1,'MeSerial']]], + ['pressed_5',['pressed',['../class_me4_button.html#a51d9728459f5323d59d1543931ba2dc9',1,'Me4Button']]], + ['printf_6',['printf',['../class_me_serial.html#a30bae57ed633a2b7c8a41ff0de0a6679',1,'MeSerial']]], + ['probedevice_7',['probeDevice',['../class_me_u_s_b_host.html#a1ec6f4ebdb3f888e04d8ef5c83ff75f0',1,'MeUSBHost']]], + ['processsysexmessage_8',['processSysexMessage',['../class_me_smart_servo.html#a3eb0b8f79dd50b4e55526d261b40d8a1',1,'MeSmartServo']]], + ['pulseposminus_9',['pulsePosMinus',['../class_me_encoder_on_board.html#a8bf581cccdefbc31950d5ff81ed1cb9c',1,'MeEncoderOnBoard']]], + ['pulseposplus_10',['pulsePosPlus',['../class_me_encoder_on_board.html#a5860af63894f883a46e7faa448091315',1,'MeEncoderOnBoard']]], + ['pushbyte_11',['pushByte',['../class_me_host_parser.html#aea2e516581e88dc2f807759bc2a679b2',1,'MeHostParser']]], + ['pushstr_12',['pushStr',['../class_me_host_parser.html#a0103f25edd15026dcf5ae8a19cb25abf',1,'MeHostParser']]], + ['pwmmove_13',['pwmMove',['../class_me_encoder_on_board.html#abf552ba0bf4e6e83dc9a63f510792cd0',1,'MeEncoderOnBoard']]] +]; diff --git a/doc/html/search/functions_f.js b/doc/html/search/functions_f.js new file mode 100644 index 00000000..84970c84 --- /dev/null +++ b/doc/html/search/functions_f.js @@ -0,0 +1,56 @@ +var searchData= +[ + ['read_0',['read',['../class_me_infrared_receiver.html#aaccf198c3a013b38e783a3e055631110',1,'MeInfraredReceiver::read()'],['../class_me_joystick.html#a5a690937c49c9ee5623006d2acfe0766',1,'MeJoystick::read()'],['../class_me_light_sensor.html#aaae9be2df39ab2c86c4b27c618e3fb48',1,'MeLightSensor::read()'],['../class_me_one_wire.html#a9930a16f2cdc36d15f646e41a1a083a4',1,'MeOneWire::read()'],['../class_me_potentiometer.html#a10026bd4d880b63d8bd4b06834e2a115',1,'MePotentiometer::read()'],['../class_me_serial.html#a00be49316c437fdb4615c4e40869ff60',1,'MeSerial::read()'],['../class_me_voice.html#a8e03afa2722be68289d8e5d7963935e9',1,'MeVoice::read()']]], + ['read0_5f3numin100ml_1',['read0_3NumIn100ml',['../class_me_pm25_sensor.html#aef664694c3ca8512d694795dd704e5a3',1,'MePm25Sensor']]], + ['read0_5f5numin100ml_2',['read0_5NumIn100ml',['../class_me_pm25_sensor.html#aae4537c8e8a21c6304221193b9f35472',1,'MePm25Sensor']]], + ['read10numin100ml_3',['read10NumIn100ml',['../class_me_pm25_sensor.html#a7abb152fbb1530757a3b4e6994b4a578',1,'MePm25Sensor']]], + ['read1_5f0numin100ml_4',['read1_0NumIn100ml',['../class_me_pm25_sensor.html#ad07e4c9369d6def86457816936e4ce1e',1,'MePm25Sensor']]], + ['read2_5f5numin100ml_5',['read2_5NumIn100ml',['../class_me_pm25_sensor.html#a5e6ad588c26febcdf79d53231d492553',1,'MePm25Sensor']]], + ['read5_5f0numin100ml_6',['read5_0NumIn100ml',['../class_me_pm25_sensor.html#ac780e647570499912c45802baaee8dc2',1,'MePm25Sensor']]], + ['read_5fbit_7',['read_bit',['../class_me_one_wire.html#abd22dddea19354d857f5e3b33b02add3',1,'MeOneWire']]], + ['read_5fbytes_8',['read_bytes',['../class_me_one_wire.html#acbaaa04392b4b406500f4953ef389a6c',1,'MeOneWire']]], + ['readanalog_9',['readanalog',['../class_me_flame_sensor.html#a09baccd24c256f1ad1b59e148f43450a',1,'MeFlameSensor::readAnalog()'],['../class_me_gas_sensor.html#ab074be57436cbeda3788a109435b6d45',1,'MeGasSensor::readAnalog()'],['../class_me_on_board_temp.html#ada9bb788ed99094df48dbd9536193362',1,'MeOnBoardTemp::readAnalog()']]], + ['readbuffer_10',['readBuffer',['../class_me_p_s2.html#a4df0b0985f4b63366fc8ed2b6489916b',1,'MePS2']]], + ['readbyte_11',['readByte',['../class_me_smart_servo.html#a1aaad24e2abbcba8fe5be7d3d0d84e63',1,'MeSmartServo']]], + ['readdata_12',['readData',['../class_me_color_sensor.html#aeb6c09291008af8b013e5462331e5c08',1,'MeColorSensor']]], + ['readdigital_13',['readdigital',['../class_me_flame_sensor.html#a01b134562c8fff15c7f7f48e18839cd0',1,'MeFlameSensor::readDigital()'],['../class_me_gas_sensor.html#aeac19b4e212288e4c3ec309ef69ce881',1,'MeGasSensor::readDigital()']]], + ['readfloat_14',['readFloat',['../class_me_smart_servo.html#ae66a39120aa542835ed7baefe543170c',1,'MeSmartServo']]], + ['readio_15',['readIO',['../class_me_one_wire.html#a8cfacb53d1246333f94c25508e833f22',1,'MeOneWire']]], + ['readjoystick_16',['readjoystick',['../class_me_p_s2.html#a83482bf8ea7f5654ad6af4603045943e',1,'MePS2']]], + ['readlong_17',['readLong',['../class_me_smart_servo.html#add30c4b6013c26a2b92b37992a2a9feb',1,'MeSmartServo']]], + ['readpm10concentration_18',['readPm10Concentration',['../class_me_pm25_sensor.html#a3835d73853146cbbedb10bf35b24469a',1,'MePm25Sensor']]], + ['readpm1_5f0concentration_19',['readPm1_0Concentration',['../class_me_pm25_sensor.html#a3ab7cc63abcb3d89abf615d3c8f68f78',1,'MePm25Sensor']]], + ['readpm2_5f5concentration_20',['readPm2_5Concentration',['../class_me_pm25_sensor.html#ad4f1efe5497f5e2978fc2a3d2fcfcfe8',1,'MePm25Sensor']]], + ['readsensor1_21',['readSensor1',['../class_me_line_follower.html#aa0d1a6c71bde5d559db1dc82ba8960b7',1,'MeLineFollower']]], + ['readsensor2_22',['readSensor2',['../class_me_line_follower.html#a7cbd9125758887862416f2a4f65f58cd',1,'MeLineFollower']]], + ['readsensors_23',['readSensors',['../class_me_line_follower.html#a88db0aaee6ffac54c106c2e8e9811f40',1,'MeLineFollower']]], + ['readserial_24',['readSerial',['../class_me_p_s2.html#a65d5b08003a94c6bc333dec3a6957f37',1,'MePS2']]], + ['readshort_25',['readShort',['../class_me_smart_servo.html#a86115d5159d786936b9f9fbde7669cb3',1,'MeSmartServo']]], + ['readvalue_26',['readValue',['../class_me_on_board_temp.html#a590a42d0aab644a6c7108d3f47b477b3',1,'MeOnBoardTemp']]], + ['readx_27',['readX',['../class_me_joystick.html#a0dea00e7568e3c2d4fd3c50d5b79cf90',1,'MeJoystick']]], + ['ready_28',['readY',['../class_me_joystick.html#a0ff4c70c343dcec6f3dc1b7a0d9caace',1,'MeJoystick']]], + ['reportid_29',['ReportId',['../class_me_color_sensor.html#a1728909fc7199b95ad3e35734b3a16a6',1,'MeColorSensor']]], + ['reset_30',['reset',['../class_me7_segment_display.html#ac8d890fddfbd86a221d2d990ff8a405a',1,'Me7SegmentDisplay::reset()'],['../class_me_d_c_motor.html#a098d4ebc2b9ecfe6652c045ae27253ae',1,'MeDCMotor::reset(uint8_t port)'],['../class_me_d_c_motor.html#a8bcda74bb585d40c372ac5894a79fe2c',1,'MeDCMotor::reset(uint8_t port, uint8_t slot)'],['../class_me_encoder_motor.html#a83b974e7a06af62d268bd251cc118509',1,'MeEncoderMotor::reset()'],['../class_me_encoder_new.html#a1b73a317a6ed28c0b6ee61899da4c2ff',1,'MeEncoderNew::reset()'],['../class_me_encoder_on_board.html#aeafd81a680a1444e923db41fc5071eca',1,'MeEncoderOnBoard::reset()'],['../class_me_l_e_d_matrix.html#a54aa7ad77d5ef8d67ce0623431e99f53',1,'MeLEDMatrix::reset()'],['../class_me_mega_pi_d_c_motor.html#a01f48a77e9fac7dcda0bba9dea5752aa',1,'MeMegaPiDCMotor::reset()'],['../class_me_mega_pi_pro4_dc_motor.html#a4e6b8c161cfe6367a1c43f9b129a8597',1,'MeMegaPiPro4DcMotor::reset(uint8_t port)'],['../class_me_mega_pi_pro4_dc_motor.html#a8ebf2a564ca4f4ec2458d472bd4ed9f8',1,'MeMegaPiPro4DcMotor::reset(uint8_t port, uint8_t slot)'],['../class_me_mega_pi_pro_e_s_c_motor.html#ad9e731bb9c8c3244b11c0d2014e64005',1,'MeMegaPiProESCMotor::reset()'],['../class_me_one_wire.html#ac7ae473bec8198fba76040fe8422cea7',1,'MeOneWire::reset(uint8_t pin)'],['../class_me_one_wire.html#afdf58430b9beb67f2ebba55430e7aa3c',1,'MeOneWire::reset(void)'],['../class_me_port.html#a7b82ce913d98ecff906569d795073892',1,'MePort::reset(uint8_t port)'],['../class_me_port.html#a91e3cca62e5f8fffead56f8104488d4d',1,'MePort::reset(uint8_t port, uint8_t slot)'],['../class_me_r_g_b_led.html#a030e1f328cd19061104369868d5d1b1c',1,'MeRGBLed::reset(uint8_t port)'],['../class_me_r_g_b_led.html#a08ac8295d2a090a51069f404fd375b29',1,'MeRGBLed::reset(uint8_t port, uint8_t slot)'],['../class_me_temperature.html#acd6c944b6634a5db1d01d9827e089076',1,'MeTemperature::reset(uint8_t port)'],['../class_me_temperature.html#ace428c9659b6d39de5ca5004cf9a6017',1,'MeTemperature::reset(uint8_t port, uint8_t slot)']]], + ['reset_5fsearch_31',['reset_search',['../class_me_one_wire.html#a83f6c2c88d9f2fa5c4aabb7f540bc6ac',1,'MeOneWire']]], + ['resetbus_32',['resetBus',['../class_me_u_s_b_host.html#a11d5c84408175ade230ef51021c42232',1,'MeUSBHost']]], + ['resetdata_33',['resetData',['../class_me_gyro.html#a1a7b23e100b983b19b83ff78f4a66af0',1,'MeGyro']]], + ['returnbluedata_34',['ReturnBlueData',['../class_me_color_sensor.html#a0a04f1d0592fb21febf7a7583fa9a9d9',1,'MeColorSensor']]], + ['returnchecksum_35',['returnchecksum',['../class_me_pm25_sensor.html#ae8e7a458edbc826dd1b75f3d135540bf',1,'MePm25Sensor']]], + ['returncolorcode_36',['ReturnColorCode',['../class_me_color_sensor.html#a403b066a178b7c438dab069bfed11dd7',1,'MeColorSensor']]], + ['returncolordata_37',['ReturnColorData',['../class_me_color_sensor.html#aea344bb117b012fb27ee6ed8ebf17c73',1,'MeColorSensor']]], + ['returncolorhue_38',['ReturnColorhue',['../class_me_color_sensor.html#ae0c377ebb860b67ebf01aae23722dc31',1,'MeColorSensor']]], + ['returncoreselftest_39',['returnCoreSelfTest',['../class_me_pm25_sensor.html#a8fec18eca69dbfaa2e55797ffa8cca60',1,'MePm25Sensor']]], + ['returngrayscale_40',['ReturnGrayscale',['../class_me_color_sensor.html#af4713622f9fdb6487e9798b47a62e008',1,'MeColorSensor']]], + ['returngreendata_41',['ReturnGreenData',['../class_me_color_sensor.html#a2ceb9fec73cf92a98421c3606a324320',1,'MeColorSensor']]], + ['returnlen_42',['returnlen',['../class_me_pm25_sensor.html#af756cb35791d5643cebcac6a7ae06514',1,'MePm25Sensor']]], + ['returnreddata_43',['ReturnRedData',['../class_me_color_sensor.html#aa5cf33bebe6d653a7164551629447287',1,'MeColorSensor']]], + ['returnresult_44',['Returnresult',['../class_me_color_sensor.html#a96d8182a6239e536fb56792346371734',1,'MeColorSensor']]], + ['run_45',['run',['../class_me_d_c_motor.html#a4509ba013726e48cbb70423263f8dccc',1,'MeDCMotor::run()'],['../class_me_host_parser.html#a29f974647d06c7cb1c75db2963958478',1,'MeHostParser::run()'],['../class_me_mega_pi_d_c_motor.html#ac324a1423bf3c3ed73e5df7ea9b2b92a',1,'MeMegaPiDCMotor::run()'],['../class_me_mega_pi_pro4_dc_motor.html#aa38cacfe02e74049f0b5b2ffa397676e',1,'MeMegaPiPro4DcMotor::run()'],['../class_me_mega_pi_pro_e_s_c_motor.html#a7a247a91f39356e7e84200727f13abc1',1,'MeMegaPiProESCMotor::run()'],['../class_me_stepper.html#aab1323d0500213e02ddc17527b7487a2',1,'MeStepper::run()'],['../class_me_stepper_on_board.html#a49e9754f36126eee4b63403dc581822f',1,'MeStepperOnBoard::run()']]], + ['runspeed_46',['runspeed',['../class_me_encoder_motor.html#aff4c3a4f790b712a36fff5184927af00',1,'MeEncoderMotor::runSpeed()'],['../class_me_encoder_new.html#a37dc43618ad8f23e690dd1d39fe13edb',1,'MeEncoderNew::runSpeed()'],['../class_me_encoder_on_board.html#aa13835d17bf0a523cacc9dc938efa3ca',1,'MeEncoderOnBoard::runSpeed()'],['../class_me_stepper.html#ad615be6e513b7d519e1b546ae9f2aac6',1,'MeStepper::runSpeed()'],['../class_me_stepper_on_board.html#a0f376d74435f5cf1f6adece94c372d71',1,'MeStepperOnBoard::runSpeed()']]], + ['runspeedandtime_47',['runspeedandtime',['../class_me_encoder_motor.html#adc48a3b9f3508aa50b80d00e7fdce178',1,'MeEncoderMotor::runSpeedAndTime()'],['../class_me_encoder_new.html#a8b93e11a6d0ba0cedbc8e4a4ae44471b',1,'MeEncoderNew::runSpeedAndTime()']]], + ['runspeedtoposition_48',['runspeedtoposition',['../class_me_stepper.html#a901a56566194e21be9ebacc5e2bd9dfc',1,'MeStepper::runSpeedToPosition()'],['../class_me_stepper_on_board.html#ada03839c1d65ef9ffd1bb64db5da0bc9',1,'MeStepperOnBoard::runSpeedToPosition()']]], + ['runtonewposition_49',['runtonewposition',['../class_me_stepper.html#a5b936d0e8e9684e89de40c4740a95952',1,'MeStepper::runToNewPosition()'],['../class_me_stepper_on_board.html#a20298c8fc1fb1ef4998fbcd2dd7c52ba',1,'MeStepperOnBoard::runToNewPosition()']]], + ['runtoposition_50',['runtoposition',['../class_me_stepper.html#a6076bbfe63621dc4f08a83756a3fd570',1,'MeStepper::runToPosition()'],['../class_me_stepper_on_board.html#a951f051a706bdda80961766ce5f2e388',1,'MeStepperOnBoard::runToPosition()']]], + ['runturns_51',['runturns',['../class_me_encoder_motor.html#a94231a437d93fe7681fa41024207a28e',1,'MeEncoderMotor::runTurns()'],['../class_me_encoder_new.html#ab7c6be174df72535937b1bc640d07b3a',1,'MeEncoderNew::runTurns()']]], + ['rxloop_52',['rxloop',['../class_me_pm25_sensor.html#a17bf2e8a068c549f0be44465735899cb',1,'MePm25Sensor']]] +]; diff --git a/doc/html/search/mag.svg b/doc/html/search/mag.svg new file mode 100644 index 00000000..ffb6cf0d --- /dev/null +++ b/doc/html/search/mag.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/doc/html/search/mag_d.svg b/doc/html/search/mag_d.svg new file mode 100644 index 00000000..4122773f --- /dev/null +++ b/doc/html/search/mag_d.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/doc/html/search/mag_sel.svg b/doc/html/search/mag_sel.svg new file mode 100644 index 00000000..553dba87 --- /dev/null +++ b/doc/html/search/mag_sel.svg @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/doc/html/search/mag_seld.svg b/doc/html/search/mag_seld.svg new file mode 100644 index 00000000..c906f84c --- /dev/null +++ b/doc/html/search/mag_seld.svg @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/doc/html/search/pages_0.js b/doc/html/search/pages_0.js new file mode 100644 index 00000000..ada51e5d --- /dev/null +++ b/doc/html/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['arduino_0',['Makeblock library for Arduino',['../index.html',1,'']]] +]; diff --git a/doc/html/search/pages_1.js b/doc/html/search/pages_1.js new file mode 100644 index 00000000..adf18e5c --- /dev/null +++ b/doc/html/search/pages_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['for_20arduino_0',['Makeblock library for Arduino',['../index.html',1,'']]] +]; diff --git a/doc/html/search/pages_2.js b/doc/html/search/pages_2.js new file mode 100644 index 00000000..98c37d96 --- /dev/null +++ b/doc/html/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['library_20for_20arduino_0',['Makeblock library for Arduino',['../index.html',1,'']]] +]; diff --git a/doc/html/search/pages_3.js b/doc/html/search/pages_3.js new file mode 100644 index 00000000..95b8615c --- /dev/null +++ b/doc/html/search/pages_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['makeblock_20library_20for_20arduino_0',['Makeblock library for Arduino',['../index.html',1,'']]] +]; diff --git a/doc/html/search/search.css b/doc/html/search/search.css new file mode 100644 index 00000000..19f76f9d --- /dev/null +++ b/doc/html/search/search.css @@ -0,0 +1,291 @@ +/*---------------- Search Box positioning */ + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search box styling */ + +.SRPage * { + font-weight: normal; + line-height: normal; +} + +dark-mode-toggle { + margin-left: 5px; + display: flex; + float: right; +} + +#MSearchBox { + display: inline-block; + white-space : nowrap; + background: var(--search-background-color); + border-radius: 0.65em; + box-shadow: var(--search-box-shadow); + z-index: 102; +} + +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; +} + +#MSearchSelect { + display: inline-block; + vertical-align: middle; + width: 20px; + height: 19px; + background-image: var(--search-magnification-select-image); + margin: 0 0 0 0.3em; + padding: 0; +} + +#MSearchSelectExt { + display: inline-block; + vertical-align: middle; + width: 10px; + height: 19px; + background-image: var(--search-magnification-image); + margin: 0 0 0 0.5em; + padding: 0; +} + + +#MSearchField { + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 19px; + margin: 0 0.15em; + padding: 0; + line-height: 1em; + border:none; + color: var(--search-foreground-color); + outline: none; + font-family: var(--font-family-search); + -webkit-border-radius: 0px; + border-radius: 0px; + background: none; +} + +@media(hover: none) { + /* to avoid zooming on iOS */ + #MSearchField { + font-size: 16px; + } +} + +#MSearchBox .right { + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; +} + +#MSearchClose { + display: none; + font-size: inherit; + background : none; + border: none; + margin: 0; + padding: 0; + outline: none; + +} + +#MSearchCloseImg { + padding: 0.3em; + margin: 0; +} + +.MSearchBoxActive #MSearchField { + color: var(--search-active-color); +} + + + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid var(--search-filter-border-color); + background-color: var(--search-filter-background-color); + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt var(--font-family-search); + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: var(--font-family-monospace); + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: var(--search-filter-foreground-color); + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: var(--search-filter-foreground-color); + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: var(--search-filter-highlight-text-color); + background-color: var(--search-filter-highlight-bg-color); + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + /*width: 60ex;*/ + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid var(--search-results-border-color); + background-color: var(--search-results-background-color); + z-index:10000; + width: 300px; + height: 400px; + overflow: auto; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +div.SRPage { + margin: 5px 2px; + background-color: var(--search-results-background-color); +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); + font-size: 8pt; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; + font-family: var(--font-family-search); +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; + font-family: var(--font-family-search); +} + +.SRResult { + display: none; +} + +div.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: var(--nav-gradient-active-image-parent); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/doc/html/search/search.js b/doc/html/search/search.js new file mode 100644 index 00000000..6fd40c67 --- /dev/null +++ b/doc/html/search/search.js @@ -0,0 +1,840 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + e.stopPropagation(); + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var jsFile; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js'; + } + + var loadJS = function(url, impl, loc){ + var scriptTag = document.createElement('script'); + scriptTag.src = url; + scriptTag.onload = impl; + scriptTag.onreadystatechange = impl; + loc.appendChild(scriptTag); + } + + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + var domSearchBox = this.DOMSearchBox(); + var domPopupSearchResults = this.DOMPopupSearchResults(); + var domSearchClose = this.DOMSearchClose(); + var resultsPath = this.resultsPath; + + var handleResults = function() { + document.getElementById("Loading").style.display="none"; + if (typeof searchData !== 'undefined') { + createResults(resultsPath); + document.getElementById("NoMatches").style.display="none"; + } + + if (idx!=-1) { + searchResults.Search(searchValue); + } else { // no file with search results => force empty search results + searchResults.Search('===='); + } + + if (domPopupSearchResultsWindow.style.display!='block') + { + domSearchClose.style.display = 'inline-block'; + var left = getXPos(domSearchBox) + 150; + var top = getYPos(domSearchBox) + 20; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + var maxWidth = document.body.clientWidth; + var maxHeight = document.body.clientHeight; + var width = 300; + if (left<10) left=10; + if (width+left+8>maxWidth) width=maxWidth-left-8; + var height = 400; + if (height+top+8>maxHeight) height=maxHeight-top-8; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResultsWindow.style.height = height + 'px'; + } + } + + if (jsFile) { + loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow()); + } else { + handleResults(); + } + + this.lastSearchValue = searchValue; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + this.searchActive = true; + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + this.DOMSearchField().value = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults(resultsPath) +{ + var results = document.getElementById("SRResults"); + results.innerHTML = ''; + for (var e=0; e + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    _USB_CONFIG_DEscriptOR Member List
    +
    +
    + +

    This is the complete list of members for _USB_CONFIG_DEscriptOR, including all inherited members.

    + + + + + + + + + +
    bConfigurationvalue (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    bDescriptorType (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    bLength (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    bmAttributes (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    bNumInterfaces (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    iConfiguration (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    MaxPower (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    wTotalLength (defined in _USB_CONFIG_DEscriptOR)_USB_CONFIG_DEscriptOR
    +
    + + + + diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html new file mode 100644 index 00000000..6dd7201e --- /dev/null +++ b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r.html @@ -0,0 +1,140 @@ + + + + + + + +MakeBlock Drive Updated: _USB_CONFIG_DEscriptOR Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    _USB_CONFIG_DEscriptOR Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t bLength
     
    +uint8_t bDescriptorType
     
    +unsigned short wTotalLength
     
    +uint8_t bNumInterfaces
     
    +uint8_t bConfigurationvalue
     
    +uint8_t iConfiguration
     
    +uint8_t bmAttributes
     
    +uint8_t MaxPower
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g-members.html b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g-members.html new file mode 100644 index 00000000..f3e8ebb6 --- /dev/null +++ b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    _USB_CONFIG_DEscriptOR_LONG Member List
    +
    +
    + +

    This is the complete list of members for _USB_CONFIG_DEscriptOR_LONG, including all inherited members.

    + + + + +
    cfg_descr (defined in _USB_CONFIG_DEscriptOR_LONG)_USB_CONFIG_DEscriptOR_LONG
    endp_descr (defined in _USB_CONFIG_DEscriptOR_LONG)_USB_CONFIG_DEscriptOR_LONG
    itf_descr (defined in _USB_CONFIG_DEscriptOR_LONG)_USB_CONFIG_DEscriptOR_LONG
    +
    + + + + diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html new file mode 100644 index 00000000..9b170385 --- /dev/null +++ b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g.html @@ -0,0 +1,139 @@ + + + + + + + +MakeBlock Drive Updated: _USB_CONFIG_DEscriptOR_LONG Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    _USB_CONFIG_DEscriptOR_LONG Struct Reference
    +
    +
    +
    +Collaboration diagram for _USB_CONFIG_DEscriptOR_LONG:
    +
    +
    Collaboration graph
    + + + + + + + + + +
    [legend]
    + + + + + + + + +

    +Public Attributes

    +USB_CFG_DESCR cfg_descr
     
    +USB_ITF_DESCR itf_descr
     
    +USB_ENDP_DESCR endp_descr [4]
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.map b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.map new file mode 100644 index 00000000..3eebd192 --- /dev/null +++ b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.map @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.md5 b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.md5 new file mode 100644 index 00000000..b11c05ed --- /dev/null +++ b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.md5 @@ -0,0 +1 @@ +48876eafcf1a084c919c4adf5871d7c5 \ No newline at end of file diff --git a/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.png b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.png new file mode 100644 index 00000000..5901cdb4 Binary files /dev/null and b/doc/html/struct___u_s_b___c_o_n_f_i_g___d_escript_o_r___l_o_n_g__coll__graph.png differ diff --git a/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r-members.html b/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r-members.html new file mode 100644 index 00000000..a7b10a73 --- /dev/null +++ b/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r-members.html @@ -0,0 +1,122 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    _USB_DEVICE_DEscriptOR Member List
    +
    +
    + +

    This is the complete list of members for _USB_DEVICE_DEscriptOR, including all inherited members.

    + + + + + + + + + + + + + + + +
    bcdDevice (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bcdUSB (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bDescriptorType (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bDeviceClass (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bDeviceProtocol (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bDeviceSubClass (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bLength (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bMaxPacketSize0 (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    bNumConfigurations (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    idProduct (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    idVendor (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    iManufacturer (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    iProduct (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    iSerialNumber (defined in _USB_DEVICE_DEscriptOR)_USB_DEVICE_DEscriptOR
    +
    + + + + diff --git a/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html b/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html new file mode 100644 index 00000000..ea2f8fb8 --- /dev/null +++ b/doc/html/struct___u_s_b___d_e_v_i_c_e___d_escript_o_r.html @@ -0,0 +1,158 @@ + + + + + + + +MakeBlock Drive Updated: _USB_DEVICE_DEscriptOR Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    _USB_DEVICE_DEscriptOR Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t bLength
     
    +uint8_t bDescriptorType
     
    +unsigned short bcdUSB
     
    +uint8_t bDeviceClass
     
    +uint8_t bDeviceSubClass
     
    +uint8_t bDeviceProtocol
     
    +uint8_t bMaxPacketSize0
     
    +unsigned short idVendor
     
    +unsigned short idProduct
     
    +unsigned short bcdDevice
     
    +uint8_t iManufacturer
     
    +uint8_t iProduct
     
    +uint8_t iSerialNumber
     
    +uint8_t bNumConfigurations
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r-members.html b/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r-members.html new file mode 100644 index 00000000..42404d48 --- /dev/null +++ b/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r-members.html @@ -0,0 +1,114 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    _USB_ENDPOINT_DEscriptOR Member List
    +
    +
    + +

    This is the complete list of members for _USB_ENDPOINT_DEscriptOR, including all inherited members.

    + + + + + + + +
    bDescriptorType (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    bEndpointAddress (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    bInterval (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    bLength (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    bmAttributes (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    wMaxPacketSize (defined in _USB_ENDPOINT_DEscriptOR)_USB_ENDPOINT_DEscriptOR
    +
    + + + + diff --git a/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html b/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html new file mode 100644 index 00000000..64bfba8a --- /dev/null +++ b/doc/html/struct___u_s_b___e_n_d_p_o_i_n_t___d_escript_o_r.html @@ -0,0 +1,134 @@ + + + + + + + +MakeBlock Drive Updated: _USB_ENDPOINT_DEscriptOR Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    _USB_ENDPOINT_DEscriptOR Struct Reference
    +
    +
    + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t bLength
     
    +uint8_t bDescriptorType
     
    +uint8_t bEndpointAddress
     
    +uint8_t bmAttributes
     
    +unsigned short wMaxPacketSize
     
    +uint8_t bInterval
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r-members.html b/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r-members.html new file mode 100644 index 00000000..7ea00543 --- /dev/null +++ b/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r-members.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    _USB_INTERF_DEscriptOR Member List
    +
    +
    + +

    This is the complete list of members for _USB_INTERF_DEscriptOR, including all inherited members.

    + + + + + + + + + + +
    bAlternateSetting (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bDescriptorType (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bInterfaceClass (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bInterfaceNumber (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bInterfaceProtocol (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bInterfaceSubClass (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bLength (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    bNumEndpoints (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    iInterface (defined in _USB_INTERF_DEscriptOR)_USB_INTERF_DEscriptOR
    +
    + + + + diff --git a/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html b/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html new file mode 100644 index 00000000..10f4eb60 --- /dev/null +++ b/doc/html/struct___u_s_b___i_n_t_e_r_f___d_escript_o_r.html @@ -0,0 +1,143 @@ + + + + + + + +MakeBlock Drive Updated: _USB_INTERF_DEscriptOR Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    _USB_INTERF_DEscriptOR Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t bLength
     
    +uint8_t bDescriptorType
     
    +uint8_t bInterfaceNumber
     
    +uint8_t bAlternateSetting
     
    +uint8_t bNumEndpoints
     
    +uint8_t bInterfaceClass
     
    +uint8_t bInterfaceSubClass
     
    +uint8_t bInterfaceProtocol
     
    +uint8_t iInterface
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_cmd__list__tab__type-members.html b/doc/html/struct_cmd__list__tab__type-members.html new file mode 100644 index 00000000..2a123937 --- /dev/null +++ b/doc/html/struct_cmd__list__tab__type-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Cmd_list_tab_type Member List
    +
    +
    + +

    This is the complete list of members for Cmd_list_tab_type, including all inherited members.

    + + + + +
    request_fun (defined in Cmd_list_tab_type)Cmd_list_tab_type
    response_fun (defined in Cmd_list_tab_type)Cmd_list_tab_type
    service_id (defined in Cmd_list_tab_type)Cmd_list_tab_type
    +
    + + + + diff --git a/doc/html/struct_cmd__list__tab__type.html b/doc/html/struct_cmd__list__tab__type.html new file mode 100644 index 00000000..08213a49 --- /dev/null +++ b/doc/html/struct_cmd__list__tab__type.html @@ -0,0 +1,125 @@ + + + + + + + +MakeBlock Drive Updated: Cmd_list_tab_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    Cmd_list_tab_type Struct Reference
    +
    +
    + + + + + + + + +

    +Public Attributes

    +uint8_t service_id
     
    +void(* request_fun )(void *arg)
     
    +void(* response_fun )(void *arg)
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_compass___calibration___parameter-members.html b/doc/html/struct_compass___calibration___parameter-members.html new file mode 100644 index 00000000..c3e0915e --- /dev/null +++ b/doc/html/struct_compass___calibration___parameter-members.html @@ -0,0 +1,116 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Compass_Calibration_Parameter Member List
    +
    + +
    + + + + diff --git a/doc/html/struct_compass___calibration___parameter.html b/doc/html/struct_compass___calibration___parameter.html new file mode 100644 index 00000000..196afdb5 --- /dev/null +++ b/doc/html/struct_compass___calibration___parameter.html @@ -0,0 +1,140 @@ + + + + + + + +MakeBlock Drive Updated: Compass_Calibration_Parameter Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    Compass_Calibration_Parameter Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +float X_excursion
     
    +float Y_excursion
     
    +float Z_excursion
     
    +float X_gain
     
    +float Y_gain
     
    +float Z_gain
     
    +uint8_t Rotation_Axis
     
    +uint8_t verify_flag
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_e_e_p_r_o_m_class-members.html b/doc/html/struct_e_e_p_r_o_m_class-members.html new file mode 100644 index 00000000..0ae99a16 --- /dev/null +++ b/doc/html/struct_e_e_p_r_o_m_class-members.html @@ -0,0 +1,117 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    EEPROMClass Member List
    +
    +
    + +

    This is the complete list of members for EEPROMClass, including all inherited members.

    + + + + + + + + + + +
    begin() (defined in EEPROMClass)EEPROMClassinline
    end() (defined in EEPROMClass)EEPROMClassinline
    get(int idx, T &t) (defined in EEPROMClass)EEPROMClassinline
    length() (defined in EEPROMClass)EEPROMClassinline
    operator[](const int idx) (defined in EEPROMClass)EEPROMClassinline
    put(int idx, const T &t) (defined in EEPROMClass)EEPROMClassinline
    read(int idx) (defined in EEPROMClass)EEPROMClassinline
    update(int idx, uint8_t val) (defined in EEPROMClass)EEPROMClassinline
    write(int idx, uint8_t val) (defined in EEPROMClass)EEPROMClassinline
    +
    + + + + diff --git a/doc/html/struct_e_e_p_r_o_m_class.html b/doc/html/struct_e_e_p_r_o_m_class.html new file mode 100644 index 00000000..cb918769 --- /dev/null +++ b/doc/html/struct_e_e_p_r_o_m_class.html @@ -0,0 +1,145 @@ + + + + + + + +MakeBlock Drive Updated: EEPROMClass Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    EEPROMClass Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    +EERef operator[] (const int idx)
     
    +uint8_t read (int idx)
     
    +void write (int idx, uint8_t val)
     
    +void update (int idx, uint8_t val)
     
    +EEPtr begin ()
     
    +EEPtr end ()
     
    +uint16_t length ()
     
    +template<typename T >
    T & get (int idx, T &t)
     
    +template<typename T >
    const T & put (int idx, const T &t)
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_e_e_ptr-members.html b/doc/html/struct_e_e_ptr-members.html new file mode 100644 index 00000000..bf425e17 --- /dev/null +++ b/doc/html/struct_e_e_ptr-members.html @@ -0,0 +1,118 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    EEPtr Member List
    +
    +
    + +

    This is the complete list of members for EEPtr, including all inherited members.

    + + + + + + + + + + + +
    EEPtr(const int index) (defined in EEPtr)EEPtrinline
    index (defined in EEPtr)EEPtr
    operator int() const (defined in EEPtr)EEPtrinline
    operator!=(const EEPtr &ptr) (defined in EEPtr)EEPtrinline
    operator*() (defined in EEPtr)EEPtrinline
    operator++()EEPtrinline
    operator++(int) (defined in EEPtr)EEPtrinline
    operator--() (defined in EEPtr)EEPtrinline
    operator--(int) (defined in EEPtr)EEPtrinline
    operator=(int in) (defined in EEPtr)EEPtrinline
    +
    + + + + diff --git a/doc/html/struct_e_e_ptr.html b/doc/html/struct_e_e_ptr.html new file mode 100644 index 00000000..adf45295 --- /dev/null +++ b/doc/html/struct_e_e_ptr.html @@ -0,0 +1,176 @@ + + + + + + + +MakeBlock Drive Updated: EEPtr Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    EEPtr (const int index)
     
    operator int () const
     
    +EEPtroperator= (int in)
     
    +bool operator!= (const EEPtr &ptr)
     
    +EERef operator* ()
     
    EEPtroperator++ ()
     
    +EEPtroperator-- ()
     
    +EEPtr operator++ (int)
     
    +EEPtr operator-- (int)
     
    + + + +

    +Public Attributes

    +int index
     
    +

    Member Function Documentation

    + +

    ◆ operator++()

    + +
    +
    + + + + + +
    + + + + + + + +
    EEPtr & EEPtr::operator++ ()
    +
    +inline
    +
    +

    Prefix & Postfix increment/decrement

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_e_e_ptr.js b/doc/html/struct_e_e_ptr.js new file mode 100644 index 00000000..674edb0f --- /dev/null +++ b/doc/html/struct_e_e_ptr.js @@ -0,0 +1,4 @@ +var struct_e_e_ptr = +[ + [ "operator++", "struct_e_e_ptr.html#a7473bc4e92c4970fb5414d050265a981", null ] +]; \ No newline at end of file diff --git a/doc/html/struct_e_e_ref-members.html b/doc/html/struct_e_e_ref-members.html new file mode 100644 index 00000000..f9e82729 --- /dev/null +++ b/doc/html/struct_e_e_ref-members.html @@ -0,0 +1,129 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    EERef Member List
    +
    +
    + +

    This is the complete list of members for EERef, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + +
    EERef(const int index) (defined in EERef)EERefinline
    index (defined in EERef)EERef
    operator uint8_t() const (defined in EERef)EERefinline
    operator%=(uint8_t in) (defined in EERef)EERefinline
    operator&=(uint8_t in) (defined in EERef)EERefinline
    operator*() const (defined in EERef)EERefinline
    operator*=(uint8_t in) (defined in EERef)EERefinline
    operator++()EERefinline
    operator++(int)EERefinline
    operator+=(uint8_t in) (defined in EERef)EERefinline
    operator--() (defined in EERef)EERefinline
    operator--(int) (defined in EERef)EERefinline
    operator-=(uint8_t in) (defined in EERef)EERefinline
    operator/=(uint8_t in) (defined in EERef)EERefinline
    operator<<=(uint8_t in) (defined in EERef)EERefinline
    operator=(const EERef &ref) (defined in EERef)EERefinline
    operator=(uint8_t in) (defined in EERef)EERefinline
    operator>>=(uint8_t in) (defined in EERef)EERefinline
    operator^=(uint8_t in) (defined in EERef)EERefinline
    operator|=(uint8_t in) (defined in EERef)EERefinline
    update(uint8_t in) (defined in EERef)EERefinline
    +
    + + + + diff --git a/doc/html/struct_e_e_ref.html b/doc/html/struct_e_e_ref.html new file mode 100644 index 00000000..4fee6348 --- /dev/null +++ b/doc/html/struct_e_e_ref.html @@ -0,0 +1,235 @@ + + + + + + + +MakeBlock Drive Updated: EERef Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    EERef (const int index)
     
    +uint8_t operator* () const
     
    operator uint8_t () const
     
    +EERefoperator= (const EERef &ref)
     
    +EERefoperator= (uint8_t in)
     
    +EERefoperator+= (uint8_t in)
     
    +EERefoperator-= (uint8_t in)
     
    +EERefoperator*= (uint8_t in)
     
    +EERefoperator/= (uint8_t in)
     
    +EERefoperator^= (uint8_t in)
     
    +EERefoperator%= (uint8_t in)
     
    +EERefoperator&= (uint8_t in)
     
    +EERefoperator|= (uint8_t in)
     
    +EERefoperator<<= (uint8_t in)
     
    +EERefoperator>>= (uint8_t in)
     
    +EERefupdate (uint8_t in)
     
    EERefoperator++ ()
     
    +EERefoperator-- ()
     
    uint8_t operator++ (int)
     
    +uint8_t operator-- (int)
     
    + + + +

    +Public Attributes

    +int index
     
    +

    Member Function Documentation

    + +

    ◆ operator++() [1/2]

    + +
    +
    + + + + + +
    + + + + + + + +
    EERef & EERef::operator++ ()
    +
    +inline
    +
    +

    Prefix increment/decrement

    + +
    +
    + +

    ◆ operator++() [2/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    uint8_t EERef::operator++ (int )
    +
    +inline
    +
    +

    Postfix increment/decrement

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_e_e_ref.js b/doc/html/struct_e_e_ref.js new file mode 100644 index 00000000..14b4e447 --- /dev/null +++ b/doc/html/struct_e_e_ref.js @@ -0,0 +1,5 @@ +var struct_e_e_ref = +[ + [ "operator++", "struct_e_e_ref.html#a5b230b800d3bf6fa6396aba8a3ac5cdb", null ], + [ "operator++", "struct_e_e_ref.html#a8020a7251293e013d26587935ce8905d", null ] +]; \ No newline at end of file diff --git a/doc/html/struct_encoder__port__type-members.html b/doc/html/struct_encoder__port__type-members.html new file mode 100644 index 00000000..b93c87d2 --- /dev/null +++ b/doc/html/struct_encoder__port__type-members.html @@ -0,0 +1,113 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Encoder_port_type Member List
    +
    +
    + +

    This is the complete list of members for Encoder_port_type, including all inherited members.

    + + + + + + +
    port_A (defined in Encoder_port_type)Encoder_port_type
    port_B (defined in Encoder_port_type)Encoder_port_type
    port_H1 (defined in Encoder_port_type)Encoder_port_type
    port_H2 (defined in Encoder_port_type)Encoder_port_type
    port_PWM (defined in Encoder_port_type)Encoder_port_type
    +
    + + + + diff --git a/doc/html/struct_encoder__port__type.html b/doc/html/struct_encoder__port__type.html new file mode 100644 index 00000000..7ba5531c --- /dev/null +++ b/doc/html/struct_encoder__port__type.html @@ -0,0 +1,131 @@ + + + + + + + +MakeBlock Drive Updated: Encoder_port_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    Encoder_port_type Struct Reference
    +
    +
    + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t port_A
     
    +uint8_t port_B
     
    +uint8_t port_PWM
     
    +uint8_t port_H1
     
    +uint8_t port_H2
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def-members.html b/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def-members.html new file mode 100644 index 00000000..a6b7b90b --- /dev/null +++ b/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def-members.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    LED_Matrix_Clock_Number_Font_3x8_TypeDef Member List
    +
    +
    + +

    This is the complete list of members for LED_Matrix_Clock_Number_Font_3x8_TypeDef, including all inherited members.

    + + +
    data (defined in LED_Matrix_Clock_Number_Font_3x8_TypeDef)LED_Matrix_Clock_Number_Font_3x8_TypeDef
    +
    + + + + diff --git a/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def.html b/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def.html new file mode 100644 index 00000000..25a97976 --- /dev/null +++ b/doc/html/struct_l_e_d___matrix___clock___number___font__3x8___type_def.html @@ -0,0 +1,119 @@ + + + + + + + +MakeBlock Drive Updated: LED_Matrix_Clock_Number_Font_3x8_TypeDef Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    LED_Matrix_Clock_Number_Font_3x8_TypeDef Struct Reference
    +
    +
    + + + + +

    +Public Attributes

    +uint8_t data [3]
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_l_e_d___matrix___font__6x8___type_def-members.html b/doc/html/struct_l_e_d___matrix___font__6x8___type_def-members.html new file mode 100644 index 00000000..79c853d0 --- /dev/null +++ b/doc/html/struct_l_e_d___matrix___font__6x8___type_def-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    LED_Matrix_Font_6x8_TypeDef Member List
    +
    +
    + +

    This is the complete list of members for LED_Matrix_Font_6x8_TypeDef, including all inherited members.

    + + + +
    Character (defined in LED_Matrix_Font_6x8_TypeDef)LED_Matrix_Font_6x8_TypeDef
    data (defined in LED_Matrix_Font_6x8_TypeDef)LED_Matrix_Font_6x8_TypeDef
    +
    + + + + diff --git a/doc/html/struct_l_e_d___matrix___font__6x8___type_def.html b/doc/html/struct_l_e_d___matrix___font__6x8___type_def.html new file mode 100644 index 00000000..95a36398 --- /dev/null +++ b/doc/html/struct_l_e_d___matrix___font__6x8___type_def.html @@ -0,0 +1,122 @@ + + + + + + + +MakeBlock Drive Updated: LED_Matrix_Font_6x8_TypeDef Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    LED_Matrix_Font_6x8_TypeDef Struct Reference
    +
    +
    + + + + + + +

    +Public Attributes

    +uint8_t Character [1]
     
    +uint8_t data [6]
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_me___encoder__type-members.html b/doc/html/struct_me___encoder__type-members.html new file mode 100644 index 00000000..e17c0886 --- /dev/null +++ b/doc/html/struct_me___encoder__type-members.html @@ -0,0 +1,124 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Me_Encoder_type Member List
    +
    +
    + +

    This is the complete list of members for Me_Encoder_type, including all inherited members.

    + + + + + + + + + + + + + + + + + +
    currentPos (defined in Me_Encoder_type)Me_Encoder_type
    currentPwm (defined in Me_Encoder_type)Me_Encoder_type
    currentSpeed (defined in Me_Encoder_type)Me_Encoder_type
    mode (defined in Me_Encoder_type)Me_Encoder_type
    motionState (defined in Me_Encoder_type)Me_Encoder_type
    PID_pos (defined in Me_Encoder_type)Me_Encoder_type
    PID_speed (defined in Me_Encoder_type)Me_Encoder_type
    previousPos (defined in Me_Encoder_type)Me_Encoder_type
    previousPwm (defined in Me_Encoder_type)Me_Encoder_type
    previousSpeed (defined in Me_Encoder_type)Me_Encoder_type
    pulseEncoder (defined in Me_Encoder_type)Me_Encoder_type
    pulsePos (defined in Me_Encoder_type)Me_Encoder_type
    ratio (defined in Me_Encoder_type)Me_Encoder_type
    targetPos (defined in Me_Encoder_type)Me_Encoder_type
    targetPwm (defined in Me_Encoder_type)Me_Encoder_type
    targetSpeed (defined in Me_Encoder_type)Me_Encoder_type
    +
    + + + + diff --git a/doc/html/struct_me___encoder__type.html b/doc/html/struct_me___encoder__type.html new file mode 100644 index 00000000..7b4528bc --- /dev/null +++ b/doc/html/struct_me___encoder__type.html @@ -0,0 +1,174 @@ + + + + + + + +MakeBlock Drive Updated: Me_Encoder_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    Me_Encoder_type Struct Reference
    +
    +
    +
    +Collaboration diagram for Me_Encoder_type:
    +
    +
    Collaboration graph
    + + + + + +
    [legend]
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t mode
     
    +uint8_t motionState
     
    +int16_t pulseEncoder
     
    +int16_t currentPwm
     
    +int16_t targetPwm
     
    +int16_t previousPwm
     
    +float currentSpeed
     
    +float targetSpeed
     
    +float previousSpeed
     
    +float ratio
     
    +long currentPos
     
    +long targetPos
     
    +long previousPos
     
    +long pulsePos
     
    +PID_internal PID_speed
     
    +PID_internal PID_pos
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_me___encoder__type__coll__graph.map b/doc/html/struct_me___encoder__type__coll__graph.map new file mode 100644 index 00000000..1fbbb82d --- /dev/null +++ b/doc/html/struct_me___encoder__type__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/struct_me___encoder__type__coll__graph.md5 b/doc/html/struct_me___encoder__type__coll__graph.md5 new file mode 100644 index 00000000..b8ac9ed2 --- /dev/null +++ b/doc/html/struct_me___encoder__type__coll__graph.md5 @@ -0,0 +1 @@ +827f4555fc4ba02ee52ef4680504925c \ No newline at end of file diff --git a/doc/html/struct_me___encoder__type__coll__graph.png b/doc/html/struct_me___encoder__type__coll__graph.png new file mode 100644 index 00000000..38fc255d Binary files /dev/null and b/doc/html/struct_me___encoder__type__coll__graph.png differ diff --git a/doc/html/struct_me_port___sig-members.html b/doc/html/struct_me_port___sig-members.html new file mode 100644 index 00000000..883fd403 --- /dev/null +++ b/doc/html/struct_me_port___sig-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    MePort_Sig Member List
    +
    +
    + +

    This is the complete list of members for MePort_Sig, including all inherited members.

    + + + +
    s1 (defined in MePort_Sig)MePort_Sig
    s2 (defined in MePort_Sig)MePort_Sig
    +
    + + + + diff --git a/doc/html/struct_me_port___sig.html b/doc/html/struct_me_port___sig.html new file mode 100644 index 00000000..67e2accf --- /dev/null +++ b/doc/html/struct_me_port___sig.html @@ -0,0 +1,126 @@ + + + + + + + +MakeBlock Drive Updated: MePort_Sig Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    MePort_Sig Struct Reference
    +
    +
    + +

    #include <src/MePort.h>

    + + + + + + +

    +Public Attributes

    +uint8_t s1
     
    +uint8_t s2
     
    +

    Detailed Description

    +

    A structure to represent MePort Signal.

    +

    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_p_i_d__internal-members.html b/doc/html/struct_p_i_d__internal-members.html new file mode 100644 index 00000000..8129b303 --- /dev/null +++ b/doc/html/struct_p_i_d__internal-members.html @@ -0,0 +1,116 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    PID_internal Member List
    +
    +
    + +

    This is the complete list of members for PID_internal, including all inherited members.

    + + + + + + + + + +
    D (defined in PID_internal)PID_internal
    differential (defined in PID_internal)PID_internal
    I (defined in PID_internal)PID_internal
    Integral (defined in PID_internal)PID_internal
    last_error (defined in PID_internal)PID_internal
    Output (defined in PID_internal)PID_internal
    P (defined in PID_internal)PID_internal
    Setpoint (defined in PID_internal)PID_internal
    +
    + + + + diff --git a/doc/html/struct_p_i_d__internal.html b/doc/html/struct_p_i_d__internal.html new file mode 100644 index 00000000..841f2c2f --- /dev/null +++ b/doc/html/struct_p_i_d__internal.html @@ -0,0 +1,140 @@ + + + + + + + +MakeBlock Drive Updated: PID_internal Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    PID_internal Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +float P
     
    +float I
     
    +float D
     
    +float Setpoint
     
    +float Output
     
    +float Integral
     
    +float differential
     
    +float last_error
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t-members.html b/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t-members.html new file mode 100644 index 00000000..614ece5d --- /dev/null +++ b/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t-members.html @@ -0,0 +1,123 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    PM25DATASTRUCT Member List
    +
    +
    + +

    This is the complete list of members for PM25DATASTRUCT, including all inherited members.

    + + + + + + + + + + + + + + + + +
    checksum (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data1 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data10 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data11 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data12 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data13 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data2 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data3 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data4 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data5 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data6 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data7 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data8 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    data9 (defined in PM25DATASTRUCT)PM25DATASTRUCT
    len (defined in PM25DATASTRUCT)PM25DATASTRUCT
    +
    + + + + diff --git a/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t.html b/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t.html new file mode 100644 index 00000000..f49311b8 --- /dev/null +++ b/doc/html/struct_p_m25_d_a_t_a_s_t_r_u_c_t.html @@ -0,0 +1,161 @@ + + + + + + + +MakeBlock Drive Updated: PM25DATASTRUCT Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    PM25DATASTRUCT Struct Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    +uint16_t len
     
    +uint16_t data1
     
    +uint16_t data2
     
    +uint16_t data3
     
    +uint16_t data4
     
    +uint16_t data5
     
    +uint16_t data6
     
    +uint16_t data7
     
    +uint16_t data8
     
    +uint16_t data9
     
    +uint16_t data10
     
    +uint16_t data11
     
    +uint16_t data12
     
    +uint16_t data13
     
    +uint16_t checksum
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_servo_pin__t-members.html b/doc/html/struct_servo_pin__t-members.html new file mode 100644 index 00000000..17ab83dc --- /dev/null +++ b/doc/html/struct_servo_pin__t-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    ServoPin_t Member List
    +
    +
    + +

    This is the complete list of members for ServoPin_t, including all inherited members.

    + + + +
    isActive (defined in ServoPin_t)ServoPin_t
    nbr (defined in ServoPin_t)ServoPin_t
    +
    + + + + diff --git a/doc/html/struct_servo_pin__t.html b/doc/html/struct_servo_pin__t.html new file mode 100644 index 00000000..9ad9b5eb --- /dev/null +++ b/doc/html/struct_servo_pin__t.html @@ -0,0 +1,122 @@ + + + + + + + +MakeBlock Drive Updated: ServoPin_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    ServoPin_t Struct Reference
    +
    +
    + + + + + + +

    +Public Attributes

    +uint8_t nbr:7
     
    +uint8_t isActive:1
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structc_r_g_b-members.html b/doc/html/structc_r_g_b-members.html new file mode 100644 index 00000000..bb0bdb77 --- /dev/null +++ b/doc/html/structc_r_g_b-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    cRGB Member List
    +
    +
    + +

    This is the complete list of members for cRGB, including all inherited members.

    + + + + +
    b (defined in cRGB)cRGB
    g (defined in cRGB)cRGB
    r (defined in cRGB)cRGB
    +
    + + + + diff --git a/doc/html/structc_r_g_b.html b/doc/html/structc_r_g_b.html new file mode 100644 index 00000000..bde10634 --- /dev/null +++ b/doc/html/structc_r_g_b.html @@ -0,0 +1,132 @@ + + + + + + + +MakeBlock Drive Updated: cRGB Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    cRGB Struct Reference
    +
    +
    + +

    Class for RGB Led Module. + More...

    + +

    #include <src/MeRGBLed.h>

    + + + + + + + + +

    +Public Attributes

    +uint8_t g
     
    +uint8_t r
     
    +uint8_t b
     
    +

    Detailed Description

    +

    Class for RGB Led Module.

    +

    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structirparams__t-members.html b/doc/html/structirparams__t-members.html new file mode 100644 index 00000000..8f129435 --- /dev/null +++ b/doc/html/structirparams__t-members.html @@ -0,0 +1,114 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    irparams_t Member List
    +
    +
    + +

    This is the complete list of members for irparams_t, including all inherited members.

    + + + + + + + +
    lastTime (defined in irparams_t)irparams_t
    rawbuf (defined in irparams_t)irparams_t
    rawlen (defined in irparams_t)irparams_t
    rcvstate (defined in irparams_t)irparams_t
    recvpin (defined in irparams_t)irparams_t
    timer (defined in irparams_t)irparams_t
    +
    + + + + diff --git a/doc/html/structirparams__t.html b/doc/html/structirparams__t.html new file mode 100644 index 00000000..d2b2173c --- /dev/null +++ b/doc/html/structirparams__t.html @@ -0,0 +1,134 @@ + + + + + + + +MakeBlock Drive Updated: irparams_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    irparams_t Struct Reference
    +
    +
    + + + + + + + + + + + + + + +

    +Public Attributes

    +uint8_t recvpin
     
    +volatile uint8_t rcvstate
     
    +volatile uint32_t lastTime
     
    +unsigned int timer
     
    +volatile uint8_t rawbuf [RAWBUF]
     
    +volatile uint8_t rawlen
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structmega_pi__slot-members.html b/doc/html/structmega_pi__slot-members.html new file mode 100644 index 00000000..2a7716dd --- /dev/null +++ b/doc/html/structmega_pi__slot-members.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    megaPi_slot Member List
    +
    +
    + +

    This is the complete list of members for megaPi_slot, including all inherited members.

    + + +
    pin (defined in megaPi_slot)megaPi_slot
    +
    + + + + diff --git a/doc/html/structmega_pi__slot.html b/doc/html/structmega_pi__slot.html new file mode 100644 index 00000000..f6308f45 --- /dev/null +++ b/doc/html/structmega_pi__slot.html @@ -0,0 +1,119 @@ + + + + + + + +MakeBlock Drive Updated: megaPi_slot Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    megaPi_slot Struct Reference
    +
    +
    + + + + +

    +Public Attributes

    +uint8_t pin [SLOT_NUM_PINS]
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structmegapi__dc__type-members.html b/doc/html/structmegapi__dc__type-members.html new file mode 100644 index 00000000..1e705994 --- /dev/null +++ b/doc/html/structmegapi__dc__type-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    megapi_dc_type Member List
    +
    +
    + +

    This is the complete list of members for megapi_dc_type, including all inherited members.

    + + + + +
    dc_dir_h1 (defined in megapi_dc_type)megapi_dc_type
    dc_dir_h2 (defined in megapi_dc_type)megapi_dc_type
    pwm_pin (defined in megapi_dc_type)megapi_dc_type
    +
    + + + + diff --git a/doc/html/structmegapi__dc__type.html b/doc/html/structmegapi__dc__type.html new file mode 100644 index 00000000..9fa29549 --- /dev/null +++ b/doc/html/structmegapi__dc__type.html @@ -0,0 +1,125 @@ + + + + + + + +MakeBlock Drive Updated: megapi_dc_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    megapi_dc_type Struct Reference
    +
    +
    + + + + + + + + +

    +Public Attributes

    +uint8_t dc_dir_h1
     
    +uint8_t dc_dir_h2
     
    +uint8_t pwm_pin
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structmegapipro__esc__type-members.html b/doc/html/structmegapipro__esc__type-members.html new file mode 100644 index 00000000..c48991fd --- /dev/null +++ b/doc/html/structmegapipro__esc__type-members.html @@ -0,0 +1,109 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    megapipro_esc_type Member List
    +
    +
    + +

    This is the complete list of members for megapipro_esc_type, including all inherited members.

    + + +
    pwm_pin (defined in megapipro_esc_type)megapipro_esc_type
    +
    + + + + diff --git a/doc/html/structmegapipro__esc__type.html b/doc/html/structmegapipro__esc__type.html new file mode 100644 index 00000000..698f1406 --- /dev/null +++ b/doc/html/structmegapipro__esc__type.html @@ -0,0 +1,119 @@ + + + + + + + +MakeBlock Drive Updated: megapipro_esc_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    megapipro_esc_type Struct Reference
    +
    +
    + + + + +

    +Public Attributes

    +uint8_t pwm_pin
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structservo__device__type-members.html b/doc/html/structservo__device__type-members.html new file mode 100644 index 00000000..bd8fba7a --- /dev/null +++ b/doc/html/structservo__device__type-members.html @@ -0,0 +1,113 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    servo_device_type Member List
    +
    +
    + +

    This is the complete list of members for servo_device_type, including all inherited members.

    + + + + + + +
    angleValue (defined in servo_device_type)servo_device_type
    current (defined in servo_device_type)servo_device_type
    servoSpeed (defined in servo_device_type)servo_device_type
    temperature (defined in servo_device_type)servo_device_type
    voltage (defined in servo_device_type)servo_device_type
    +
    + + + + diff --git a/doc/html/structservo__device__type.html b/doc/html/structservo__device__type.html new file mode 100644 index 00000000..2bf47c68 --- /dev/null +++ b/doc/html/structservo__device__type.html @@ -0,0 +1,131 @@ + + + + + + + +MakeBlock Drive Updated: servo_device_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    servo_device_type Struct Reference
    +
    +
    + + + + + + + + + + + + +

    +Public Attributes

    +long angleValue
     
    +float servoSpeed
     
    +float voltage
     
    +float temperature
     
    +float current
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structservo__t-members.html b/doc/html/structservo__t-members.html new file mode 100644 index 00000000..90929d0e --- /dev/null +++ b/doc/html/structservo__t-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    servo_t Member List
    +
    +
    + +

    This is the complete list of members for servo_t, including all inherited members.

    + + + +
    Pin (defined in servo_t)servo_t
    ticks (defined in servo_t)servo_t
    +
    + + + + diff --git a/doc/html/structservo__t.html b/doc/html/structservo__t.html new file mode 100644 index 00000000..ea113aa1 --- /dev/null +++ b/doc/html/structservo__t.html @@ -0,0 +1,132 @@ + + + + + + + +MakeBlock Drive Updated: servo_t Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    servo_t Struct Reference
    +
    +
    +
    +Collaboration diagram for servo_t:
    +
    +
    Collaboration graph
    + + + + + +
    [legend]
    + + + + + + +

    +Public Attributes

    +ServoPin_t Pin
     
    +volatile unsigned int ticks
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/structservo__t__coll__graph.map b/doc/html/structservo__t__coll__graph.map new file mode 100644 index 00000000..ac0bd4ef --- /dev/null +++ b/doc/html/structservo__t__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/structservo__t__coll__graph.md5 b/doc/html/structservo__t__coll__graph.md5 new file mode 100644 index 00000000..dc704635 --- /dev/null +++ b/doc/html/structservo__t__coll__graph.md5 @@ -0,0 +1 @@ +7c0a9f6e6565c3975571588a1bc45253 \ No newline at end of file diff --git a/doc/html/structservo__t__coll__graph.png b/doc/html/structservo__t__coll__graph.png new file mode 100644 index 00000000..a4a084d9 Binary files /dev/null and b/doc/html/structservo__t__coll__graph.png differ diff --git a/doc/html/structsysex__message__type-members.html b/doc/html/structsysex__message__type-members.html new file mode 100644 index 00000000..d807c438 --- /dev/null +++ b/doc/html/structsysex__message__type-members.html @@ -0,0 +1,111 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    sysex_message_type Member List
    +
    +
    + +

    This is the complete list of members for sysex_message_type, including all inherited members.

    + + + + +
    dev_id (defined in sysex_message_type)sysex_message_type
    srv_id (defined in sysex_message_type)sysex_message_type
    value (defined in sysex_message_type)sysex_message_type
    +
    + + + + diff --git a/doc/html/structsysex__message__type.html b/doc/html/structsysex__message__type.html new file mode 100644 index 00000000..7249e55f --- /dev/null +++ b/doc/html/structsysex__message__type.html @@ -0,0 +1,125 @@ + + + + + + + +MakeBlock Drive Updated: sysex_message_type Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    sysex_message_type Struct Reference
    +
    +
    + + + + + + + + +

    +Public Attributes

    +uint8_t dev_id
     
    +uint8_t srv_id
     
    +uint8_t value [DEFAULT_UART_BUF_SIZE - 2]
     
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/sync_off.png b/doc/html/sync_off.png new file mode 100644 index 00000000..3b443fc6 Binary files /dev/null and b/doc/html/sync_off.png differ diff --git a/doc/html/sync_on.png b/doc/html/sync_on.png new file mode 100644 index 00000000..e08320fb Binary files /dev/null and b/doc/html/sync_on.png differ diff --git a/doc/html/tab_a.png b/doc/html/tab_a.png new file mode 100644 index 00000000..3b725c41 Binary files /dev/null and b/doc/html/tab_a.png differ diff --git a/doc/html/tab_ad.png b/doc/html/tab_ad.png new file mode 100644 index 00000000..e34850ac Binary files /dev/null and b/doc/html/tab_ad.png differ diff --git a/doc/html/tab_b.png b/doc/html/tab_b.png new file mode 100644 index 00000000..e2b4a863 Binary files /dev/null and b/doc/html/tab_b.png differ diff --git a/doc/html/tab_bd.png b/doc/html/tab_bd.png new file mode 100644 index 00000000..91c25249 Binary files /dev/null and b/doc/html/tab_bd.png differ diff --git a/doc/html/tab_h.png b/doc/html/tab_h.png new file mode 100644 index 00000000..fd5cb705 Binary files /dev/null and b/doc/html/tab_h.png differ diff --git a/doc/html/tab_hd.png b/doc/html/tab_hd.png new file mode 100644 index 00000000..2489273d Binary files /dev/null and b/doc/html/tab_hd.png differ diff --git a/doc/html/tab_s.png b/doc/html/tab_s.png new file mode 100644 index 00000000..ab478c95 Binary files /dev/null and b/doc/html/tab_s.png differ diff --git a/doc/html/tab_sd.png b/doc/html/tab_sd.png new file mode 100644 index 00000000..757a565c Binary files /dev/null and b/doc/html/tab_sd.png differ diff --git a/doc/html/tabs.css b/doc/html/tabs.css new file mode 100644 index 00000000..71c8a470 --- /dev/null +++ b/doc/html/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:0}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important;color:var(--nav-menu-foreground-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}} \ No newline at end of file diff --git a/doc/html/twi_8h_source.html b/doc/html/twi_8h_source.html new file mode 100644 index 00000000..ec0ee300 --- /dev/null +++ b/doc/html/twi_8h_source.html @@ -0,0 +1,165 @@ + + + + + + + +MakeBlock Drive Updated: src/utility/twi.h Source File + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    twi.h
    +
    +
    +
    1/*
    +
    2 twi.h - TWI/I2C library for Wiring & Arduino
    +
    3 Copyright (c) 2006 Nicholas Zambetti. All right reserved.
    +
    4
    +
    5 This library is free software; you can redistribute it and/or
    +
    6 modify it under the terms of the GNU Lesser General Public
    +
    7 License as published by the Free Software Foundation; either
    +
    8 version 2.1 of the License, or (at your option) any later version.
    +
    9
    +
    10 This library is distributed in the hope that it will be useful,
    +
    11 but WITHOUT ANY WARRANTY; without even the implied warranty of
    +
    12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    +
    13 Lesser General Public License for more details.
    +
    14
    +
    15 You should have received a copy of the GNU Lesser General Public
    +
    16 License along with this library; if not, write to the Free Software
    +
    17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    +
    18*/
    +
    19
    +
    20#ifndef twi_h
    +
    21#define twi_h
    +
    22
    +
    23 #include <inttypes.h>
    +
    24
    +
    25 //#define ATMEGA8
    +
    26
    +
    27 #ifndef TWI_FREQ
    +
    28 #define TWI_FREQ 100000L
    +
    29 #endif
    +
    30
    +
    31 #ifndef TWI_BUFFER_LENGTH
    +
    32 #define TWI_BUFFER_LENGTH 32
    +
    33 #endif
    +
    34
    +
    35 #define TWI_READY 0
    +
    36 #define TWI_MRX 1
    +
    37 #define TWI_MTX 2
    +
    38 #define TWI_SRX 3
    +
    39 #define TWI_STX 4
    +
    40
    +
    41 void twi_init(void);
    +
    42 void twi_disable(void);
    +
    43 void twi_setAddress(uint8_t);
    +
    44 uint8_t twi_readFrom(uint8_t, uint8_t*, uint8_t, uint8_t);
    +
    45 uint8_t twi_writeTo(uint8_t, uint8_t*, uint8_t, uint8_t, uint8_t);
    +
    46 uint8_t twi_transmit(const uint8_t*, uint8_t);
    +
    47 void twi_attachSlaveRxEvent( void (*)(uint8_t*, int) );
    +
    48 void twi_attachSlaveTxEvent( void (*)(void) );
    +
    49 void twi_reply(uint8_t);
    +
    50 void twi_stop(void);
    +
    51 void twi_releaseBus(void);
    +
    52
    +
    53#endif
    +
    54
    +
    +
    + + + + diff --git a/doc/html/union_p_m25_d_a_t_a_u_i_n_o-members.html b/doc/html/union_p_m25_d_a_t_a_u_i_n_o-members.html new file mode 100644 index 00000000..2c6e6b8d --- /dev/null +++ b/doc/html/union_p_m25_d_a_t_a_u_i_n_o-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    PM25DATAUINO Member List
    +
    +
    + +

    This is the complete list of members for PM25DATAUINO, including all inherited members.

    + + + +
    storedInputData (defined in PM25DATAUINO)PM25DATAUINO
    val (defined in PM25DATAUINO)PM25DATAUINO
    +
    + + + + diff --git a/doc/html/union_p_m25_d_a_t_a_u_i_n_o.html b/doc/html/union_p_m25_d_a_t_a_u_i_n_o.html new file mode 100644 index 00000000..a0eca405 --- /dev/null +++ b/doc/html/union_p_m25_d_a_t_a_u_i_n_o.html @@ -0,0 +1,132 @@ + + + + + + + +MakeBlock Drive Updated: PM25DATAUINO Union Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    PM25DATAUINO Union Reference
    +
    +
    +
    +Collaboration diagram for PM25DATAUINO:
    +
    +
    Collaboration graph
    + + + + + +
    [legend]
    + + + + + + +

    +Public Attributes

    +uint8_t storedInputData [31]
     
    +PM25DATASTRUCT val
     
    +
    The documentation for this union was generated from the following file: +
    +
    + + + + diff --git a/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.map b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.map new file mode 100644 index 00000000..ea951c32 --- /dev/null +++ b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.md5 b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.md5 new file mode 100644 index 00000000..77b16c9f --- /dev/null +++ b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.md5 @@ -0,0 +1 @@ +76441b69ece7dd612800d046bc455f17 \ No newline at end of file diff --git a/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.png b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.png new file mode 100644 index 00000000..536e60e8 Binary files /dev/null and b/doc/html/union_p_m25_d_a_t_a_u_i_n_o__coll__graph.png differ diff --git a/doc/html/unionsysex__message-members.html b/doc/html/unionsysex__message-members.html new file mode 100644 index 00000000..2ae3f21d --- /dev/null +++ b/doc/html/unionsysex__message-members.html @@ -0,0 +1,110 @@ + + + + + + + +MakeBlock Drive Updated: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    sysex_message Member List
    +
    +
    + +

    This is the complete list of members for sysex_message, including all inherited members.

    + + + +
    storedInputData (defined in sysex_message)sysex_message
    val (defined in sysex_message)sysex_message
    +
    + + + + diff --git a/doc/html/unionsysex__message.html b/doc/html/unionsysex__message.html new file mode 100644 index 00000000..4261c228 --- /dev/null +++ b/doc/html/unionsysex__message.html @@ -0,0 +1,132 @@ + + + + + + + +MakeBlock Drive Updated: sysex_message Union Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    MakeBlock Drive Updated +
    +
    Updated library for MakeBlock Ranger
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    sysex_message Union Reference
    +
    +
    +
    +Collaboration diagram for sysex_message:
    +
    +
    Collaboration graph
    + + + + + +
    [legend]
    + + + + + + +

    +Public Attributes

    +uint8_t storedInputData [DEFAULT_UART_BUF_SIZE]
     
    +sysex_message_type val
     
    +
    The documentation for this union was generated from the following file: +
    +
    + + + + diff --git a/doc/html/unionsysex__message__coll__graph.map b/doc/html/unionsysex__message__coll__graph.map new file mode 100644 index 00000000..20e07bc8 --- /dev/null +++ b/doc/html/unionsysex__message__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/doc/html/unionsysex__message__coll__graph.md5 b/doc/html/unionsysex__message__coll__graph.md5 new file mode 100644 index 00000000..32c6a5bd --- /dev/null +++ b/doc/html/unionsysex__message__coll__graph.md5 @@ -0,0 +1 @@ +2481f6d3458266791bf3c7f8bd06c9bb \ No newline at end of file diff --git a/doc/html/unionsysex__message__coll__graph.png b/doc/html/unionsysex__message__coll__graph.png new file mode 100644 index 00000000..22012546 Binary files /dev/null and b/doc/html/unionsysex__message__coll__graph.png differ diff --git a/doc/latex/Makefile b/doc/latex/Makefile new file mode 100644 index 00000000..7f829721 --- /dev/null +++ b/doc/latex/Makefile @@ -0,0 +1,27 @@ +LATEX_CMD?=pdflatex +MKIDX_CMD?=makeindex +BIBTEX_CMD?=bibtex +LATEX_COUNT?=8 +MANUAL_FILE?=refman + +all: $(MANUAL_FILE).pdf + +pdf: $(MANUAL_FILE).pdf + +$(MANUAL_FILE).pdf: clean $(MANUAL_FILE).tex + $(LATEX_CMD) $(MANUAL_FILE) + $(MKIDX_CMD) $(MANUAL_FILE).idx + $(LATEX_CMD) $(MANUAL_FILE) + latex_count=$(LATEX_COUNT) ; \ + while grep -E -s 'Rerun (LaTeX|to get cross-references right|to get bibliographical references right)' $(MANUAL_FILE).log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + $(LATEX_CMD) $(MANUAL_FILE) ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + $(MKIDX_CMD) $(MANUAL_FILE).idx + $(LATEX_CMD) $(MANUAL_FILE) + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl $(MANUAL_FILE).pdf diff --git a/doc/latex/_buzzer_test_8ino-example.tex b/doc/latex/_buzzer_test_8ino-example.tex new file mode 100644 index 00000000..f6dab31b --- /dev/null +++ b/doc/latex/_buzzer_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Buzzer\+Test.\+ino} +\hypertarget{_buzzer_test_8ino-example}{}\label{_buzzer_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_color_loop_test_8ino-example.tex b/doc/latex/_color_loop_test_8ino-example.tex new file mode 100644 index 00000000..e76a2229 --- /dev/null +++ b/doc/latex/_color_loop_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Color\+Loop\+Test.\+ino} +\hypertarget{_color_loop_test_8ino-example}{}\label{_color_loop_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_d_c_motor_driver_test_8ino-example.tex b/doc/latex/_d_c_motor_driver_test_8ino-example.tex new file mode 100644 index 00000000..49b646e2 --- /dev/null +++ b/doc/latex/_d_c_motor_driver_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{DCMotor\+Driver\+Test.\+ino} +\hypertarget{_d_c_motor_driver_test_8ino-example}{}\label{_d_c_motor_driver_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_e_e_p_r_o_m_8h_source.tex b/doc/latex/_e_e_p_r_o_m_8h_source.tex new file mode 100644 index 00000000..4c87e9ad --- /dev/null +++ b/doc/latex/_e_e_p_r_o_m_8h_source.tex @@ -0,0 +1,150 @@ +\doxysection{EEPROM.\+h} +\hypertarget{_e_e_p_r_o_m_8h_source}{}\label{_e_e_p_r_o_m_8h_source}\index{src/utility/EEPROM.h@{src/utility/EEPROM.h}} + +\begin{DoxyCode}{0} +\DoxyCodeLine{00001\ \textcolor{comment}{/*}} +\DoxyCodeLine{00002\ \textcolor{comment}{\ \ EEPROM.h\ -\/\ EEPROM\ library}} +\DoxyCodeLine{00003\ \textcolor{comment}{\ \ Original\ Copyright\ (c)\ 2006\ David\ A.\ Mellis.\ \ All\ right\ reserved.}} +\DoxyCodeLine{00004\ \textcolor{comment}{\ \ New\ version\ by\ Christopher\ Andrews\ 2015.}} +\DoxyCodeLine{00005\ \textcolor{comment}{}} +\DoxyCodeLine{00006\ \textcolor{comment}{\ \ This\ library\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or}} +\DoxyCodeLine{00007\ \textcolor{comment}{\ \ modify\ it\ under\ the\ terms\ of\ the\ GNU\ Lesser\ General\ Public}} +\DoxyCodeLine{00008\ \textcolor{comment}{\ \ License\ as\ published\ by\ the\ Free\ Software\ Foundation;\ either}} +\DoxyCodeLine{00009\ \textcolor{comment}{\ \ version\ 2.1\ of\ the\ License,\ or\ (at\ your\ option)\ any\ later\ version.}} +\DoxyCodeLine{00010\ \textcolor{comment}{}} +\DoxyCodeLine{00011\ \textcolor{comment}{\ \ This\ library\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}} +\DoxyCodeLine{00012\ \textcolor{comment}{\ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}} +\DoxyCodeLine{00013\ \textcolor{comment}{\ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the\ GNU}} +\DoxyCodeLine{00014\ \textcolor{comment}{\ \ Lesser\ General\ Public\ License\ for\ more\ details.}} +\DoxyCodeLine{00015\ \textcolor{comment}{}} +\DoxyCodeLine{00016\ \textcolor{comment}{\ \ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ Lesser\ General\ Public}} +\DoxyCodeLine{00017\ \textcolor{comment}{\ \ License\ along\ with\ this\ library;\ if\ not,\ write\ to\ the\ Free\ Software}} +\DoxyCodeLine{00018\ \textcolor{comment}{\ \ Foundation,\ Inc.,\ 51\ Franklin\ St,\ Fifth\ Floor,\ Boston,\ MA\ \ 02110-\/1301\ \ USA}} +\DoxyCodeLine{00019\ \textcolor{comment}{*/}} +\DoxyCodeLine{00020\ } +\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#ifndef\ EEPROM\_h}} +\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ EEPROM\_h}} +\DoxyCodeLine{00023\ } +\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ }} +\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ }} +\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ }} +\DoxyCodeLine{00027\ } +\DoxyCodeLine{00028\ \textcolor{comment}{/***}} +\DoxyCodeLine{00029\ \textcolor{comment}{\ \ \ \ EERef\ class.}} +\DoxyCodeLine{00030\ \textcolor{comment}{\ \ \ \ }} +\DoxyCodeLine{00031\ \textcolor{comment}{\ \ \ \ This\ object\ references\ an\ EEPROM\ cell.}} +\DoxyCodeLine{00032\ \textcolor{comment}{\ \ \ \ Its\ purpose\ is\ to\ mimic\ a\ typical\ byte\ of\ RAM,\ however\ its\ storage\ is\ the\ EEPROM.}} +\DoxyCodeLine{00033\ \textcolor{comment}{\ \ \ \ This\ class\ has\ an\ overhead\ of\ two\ bytes,\ similar\ to\ storing\ a\ pointer\ to\ an\ EEPROM\ cell.}} +\DoxyCodeLine{00034\ \textcolor{comment}{***/}} +\DoxyCodeLine{00035\ } +\DoxyCodeLine{00036\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_e_e_ref}{EERef}}\{} +\DoxyCodeLine{00037\ } +\DoxyCodeLine{00038\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}(\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ index\ )} +\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ :\ index(\ index\ )\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\}} +\DoxyCodeLine{00040\ \ \ \ \ } +\DoxyCodeLine{00041\ \ \ \ \ \textcolor{comment}{//Access/read\ members.}} +\DoxyCodeLine{00042\ \ \ \ \ uint8\_t\ operator*()\textcolor{keyword}{\ const\ \ \ \ \ \ \ \ \ \ \ \ }\{\ \textcolor{keywordflow}{return}\ eeprom\_read\_byte(\ (uint8\_t*)\ index\ );\ \}} +\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keyword}{operator}\ uint8\_t()\textcolor{keyword}{\ const\ \ \ \ \ \ \ \ \ \ \ \ \ }\{\ \textcolor{keywordflow}{return}\ **\textcolor{keyword}{this};\ \}} +\DoxyCodeLine{00044\ \ \ \ \ } +\DoxyCodeLine{00045\ \ \ \ \ \textcolor{comment}{//Assignment/write\ members.}} +\DoxyCodeLine{00046\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator=(\ \textcolor{keyword}{const}\ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&ref\ )\ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ *ref;\ \}} +\DoxyCodeLine{00047\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator=(\ uint8\_t\ in\ )\ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ eeprom\_write\_byte(\ (uint8\_t*)\ index,\ in\ ),\ *\textcolor{keyword}{this};\ \ \}} +\DoxyCodeLine{00048\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ +=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ +\ in;\ \}} +\DoxyCodeLine{00049\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ -\/=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ -\/\ in;\ \}} +\DoxyCodeLine{00050\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ *=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ *\ in;\ \}} +\DoxyCodeLine{00051\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ /=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ /\ in;\ \}} +\DoxyCodeLine{00052\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ \string^=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ \string^\ in;\ \}} +\DoxyCodeLine{00053\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ \%=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ \%\ in;\ \}} +\DoxyCodeLine{00054\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ \&=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ \&\ in;\ \}} +\DoxyCodeLine{00055\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ |=(\ uint8\_t\ in\ )\ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ |\ in;\ \}} +\DoxyCodeLine{00056\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ <<=(\ uint8\_t\ in\ )\ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ <<\ in;\ \}} +\DoxyCodeLine{00057\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&operator\ >>=(\ uint8\_t\ in\ )\ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ =\ **\textcolor{keyword}{this}\ >>\ in;\ \}} +\DoxyCodeLine{00058\ \ \ \ \ } +\DoxyCodeLine{00059\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ \&update(\ uint8\_t\ in\ )\ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ \ in\ !=\ *\textcolor{keyword}{this}\ ?\ *\textcolor{keyword}{this}\ =\ in\ :\ *\textcolor{keyword}{this};\ \}} +\DoxyCodeLine{00060\ \ \ \ \ } +\DoxyCodeLine{00062\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\&\ \mbox{\hyperlink{struct_e_e_ref_a5b230b800d3bf6fa6396aba8a3ac5cdb}{operator++}}()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ +=\ 1;\ \}} +\DoxyCodeLine{00063\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\&\ operator-\/-\/()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this}\ -\/=\ 1;\ \}} +\DoxyCodeLine{00064\ \ \ \ \ } +\DoxyCodeLine{00066\ \ \ \ \ uint8\_t\ \mbox{\hyperlink{struct_e_e_ref_a5b230b800d3bf6fa6396aba8a3ac5cdb}{operator++\ }}(\textcolor{keywordtype}{int})\{\ } +\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ uint8\_t\ ret\ =\ **\textcolor{keyword}{this};} +\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ++(*this),\ ret;} +\DoxyCodeLine{00069\ \ \ \ \ \}} +\DoxyCodeLine{00070\ } +\DoxyCodeLine{00071\ \ \ \ \ uint8\_t\ operator-\/-\/\ (\textcolor{keywordtype}{int})\{\ } +\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ uint8\_t\ ret\ =\ **\textcolor{keyword}{this};} +\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ -\/-\/(*this),\ ret;} +\DoxyCodeLine{00074\ \ \ \ \ \}} +\DoxyCodeLine{00075\ \ \ \ \ } +\DoxyCodeLine{00076\ \ \ \ \ \textcolor{keywordtype}{int}\ index;\ \textcolor{comment}{//Index\ of\ current\ EEPROM\ cell.}} +\DoxyCodeLine{00077\ \};} +\DoxyCodeLine{00078\ } +\DoxyCodeLine{00079\ \textcolor{comment}{/***}} +\DoxyCodeLine{00080\ \textcolor{comment}{\ \ \ \ EEPtr\ class.}} +\DoxyCodeLine{00081\ \textcolor{comment}{\ \ \ \ }} +\DoxyCodeLine{00082\ \textcolor{comment}{\ \ \ \ This\ object\ is\ a\ bidirectional\ pointer\ to\ EEPROM\ cells\ represented\ by\ EERef\ objects.}} +\DoxyCodeLine{00083\ \textcolor{comment}{\ \ \ \ Just\ like\ a\ normal\ pointer\ type,\ this\ can\ be\ dereferenced\ and\ repositioned\ using\ }} +\DoxyCodeLine{00084\ \textcolor{comment}{\ \ \ \ increment/decrement\ operators.}} +\DoxyCodeLine{00085\ \textcolor{comment}{***/}} +\DoxyCodeLine{00086\ } +\DoxyCodeLine{00087\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\{} +\DoxyCodeLine{00088\ } +\DoxyCodeLine{00089\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}(\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ index\ )} +\DoxyCodeLine{00090\ \ \ \ \ \ \ \ \ :\ index(\ index\ )\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\}} +\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ } +\DoxyCodeLine{00092\ \ \ \ \ \textcolor{keyword}{operator}\ int()\textcolor{keyword}{\ const\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\{\ \textcolor{keywordflow}{return}\ index;\ \}} +\DoxyCodeLine{00093\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ \&operator=(\ \textcolor{keywordtype}{int}\ in\ )\ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ index\ =\ in,\ *\textcolor{keyword}{this};\ \}} +\DoxyCodeLine{00094\ \ \ \ \ } +\DoxyCodeLine{00095\ \ \ \ \ \textcolor{comment}{//Iterator\ functionality.}} +\DoxyCodeLine{00096\ \ \ \ \ \textcolor{keywordtype}{bool}\ operator!=(\ \textcolor{keyword}{const}\ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ \&ptr\ )\ \{\ \textcolor{keywordflow}{return}\ index\ !=\ ptr.index;\ \}} +\DoxyCodeLine{00097\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ operator*()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ index;\ \}} +\DoxyCodeLine{00098\ \ \ \ \ } +\DoxyCodeLine{00100\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\&\ \mbox{\hyperlink{struct_e_e_ptr_a7473bc4e92c4970fb5414d050265a981}{operator++}}()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ ++index,\ *\textcolor{keyword}{this};\ \}} +\DoxyCodeLine{00101\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\&\ operator-\/-\/()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ -\/-\/index,\ *\textcolor{keyword}{this};\ \}} +\DoxyCodeLine{00102\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ \mbox{\hyperlink{struct_e_e_ptr_a7473bc4e92c4970fb5414d050265a981}{operator++\ }}(\textcolor{keywordtype}{int})\ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ index++;\ \}} +\DoxyCodeLine{00103\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ operator-\/-\/\ (\textcolor{keywordtype}{int})\ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ index-\/-\/;\ \}} +\DoxyCodeLine{00104\ } +\DoxyCodeLine{00105\ \ \ \ \ \textcolor{keywordtype}{int}\ index;\ \textcolor{comment}{//Index\ of\ current\ EEPROM\ cell.}} +\DoxyCodeLine{00106\ \};} +\DoxyCodeLine{00107\ } +\DoxyCodeLine{00108\ \textcolor{comment}{/***}} +\DoxyCodeLine{00109\ \textcolor{comment}{\ \ \ \ EEPROMClass\ class.}} +\DoxyCodeLine{00110\ \textcolor{comment}{\ \ \ \ }} +\DoxyCodeLine{00111\ \textcolor{comment}{\ \ \ \ This\ object\ represents\ the\ entire\ EEPROM\ space.}} +\DoxyCodeLine{00112\ \textcolor{comment}{\ \ \ \ It\ wraps\ the\ functionality\ of\ EEPtr\ and\ EERef\ into\ a\ basic\ interface.}} +\DoxyCodeLine{00113\ \textcolor{comment}{\ \ \ \ This\ class\ is\ also\ 100\%\ backwards\ compatible\ with\ earlier\ Arduino\ core\ releases.}} +\DoxyCodeLine{00114\ \textcolor{comment}{***/}} +\DoxyCodeLine{00115\ } +\DoxyCodeLine{00116\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{struct_e_e_p_r_o_m_class}{EEPROMClass}}\{} +\DoxyCodeLine{00117\ } +\DoxyCodeLine{00118\ \ \ \ \ \textcolor{comment}{//Basic\ user\ access\ methods.}} +\DoxyCodeLine{00119\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ref}{EERef}}\ operator[](\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ idx\ )\ \ \ \ \{\ \textcolor{keywordflow}{return}\ idx;\ \}} +\DoxyCodeLine{00120\ \ \ \ \ uint8\_t\ read(\ \textcolor{keywordtype}{int}\ idx\ )\ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{struct_e_e_ref}{EERef}}(\ idx\ );\ \}} +\DoxyCodeLine{00121\ \ \ \ \ \textcolor{keywordtype}{void}\ write(\ \textcolor{keywordtype}{int}\ idx,\ uint8\_t\ val\ )\ \ \ \{\ (\mbox{\hyperlink{struct_e_e_ref}{EERef}}(\ idx\ ))\ =\ val;\ \}} +\DoxyCodeLine{00122\ \ \ \ \ \textcolor{keywordtype}{void}\ update(\ \textcolor{keywordtype}{int}\ idx,\ uint8\_t\ val\ )\ \ \{\ \mbox{\hyperlink{struct_e_e_ref}{EERef}}(\ idx\ ).update(\ val\ );\ \}} +\DoxyCodeLine{00123\ \ \ \ \ } +\DoxyCodeLine{00124\ \ \ \ \ \textcolor{comment}{//STL\ and\ C++11\ iteration\ capability.}} +\DoxyCodeLine{00125\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ begin()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ 0x00;\ \}} +\DoxyCodeLine{00126\ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ end()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ length();\ \}\ \textcolor{comment}{//Standards\ requires\ this\ to\ be\ the\ item\ after\ the\ last\ valid\ entry.\ The\ returned\ pointer\ is\ invalid.}} +\DoxyCodeLine{00127\ \ \ \ \ uint16\_t\ length()\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \{\ \textcolor{keywordflow}{return}\ E2END\ +\ 1;\ \}} +\DoxyCodeLine{00128\ \ \ \ \ } +\DoxyCodeLine{00129\ \ \ \ \ \textcolor{comment}{//Functionality\ to\ 'get'\ and\ 'put'\ objects\ to\ and\ from\ EEPROM.}} +\DoxyCodeLine{00130\ \ \ \ \ \textcolor{keyword}{template}<\ \textcolor{keyword}{typename}\ T\ >\ T\ \&get(\ \textcolor{keywordtype}{int}\ idx,\ T\ \&t\ )\{} +\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ e\ =\ idx;} +\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ uint8\_t\ *ptr\ =\ (uint8\_t*)\ \&t;} +\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}(\ \textcolor{keywordtype}{int}\ count\ =\ \textcolor{keyword}{sizeof}(T)\ ;\ count\ ;\ -\/-\/count,\ ++e\ )\ \ *ptr++\ =\ *e;} +\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ t;} +\DoxyCodeLine{00135\ \ \ \ \ \}} +\DoxyCodeLine{00136\ \ \ \ \ } +\DoxyCodeLine{00137\ \ \ \ \ \textcolor{keyword}{template}<\ \textcolor{keyword}{typename}\ T\ >\ \textcolor{keyword}{const}\ T\ \&put(\ \textcolor{keywordtype}{int}\ idx,\ \textcolor{keyword}{const}\ T\ \&t\ )\{} +\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{struct_e_e_ptr}{EEPtr}}\ e\ =\ idx;} +\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ uint8\_t\ *ptr\ =\ (\textcolor{keyword}{const}\ uint8\_t*)\ \&t;} +\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}(\ \textcolor{keywordtype}{int}\ count\ =\ \textcolor{keyword}{sizeof}(T)\ ;\ count\ ;\ -\/-\/count,\ ++e\ )\ \ (*e).update(\ *ptr++\ );} +\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ t;} +\DoxyCodeLine{00142\ \ \ \ \ \}} +\DoxyCodeLine{00143\ \};} +\DoxyCodeLine{00144\ } +\DoxyCodeLine{00145\ \_\_attribute\_\_((unused))} +\DoxyCodeLine{00146\ \textcolor{keyword}{static}\ \mbox{\hyperlink{struct_e_e_p_r_o_m_class}{EEPROMClass}}\ EEPROM;} +\DoxyCodeLine{00147\ \textcolor{preprocessor}{\#endif}} + +\end{DoxyCode} diff --git a/doc/latex/_encoder_motor_change_i2_c_dev_i_d_8ino-example.tex b/doc/latex/_encoder_motor_change_i2_c_dev_i_d_8ino-example.tex new file mode 100644 index 00000000..51ae8fb4 --- /dev/null +++ b/doc/latex/_encoder_motor_change_i2_c_dev_i_d_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Change\+I2\+CDev\+ID.\+ino} +\hypertarget{_encoder_motor_change_i2_c_dev_i_d_8ino-example}{}\label{_encoder_motor_change_i2_c_dev_i_d_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_encoder_motor_test_is_tar_pos_reached_8ino-example.tex b/doc/latex/_encoder_motor_test_is_tar_pos_reached_8ino-example.tex new file mode 100644 index 00000000..fb508f21 --- /dev/null +++ b/doc/latex/_encoder_motor_test_is_tar_pos_reached_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Test\+Is\+Tar\+Pos\+Reached.\+ino} +\hypertarget{_encoder_motor_test_is_tar_pos_reached_8ino-example}{}\label{_encoder_motor_test_is_tar_pos_reached_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_encoder_motor_test_move_to_8ino-example.tex b/doc/latex/_encoder_motor_test_move_to_8ino-example.tex new file mode 100644 index 00000000..875861b6 --- /dev/null +++ b/doc/latex/_encoder_motor_test_move_to_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Test\+Move\+To.\+ino} +\hypertarget{_encoder_motor_test_move_to_8ino-example}{}\label{_encoder_motor_test_move_to_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_encoder_motor_test_run_speed_8ino-example.tex b/doc/latex/_encoder_motor_test_run_speed_8ino-example.tex new file mode 100644 index 00000000..af74c312 --- /dev/null +++ b/doc/latex/_encoder_motor_test_run_speed_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Test\+Run\+Speed.\+ino} +\hypertarget{_encoder_motor_test_run_speed_8ino-example}{}\label{_encoder_motor_test_run_speed_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_encoder_motor_test_run_speed_and_time_8ino-example.tex b/doc/latex/_encoder_motor_test_run_speed_and_time_8ino-example.tex new file mode 100644 index 00000000..86ab0322 --- /dev/null +++ b/doc/latex/_encoder_motor_test_run_speed_and_time_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Test\+Run\+Speed\+And\+Time.\+ino} +\hypertarget{_encoder_motor_test_run_speed_and_time_8ino-example}{}\label{_encoder_motor_test_run_speed_and_time_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_encoder_motor_test_run_turns_8ino-example.tex b/doc/latex/_encoder_motor_test_run_turns_8ino-example.tex new file mode 100644 index 00000000..8fd2fbf5 --- /dev/null +++ b/doc/latex/_encoder_motor_test_run_turns_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Encoder\+Motor\+Test\+Run\+Turns.\+ino} +\hypertarget{_encoder_motor_test_run_turns_8ino-example}{}\label{_encoder_motor_test_run_turns_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_indicators_test_8ino-example.tex b/doc/latex/_indicators_test_8ino-example.tex new file mode 100644 index 00000000..599d2e9e --- /dev/null +++ b/doc/latex/_indicators_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Indicators\+Test.\+ino} +\hypertarget{_indicators_test_8ino-example}{}\label{_indicators_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_infrared_receiver_test_8ino-example.tex b/doc/latex/_infrared_receiver_test_8ino-example.tex new file mode 100644 index 00000000..74ab6fd5 --- /dev/null +++ b/doc/latex/_infrared_receiver_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Infrared\+Receiver\+Test.\+ino} +\hypertarget{_infrared_receiver_test_8ino-example}{}\label{_infrared_receiver_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_limit_switch_test_8ino-example.tex b/doc/latex/_limit_switch_test_8ino-example.tex new file mode 100644 index 00000000..9bb741e0 --- /dev/null +++ b/doc/latex/_limit_switch_test_8ino-example.tex @@ -0,0 +1,8 @@ +\doxysection{Limit\+Switch\+Test.\+ino} +\hypertarget{_limit_switch_test_8ino-example}{}\label{_limit_switch_test_8ino-example}~\newline + Micro\+Switch\+Test.\+ino ~\newline + +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_line_follower_test_8ino-example.tex b/doc/latex/_line_follower_test_8ino-example.tex new file mode 100644 index 00000000..7338c99b --- /dev/null +++ b/doc/latex/_line_follower_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Line\+Follower\+Test.\+ino} +\hypertarget{_line_follower_test_8ino-example}{}\label{_line_follower_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_mbot_buzzer_test2_8ino-example.tex b/doc/latex/_mbot_buzzer_test2_8ino-example.tex new file mode 100644 index 00000000..f17e152b --- /dev/null +++ b/doc/latex/_mbot_buzzer_test2_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Mbot\+Buzzer\+Test2.\+ino} +\hypertarget{_mbot_buzzer_test2_8ino-example}{}\label{_mbot_buzzer_test2_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_mbot_buzzer_test_8ino-example.tex b/doc/latex/_mbot_buzzer_test_8ino-example.tex new file mode 100644 index 00000000..5a97d3d5 --- /dev/null +++ b/doc/latex/_mbot_buzzer_test_8ino-example.tex @@ -0,0 +1,6 @@ +\doxysection{Mbot\+Buzzer\+Test.\+ino} +\hypertarget{_mbot_buzzer_test_8ino-example}{}\label{_mbot_buzzer_test_8ino-example} +\begin{DoxyCodeInclude}{0} + +\end{DoxyCodeInclude} + \ No newline at end of file diff --git a/doc/latex/_me4_button_8cpp.tex b/doc/latex/_me4_button_8cpp.tex new file mode 100644 index 00000000..7fc6c6fa --- /dev/null +++ b/doc/latex/_me4_button_8cpp.tex @@ -0,0 +1,64 @@ +\doxysection{src/\+Me4\+Button.cpp File Reference} +\hypertarget{_me4_button_8cpp}{}\label{_me4_button_8cpp}\index{src/Me4Button.cpp@{src/Me4Button.cpp}} + + +Driver for Me 4 Button module. + + +{\ttfamily \#include "{}Me4\+Button.\+h"{}}\newline +Include dependency graph for Me4\+Button.\+cpp\+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=350pt]{_me4_button_8cpp__incl} +\end{center} +\end{figure} + + +\doxysubsection{Detailed Description} +Driver for Me 4 Button module. + +\begin{DoxyAuthor}{Author} +Make\+Block +\end{DoxyAuthor} +\begin{DoxyVersion}{Version} +V1.\+0.\+1 +\end{DoxyVersion} +\begin{DoxyDate}{Date} +2015/09/01 +\end{DoxyDate} +\begin{DoxyParagraph}{Copyright} +This software is Copyright (C), 2012-\/2016, Make\+Block. Use is subject to license ~\newline +conditions. The main licensing options available are GPL V2 or Commercial\+: ~\newline + +\end{DoxyParagraph} +\begin{DoxyParagraph}{Open Source Licensing GPL V2} +This is the appropriate option if you want to share the source code of your ~\newline +application with everyone you distribute it to, and you also want to give them ~\newline +the right to share who uses it. If you wish to use this software under Open ~\newline +Source Licensing, you must contribute all your source code to the open source ~\newline +community in accordance with the GPL Version 2 when your application is ~\newline +distributed. See \href{http://www.gnu.org/copyleft/gpl.html}{\texttt{ http\+://www.\+gnu.\+org/copyleft/gpl.\+html}} +\end{DoxyParagraph} +\begin{DoxyParagraph}{Description} +This file is a drive for 4 Button module, It supports Me-\/4 Button V1.\+0 device provided by Make\+Block. +\end{DoxyParagraph} +\begin{DoxyParagraph}{Method List\+:} + +\end{DoxyParagraph} + +\begin{DoxyEnumerate} +\item void \doxylink{class_me4_button_a810aabfe9b826610c16d53a6506e7fcb}{Me4\+Button\+::setpin(uint8\+\_\+t port)}; +\item uint8\+\_\+t \doxylink{class_me4_button_a51d9728459f5323d59d1543931ba2dc9}{Me4\+Button\+::pressed()}; +\end{DoxyEnumerate} + +\begin{DoxyParagraph}{History\+:} + +\begin{DoxyPre} +`` `