Martin: In addition to what Andy mentions below: Microchip actually provides its own fuzzy development system that does not generate C code. The Inform version does. That is the main difference between the two. Version four does not explicitly support every Microchip part. The generated assembly code, when run through the assembler, will tell you if any variables or code is out of range for the part you are using. For this to work, however, you must explicitly call out what part you are using at the beginning of the assembly file. list = 16C74 for example. Finally, we have done some fuzzy development of our own for various shows, and published both the code and the development phase in our embedded control handbook. If you would like to get a copy it is a local call for you. Thanks for the interest. Pete Brink ______________________________ Forward Header __________________________________ Subject: Re: Fuzzy controllers Author: Andrew Warren at Internet_Exchange Date: 9/2/95 8:23 PM Martin Kirk (mlk@asu.edu) wrote: >Someone mentioned fuzzy controllers in an earlier posting to the >list. Does anyone know of any pic code that has been developed for >fuzzy control applications? Martin: There are two ways I'd recommend going. Ok... Maybe three. I'll list them in order of my preference, from least-desirable to most: 1. Find the right books, read them, then write your own code from the ground up. Yuck. 2. Get a copy of the Microchip-endorsed "fuzzyTECH-MP" fuzzy-logic development system from Inform. It runs under Windows, the interface is easy to use, and you can start writing fuzzy-control apps nearly immediately. The version I have (version 3) doesn't explicitly support all the newer 16Cxx parts, but it generates code for all three PIC families, so you can probably MAKE it work on any specific PIC. Version 4 (which I haven't seen yet) will probably support all the PICs explicitly. 3. This one's pretty expensive... Buy the "MP-C" C compiler from Byte Craft Limited, and while you're at it, buy their "Fuzz-C" development system. The interface isn't as pretty as Inform's, but Fuzz-C gives you a lot more flexibility. Since it outputs C code, you can use it to write fuzzy systems for any microcontroller, microprocessor, desktop PC. or massively-parallel supercomputer... Doesn't matter. FuzzyTECH-MP is really written for control applications. This is ok, but control problems can often be better solved using "traditional" techniques. If you really want to explore the capabilities of fuzzy-logic as something other than a pendulum-balancer or thermostat, get Fuzz-C. -Andy -- Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California