<
From version < 3.1 >
edited by aas2
on 2016/05/09 13:01
To version < 6.1 >
edited by aas2
on 2017/05/04 09:28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,6 +10,12 @@
10 10  
11 11  Arduino is a project and community wich creates open-source software and open-source hardware. The Arduino boards and software are well suited for novices and expierenced programmers alike to create digital devices. In the following we will see how to develop applications for the Arduino boards using SCCharts together with the [[Arduino Eclipse Plugin>>url:http://eclipse.baeyens.it/||shape="rect"]]. Therefore we will first download and setup the development environment and afterwards create and upload a small example project.
12 12  
13 +If you want to learn the SCCharts langugage first, you can follow these links:
14 +
15 +* [[Introduction to SCCharts>>doc:SCCharts]]
16 +* [[The Textual SCCharts Language SCT>>doc:Textual SCCharts Language SCT]]
17 +* [[SCCharts Examples>>doc:Examples]]
18 +
13 13  ----
14 14  
15 15  == Download and Configure KIELER
... ... @@ -17,7 +17,7 @@
17 17  
18 18  Download and unpack the nightly build of KIELER for your OS. It is available at the [[doc:Downloads]] page.\\
19 19  
20 -**Note:** Java 1.8 is needed on all operating systems. With Java 1.7 not all plugins of KIELER will be loaded. **Furthermore on Windows**, you will need to download the **32 Bit version of KIELER** – even if you have a 64 bit operating system! Otherwise flashing the brick and uploading to the brick will fail.
26 +**Note:** Java 1.8 is needed on all operating systems. With Java 1.7 not all plugins of KIELER will be loaded.
21 21  
22 22  === The Arduino Eclipse Plugin ===
23 23  
... ... @@ -70,7 +70,7 @@
70 70  
71 71  The available wrapper code snippets are defined in the //snippets// directory of the project in ftl files (FreeMarker template files). The table below gives an overview of the available wrapper code snippets.
72 72  
73 -**Note: **To view ftl files with highlighting, you may want to install the //FreeMarker IDE// feature from the JBoss Tools. However, this is not necessary to work with KIELER. JBoss Tools is available in the Eclipse Market Place and via update site. The update site for Eclipse Luna is [[http:~~/~~/download.jboss.org/jbosstools/updates/stable/luna/>>url:http://download.jboss.org/jbosstools/updates/stable/luna/||shape="rect"]] . Note that only the //FreeMarker IDE// feature is required (Abridged JBoss Tools > FreeMarker IDE).**
79 +**Note: **To view ftl files with highlighting, you may want to install the //FreeMarker IDE// feature from the JBoss Tools. However, this is not necessary to work with KIELER. JBoss Tools is available in the Eclipse Market Place and via update site. The update site for stable releases is [[http:~~/~~/download.jboss.org/jbosstools/neon/stable/updates/ >>url:http://download.jboss.org/jbosstools/neon/stable/updates/||rel="nofollow" shape="rect" class="external-link"]]. Note that only the //FreeMarker IDE// feature is required (Abridged JBoss Tools > FreeMarker IDE).**
74 74  **
75 75  
76 76  === Launch the project: ===
... ... @@ -85,6 +85,7 @@
85 85  
86 86  There are several wrapper code snippets that can be used as annotations on input and output variables in the model file. These snippets are inserted in the main file template as part of the project launch. The available snippets are listed below.
87 87  
94 +(% class="wrapped" %)
88 88  |=(((
89 89  Snippet Name and Parameters
90 90  )))|=(((
... ... @@ -154,7 +154,7 @@
154 154  unsigned
155 155  )))|(% colspan="1" %)(% colspan="1" %)
156 156  (((
157 -
164 +\\
158 158  )))|(% colspan="1" %)(% colspan="1" %)
159 159  (((
160 160  timing.ftl
... ... @@ -195,7 +195,7 @@
195 195  unsigned
196 196  )))|(% colspan="1" %)(% colspan="1" %)
197 197  (((
198 -
205 +\\
199 199  )))|(% colspan="1" %)(% colspan="1" %)
200 200  (((
201 201  timing.ftl
... ... @@ -215,7 +215,7 @@
215 215  unsigned
216 216  )))|(% colspan="1" %)(% colspan="1" %)
217 217  (((
218 -
225 +\\
219 219  )))|(% colspan="1" %)(% colspan="1" %)
220 220  (((
221 221  print.ftl
... ... @@ -234,7 +234,7 @@
234 234  string
235 235  )))|(% colspan="1" %)(% colspan="1" %)
236 236  (((
237 -
244 +\\
238 238  )))|(% colspan="1" %)(% colspan="1" %)
239 239  (((
240 240  print.ftl
... ... @@ -248,7 +248,7 @@
248 248  )))|(((
249 249  bool
250 250  )))|(((
251 -
258 +\\
252 252  )))|(((
253 253  read_and_write.ftl
254 254  )))
... ... @@ -261,7 +261,7 @@
261 261  )))|(((
262 262  bool
263 263  )))|(((
264 -
271 +\\
265 265  )))|(((
266 266  read_and_write.ftl
267 267  )))
... ... @@ -274,7 +274,7 @@
274 274  )))|(((
275 275  int
276 276  )))|(((
277 -
284 +\\
278 278  )))|(((
279 279  read_and_write.ftl
280 280  )))
... ... @@ -292,7 +292,7 @@
292 292  int
293 293  )))|(% colspan="1" %)(% colspan="1" %)
294 294  (((
295 -
302 +\\
296 296  )))|(% colspan="1" %)(% colspan="1" %)
297 297  (((
298 298  read_and_write.ftl
... ... @@ -316,6 +316,7 @@
316 316  
317 317  The following presents typical issues and how to solve them.
318 318  
326 +(% class="wrapped" %)
319 319  |=(((
320 320  Issue
321 321  )))|=(((
... ... @@ -330,7 +330,7 @@
330 330  )))|(((
331 331  avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
332 332  )))|(((
333 -You launch a project and there is no different behaviour although there are changes in code.
341 +You launch a project and there is no different behaviour on your Arduino device, although there are changes in code.
334 334  
335 335  You try to launch the project and compilation finishes successful. However The upload fails because the upload protocol is not correctly configured.
336 336  )))|(((
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -17399847
1 +32145472
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/17399847/Arduino and SCCharts
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/32145472/Arduino and SCCharts