blob: 2ea52344b28429df2cab174c7f338c80ba08fd1f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
<html xmlns="http://www.w3.org/1999/xhtml"
>
<head><title>Create a new protocol</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" />
<!-- xhtml,3,next,html -->
<meta name="src" content="etrice-doc.tex" />
<meta name="date" content="2013-06-13 15:30:00" />
<link rel="stylesheet" type="text/css" href="etrice-doc.css" />
</head><body
>
<!--l. 87--><div class="crosslinks"><p class="noindent">[<a
href="etrice-docse13.html" >next</a>] [<a
href="etrice-docse11.html" >prev</a>] [<a
href="etrice-docse11.html#tailetrice-docse11.html" >prev-tail</a>] [<a
href="#tailetrice-docse12.html">tail</a>] [<a
href="etrice-docch6.html#etrice-docse12.html" >up</a>] </p></div>
<h3 class="sectionHead"><span class="titlemark">6.4 </span> <a
id="x20-390006.4"></a>Create a new protocol</h3>
<!--l. 89--><p class="noindent" >With the help of <span
class="ec-lmsso-10">Content Assist </span>create a <span
class="ec-lmsso-10">ProtocolClass </span>and name it <span
class="ec-lmsso-10">BlinkyControlProtocol</span>. Inside the
brackets use the <span
class="ec-lmsso-10">Content Assist </span>(CTRL+Space) to create two incoming messages called <span
class="ec-lmsso-10">start </span>and
<span
class="ec-lmsso-10">stop</span>.
</p><!--l. 94--><p class="noindent" >The resulting code should look like this:
</p><!--l. 96--><p class="noindent" ><img
src="images/020-Blinky03.png" alt="PIC"
/>
</p><!--l. 99--><p class="noindent" >With Ctrl-Shift+F or selecting <span
class="ec-lmsso-10">Format </span>from the context menu you can format the text. Note that all elements
are displayed in the outline view.
</p>
<!--l. 102--><div class="crosslinks"><p class="noindent">[<a
href="etrice-docse13.html" >next</a>] [<a
href="etrice-docse11.html" >prev</a>] [<a
href="etrice-docse11.html#tailetrice-docse11.html" >prev-tail</a>] [<a
href="etrice-docse12.html" >front</a>] [<a
href="etrice-docch6.html#etrice-docse12.html" >up</a>] </p></div>
<!--l. 102--><p class="noindent" ><a
id="tailetrice-docse12.html"></a> </p>
</body></html>
|