-
33
pages
-
English
-
Documents
Description
CE 290I – Teja tutorialMarco Zennaro(zennaro@path.berkeley.edu)Important noteThis PowerPoint presentation was created to support a tutorial I have given in class. It is NOT intended to be a tutorial in itself…Please contact the author for any question on the content of this presentation.Thanks, Marco ZennaroCE 290 I Teja tutorial, © Marco Zennaro, 2004Part 2 – Writing your first simple applicationMarco Zennaro(zennaro@path.berkeley.edu)Content of this tutorialIn the previous section we saw:• How to install Teja;In this section we focus on:• References/ documentation;• Teja design flow;• How to write a simple application;CE 290 I Teja tutorial, © Marco Zennaro, 2004ReferencesDocumentation:– Provided with the installation CD;– http://www.teja.com/library/index.htmlInteractive tutorials:– Provided with the installation CD;Sample code:– Provided with the CD (complex examples)– http://teja.zennaro.net (simple examples)CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to Teja• A Teja system is defined as a group of intercommunicating components;We will focus for now on this simple example: a light system.We want a room with many lamps and two switches. We want the switches to turn on/off ALL the lamps together;CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to TejaCE 290 I Teja tutorial, © Marco Zennaro, 2004Teja design flowHow we model such a system using Teja?1) We need to describe of “a generic ...
-
Publié par
-
Langue
English