summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2011-06-14 16:53:48 (EDT)
committertjung2011-06-14 16:53:48 (EDT)
commitc8becf0ee0e4469561eb827629d05935af2ec106 (patch)
treecc83a2004231006ce959afc6969a611b063ed41f
parent8d9cdc7b497ec966ecdfd62300fdf9622876fe36 (diff)
downloadorg.eclipse.etrice-c8becf0ee0e4469561eb827629d05935af2ec106.zip
org.eclipse.etrice-c8becf0ee0e4469561eb827629d05935af2ec106.tar.gz
org.eclipse.etrice-c8becf0ee0e4469561eb827629d05935af2ec106.tar.bz2
tutorials adapted for usage of project wizard
-rw-r--r--plugins/org.eclipse.etrice.doc/doc/020-tutorial-blinky.textile6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.etrice.doc/doc/020-tutorial-blinky.textile b/plugins/org.eclipse.etrice.doc/doc/020-tutorial-blinky.textile
index 7d376f8..7553874 100644
--- a/plugins/org.eclipse.etrice.doc/doc/020-tutorial-blinky.textile
+++ b/plugins/org.eclipse.etrice.doc/doc/020-tutorial-blinky.textile
@@ -27,8 +27,8 @@ You will perform the following steps:
h2. Create a new model from scratch
Remember exercise ??HelloWorld??.
-Create a new file in your model folder and name it ??Blinky.room??
-Open the file and copy the following code into the file.
+Create a new eTrice project and name it ??Blinky??
+Open the ??Blinky.room?? file and copy the following code into the file or use content assist to create the model.
bc..
RoomModel Blinky {
@@ -111,7 +111,7 @@ h2. Implement the Behavior
The application should switch on and off the LED for 5 seconds in a 1 second interval, than stop blinking for 5 seconds and start again. To implement this behavior we will implement two FSMs. One for the 1 second interval and one for the 5 second interval. The 1 second blinking should be implemented in ??Blinky??. The 5 second interval should be implemented in ??BlinkyController??. First implement the Controller.
Right click to ??BlinkyController?? and select ??Edit Behavior??.
-Drag and Drop the ??Initial Point?? and two <cite>State</cite>s into the top state. Name the states ??on?? and ??off??.
+Drag and Drop the ??Initial Point?? and two ??States?? into the top state. Name the states ??on?? and ??off??.
Use the ??Transition?? tool to draw transitions from ??init?? to ??off?? from ??on?? to ??off?? and from ??off?? to ??on??.
Open the transition dialog by double click the arrow to specify the trigger event and the action code of each transition. Note that the initial transition does not have a trigger event.