Skip to content

Commit

Permalink
get-started-with-ezblock2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhiyong0410 committed Nov 20, 2020
1 parent fc71e11 commit 22d4910
Show file tree
Hide file tree
Showing 83 changed files with 920 additions and 204 deletions.
Binary file modified build/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file modified build/doctrees/reference-for-block/basic.doctree
Binary file not shown.
Binary file modified build/doctrees/reference-for-block/block.doctree
Binary file not shown.
Binary file modified build/doctrees/reference-for-block/logic.doctree
Binary file not shown.
Binary file added build/doctrees/reference-for-block/loops.doctree
Binary file not shown.
Binary file added build/doctrees/reference-for-block/math.doctree
Binary file not shown.
Binary file modified build/doctrees/tutorial.doctree
Binary file not shown.
Binary file added build/html/_images/breakcountinue.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/countwith.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/countwithexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/foreach.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/foreachexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/ling.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/lingxling.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/repeat.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/repeatexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/repeattrue.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/repeattrueexample.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/html/_images/repeatuntil.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# Get start with Ezblock 2.0
# function Introduction

![a](./img/ezblock2.0-gettingstart.png)
## log in
![a](./img/ezblock2.0-gettingstart2.png)
## create project
![a](./img/ezblock2.0-gettingstart3.png)
## Block programming illustrate
![a](./img/ezblock2.0-gettingstart4.png)
## Project Management
![a](./img/ezblock2.0-gettingstart5.png)
## example
![a](./img/ezblock2.0-gettingstart6.png)
## remote control
![a](./img/ezblock2.0-gettingstart7.png)
![a](./img/ezblock2.0-gettingstart8.png)
![a](./img/ezblock2.0-gettingstart9.png)
Expand Down
20 changes: 10 additions & 10 deletions build/html/_sources/reference-for-block/basic.md.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# basic


* ![a](./img/basic/Start.jpg)
- **effect:** The block placed in Start will only be executed once, which is suitable for some initialization operations in the block
## ![a](./img/basic/Start.jpg)
- **effect:** The block placed in Start will only be executed once, which is suitable for some initialization operations in the block
***


* ![a](./img/basic/Forever.jpg)
- **effect:** The content in the block will loop indefinitely
## ![a](./img/basic/Forever.jpg)
- **effect:** The content in the block will loop indefinitely
***



* ![a](./img/basic/print.jpg)
- **effect:** The corresponding content can be output to the console, which can be used for debugging
- **parameter:** `"abc"` is what you want to output, it can be any type
## ![a](./img/basic/print.jpg)
- **effect:** The corresponding content can be output to the console, which can be used for debugging
- **parameter:** `"abc"` is what you want to output, it can be any type
***

* ![a](./img/basic/delay.jpg)
- **effect:** Delay a certain time,Set duration for operation
- **parameter:** `"100"` Can only be a number type, in milliseconds
## ![a](./img/basic/delay.jpg)
- **effect:** Delay a certain time,Set duration for operation
- **parameter:** `"100"` Can only be a number type, in milliseconds
***
1 change: 1 addition & 0 deletions build/html/_sources/reference-for-block/block.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Product

basic
logic
loops
78 changes: 39 additions & 39 deletions build/html/_sources/reference-for-block/logic.md.txt
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
# logic

* ![asef](./img/logic/ifdo.jpg)
- **effect:** Used to capture changes in variables to respond When the condition is met, that is, when the parameter value is true, the content of the block will be executed
## ![a](./img/logic/ifdo.jpg)
- **effect:** Used to capture changes in variables to respond When the condition is met, that is, when the parameter value is true, the content of the block will be executed

***

* ![a](./img/logic/dengdengyu.jpg)
- **effect:** Compare the left and right parameters, return a Boolean value, return true if the condition is met, otherwise return false
- **parameter:** The value type on the left and right sides must be the same, for example, both are numbers or both are characters
## ![a](./img/logic/dengdengyu.jpg)
- **effect:** Compare the left and right parameters, return a Boolean value, return true if the condition is met, otherwise return false
- **parameter:** The value type on the left and right sides must be the same, for example, both are numbers or both are characters

***

* ![a](./img/logic/and.jpg)
- **effect:** It will return a Boolean value, and the parameters on both sides must also be Boolean values. __If both sides are true__, return __`true`__. __If either party is false or both parties are false__, return __`false`__.
* ![a](./img/logic/or.jpg)
- **effect:** Returns a boolean value, the parameters on both sides must also be boolean values, __as long as either of them is `true`__, it will return `true`, __and only when both are `fasle`__ will it return `false`
![a](./img/logic/andexample.jpg)
computational results:
```
true
false
```
## ![a](./img/logic/and.jpg)
- **effect:** It will return a Boolean value, and the parameters on both sides must also be Boolean values. __If both sides are true__, return __`true`__. __If either party is false or both parties are false__, return __`false`__.
## ![a](./img/logic/or.jpg)
- **effect:** Returns a boolean value, the parameters on both sides must also be boolean values, __as long as either of them is `true`__, it will return `true`, __and only when both are `fasle`__ will it return `false`
![a](./img/logic/andexample.jpg)
computational results:
```
true
false
```

***

* ![a](./img/logic/not.jpg)
- **effect:** Splicing before the block whose return value is Boolean will get the __opposite Boolean value__
![a](./img/logic/notexample.jpg)
computational results:
```
false
```
## ![a](./img/logic/not.jpg)
- **effect:** Splicing before the block whose return value is Boolean will get the __opposite Boolean value__
![a](./img/logic/notexample.jpg)
computational results:
```
false
```
***

* ![a](./img/logic/true.jpg)
- **effect:** That is, the boolean value `true`.
* ![a](./img/logic/false.jpg)
- **effect:** That is, the boolean value `false`.
## ![a](./img/logic/true.jpg)
- **effect:** That is, the boolean value `true`.
## ![a](./img/logic/false.jpg)
- **effect:** That is, the boolean value `false`.
***

* ![a](./img/logic/null.jpg)
- **effect:** Generally used to compare or assign values to variables
## ![a](./img/logic/null.jpg)
- **effect:** Generally used to compare or assign values to variables
***

* ![a](./img/logic/on.jpg)
* ![a](./img/logic/off.jpg)
- **effect:** In fact, it has the same function as the `true` block and the `false` block. They are all boolean values, but this block is more suitable for switch state assignment.
## ![a](./img/logic/on.jpg)
## ![a](./img/logic/off.jpg)
- **effect:** In fact, it has the same function as the `true` block and the `false` block. They are all boolean values, but this block is more suitable for switch state assignment.
***

* ![a](./img/logic/test.jpg)
- **effect:** This is a ternary expression, if the return value of `test` is `true` then the block after `if true` will be executed, and vice versa
- **example:**
![a](./img/logic/testexample.jpg)
computational results:
```
equality
```
## ![a](./img/logic/test.jpg)
- **effect:** This is a ternary expression, if the return value of `test` is `true` then the block after `if true` will be executed, and vice versa
- **example:**
![a](./img/logic/testexample.jpg)
computational results:
```
equality
```
***
77 changes: 77 additions & 0 deletions build/html/_sources/reference-for-block/loops.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# loops

## ![a](./img/loops/repeat.jpg)
- **effect:** The code in the block will be executed a certain number of times
- **parameter:** The parameter must be an integer, used to specify the number of cycles
- **example:**
![a](./img/loops/repeatexample.jpg)
computational results:
```
1
2
3
4
5
```
***

## ![a](./img/loops/repeattrue.jpg)
## ![a](./img/loops/repeatuntil.jpg)
- **effect:** When the conditions are met, the content in the block will be executed repeatedly
- **parameter:**
__while:__ The type of the parameter is Boolean. When the value of the parameter is __`true`__, it will enter the loop.
__until:__ The type of the parameter is Boolean. When the value of the parameter is __`false`__, it will enter the loop.
- **example:**
![a](./img/loops/repeattrueexample.jpg)
computational results:
```
1
2
3
4
5
```
***If it is `until` then nothing will be output***
***

## ![a](./img/loops/foreach.jpg)
- **effect:** Read the specified list from the subscript [0] in order
- **parameter:** The parameter can only be a value of type list
- **example:**
![a](./img/loops/foreachexample.jpg)
computational results:
```
1
2
3
```
***

## ![a](./img/loops/countwith.jpg)
- **effect:** Set the start number and increment number on the basis of `repeat 10 times`
- **parameter:** The parameters can only be integers. During the loop, the current subscript value will be assigned to `j`, `5` means starting number, `10` means ending number, `2` means increasing number, and in non-special cases, second Parameter is not greater than the third parameter
- **example:**
![a](./img/loops/countwithexample.jpg)
computational results:
```
5
6
7
8
9
10
```
***
## ![a](./img/loops/breakcountinue.jpg)
- **effect:** `Break` and `countinue` can only be used in a loop block. The execution of `break` in a loop block will terminate the entire loop. If `countinue` is executed, it will jump out of this loop and start the next loop.

computational results:
```
5
6
7
8
9
10
```
***
9 changes: 9 additions & 0 deletions build/html/_sources/reference-for-block/math.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# math

## ![a](./img/math/ling.jpg)
- **effect:**
***

## ![a](./img/math/lingxling.jpg)
- **effect:**
***
2 changes: 1 addition & 1 deletion build/html/_sources/tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Tutorial
.. toctree::
:maxdepth: 1

get-started-with-ezblock2.0/function_Introduction
get-started-with-ezblock2.0/get-started-with-ezblock2.0
reference-for-python/ezblock
reference-for-block/block
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Get start with Ezblock 2.0 &mdash; Ezblock documentation</title>
<title>function Introduction &mdash; Ezblock documentation</title>



Expand Down Expand Up @@ -82,8 +82,17 @@

<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="../tutorial.html">Tutorial</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Get start with Ezblock 2.0</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">function Introduction</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#log-in">log in</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-project">create project</a></li>
<li class="toctree-l3"><a class="reference internal" href="#block-programming-illustrate">Block programming illustrate</a></li>
<li class="toctree-l3"><a class="reference internal" href="#project-management">Project Management</a></li>
<li class="toctree-l3"><a class="reference internal" href="#example">example</a></li>
<li class="toctree-l3"><a class="reference internal" href="#remote-control">remote control</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../reference-for-python/ezblock.html">Reference for Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="../reference-for-block/block.html">Reference for Block</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -133,7 +142,7 @@

<li><a href="../tutorial.html">Tutorial</a> &raquo;</li>

<li>Get start with Ezblock 2.0</li>
<li>function Introduction</li>


<li class="wy-breadcrumbs-aside">
Expand All @@ -152,20 +161,38 @@
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<div class="section" id="get-start-with-ezblock-2-0">
<h1>Get start with Ezblock 2.0<a class="headerlink" href="#get-start-with-ezblock-2-0" title="Permalink to this headline"></a></h1>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart2.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart3.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart4.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart5.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart6.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart7.png" />
<div class="section" id="function-introduction">
<h1>function Introduction<a class="headerlink" href="#function-introduction" title="Permalink to this headline"></a></h1>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart.png" /></p>
<div class="section" id="log-in">
<h2>log in<a class="headerlink" href="#log-in" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart2.png" /></p>
</div>
<div class="section" id="create-project">
<h2>create project<a class="headerlink" href="#create-project" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart3.png" /></p>
</div>
<div class="section" id="block-programming-illustrate">
<h2>Block programming illustrate<a class="headerlink" href="#block-programming-illustrate" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart4.png" /></p>
</div>
<div class="section" id="project-management">
<h2>Project Management<a class="headerlink" href="#project-management" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart5.png" /></p>
</div>
<div class="section" id="example">
<h2>example<a class="headerlink" href="#example" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart6.png" /></p>
</div>
<div class="section" id="remote-control">
<h2>remote control<a class="headerlink" href="#remote-control" title="Permalink to this headline"></a></h2>
<p><img alt="a" src="../_images/ezblock2.0-gettingstart7.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart8.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart9.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart10.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart11.png" />
<img alt="a" src="../_images/ezblock2.0-gettingstart12.png" /></p>
</div>
</div>


Expand Down
2 changes: 1 addition & 1 deletion build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h1>Ezblock Technical documentation<a class="headerlink" href="#ezblock-technica
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a><ul>
<li class="toctree-l2"><a class="reference internal" href="get-started-with-ezblock2.0/function_Introduction.html">function Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="get-started-with-ezblock2.0/get-started-with-ezblock2.0.html">function Introduction</a></li>
<li class="toctree-l2"><a class="reference internal" href="reference-for-python/ezblock.html">Reference for Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="reference-for-block/block.html">Reference for Block</a></li>
</ul>
Expand Down
Binary file modified build/html/objects.inv
Binary file not shown.

0 comments on commit 22d4910

Please sign in to comment.