Ashley, That is exactly the intent, A visual programming language where the user simply drops objects, Then selects events and properties. ie. Drop Timer. Set Period property to 1 sec, set event to READ ADC Drop ADC, Set ADC high threshold property = say 2V, set event = Send Com Message Drop Comm Message. Set message type = ADV Over voltage Regards David Huisman -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Ashley Roll Sent: Friday, 14 September 2001 14:51 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: pseudo code Hi David, I've been thinking of implementing a state machine/compiler for the PIC for a little while and it strikes me that for simple tasks like that it might be easier for a novice to understand a graphical drawing of a state machine/flow chart type of display.. Have you considered making the language more like a state machine? To be effective for a novice it would need to be graphical though I would think.. You could then have segments of code executed on transitions, and conditions are constantly checked on the current state. Again these would be arbitrary conditions (ADC > 20, PortB.1 = 1, Serial Data Arrived, etc) Cheers, Ash. --- Ashley Roll Digital Nemesis Pty Ltd www.digitalnemesis.com Mobile: +61 (0)417 705 718 > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of David Huisman > Sent: Friday, 14 September 2001 1:32 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: pseudo code > [...] > The aim of the project is to allow non-programmers to > set up small applications to perform specific functions > without needing to know anything much about programming > or assemblers etc. > > They may for example want to do something like. Read ADC port every 1 > second. If Value > threshold then send com message or set port pin etc. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads