From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15771 invoked by alias); 23 Mar 2005 16:43:59 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 15672 invoked from network); 23 Mar 2005 16:43:53 -0000 Received: from unknown (HELO smtpauth05.mail.atl.earthlink.net) (209.86.89.65) by sourceware.org with SMTP; 23 Mar 2005 16:43:53 -0000 Received: from [66.47.90.38] (helo=traveller) by smtpauth05.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1DE8xT-0004MZ-2q; Wed, 23 Mar 2005 11:43:51 -0500 From: "Frank Pagliughi" To: , Date: Wed, 23 Mar 2005 18:42:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <200503231717.44169.waynetg@telkomsa.net> X-ELNK-Trace: 4d82f965df0f6dd9e3f977c6d1ea408f0a9da525759e2654f8572544735a0fb1fdaa83043412820119c9e15d1c7c699c350badd9bab72f9c350badd9bab72f9c Subject: RE: [ECOS] Event based programming in ecos X-SW-Source: 2005-03/txt/msg00233.txt.bz2 I'm currently reading "Practical Statecharts in C/C++" by Miro Samek. Some pretty neat ideas for implementing state machines, with examples for doing it with an RTOS. There are some articles on the web. Search for "statecharts" and "quantum programming" http://www.embedded.com/2000/0008/0008feat1.htm http://www.quantum-leaps.com/ The code library/frameworks are released under GPL, but currently no eCos port. If I have some time... Frank Pagliughi -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org]On Behalf Of Wayne Gemmell Sent: Wednesday, March 23, 2005 10:18 AM To: ecos-discuss@ecos.sourceware.org Subject: [ECOS] Event based programming in ecos Hi all I'm looking to make an event based program. Is there any easy way to do this? Could you please give me some directions, links. I was thinking of running a loop to monitor the sensors but this doesn't strike me as efficient and could possibly be done better with interrupts and threads. Any pointers would be appreciated. Thanks Wayne Gemmell -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss