Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a8ec4d3db48b43c071abf478673d7f4d49593350 (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
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create a new protocol</title>
<link href="book.css" rel="stylesheet" type="text/css">
<meta content="DocBook XSL Stylesheets V1.75.1" name="generator">
<link rel="home" href="index.html" title="eTrice User Guide">
<link rel="up" href="TutorialBlinky.html" title="Tutorial Blinky">
<link rel="prev" href="Addtwoadditionalactorclasses.html" title="Add two additional actor classes">
<link rel="next" href="ImporttheTimingService.html" title="Import the Timing Service">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Create a new protocol</h1>
<div class="section" title="Create a new protocol">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="Createanewprotocol"></a>Create a new protocol</h2>
</div>
</div>
</div>
<p>With the help of 
				[<span class="citation">Content Assist</span>] create a 
				[<span class="citation">ProtocolClass</span>] and name it 
				[<span class="citation">BlinkyControlProtocol</span>].
				Inside the brackets use the 
				[<span class="citation">Content Assist</span>] (CTRL+Space) to create two incoming messages called 
				[<span class="citation">start</span>] and 
				[<span class="citation">stop</span>].
			</p>
<p>The resulting code should look like this:</p>
<p>
				
</p>
<div class="mediaobject">
<img src="images/020-Blinky03.PNG"></div>
<p> 
			
</p>
<p>With Ctrl-Shift+F or selecting 
				[<span class="citation">Format</span>] from the context menu you can format the text. Note that all elements are displayed in the outline view.
			</p>
</div>
</body>
</html>

Back to the top