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