Fleximon Plugins


Home / FAQ / Download / Plugins / SF project page / EKPplus / Contact


Available Plugins

  • ETEMP - Conrad digital 4-channel thermometre 304
    Written for a digital thermometre with a serial readout, this plugin gets centigrade temperature from the four channels of the Conrad 304.
    download


Writing Plugins

It is very easy to write plugins for Fleximon. Here is a sample plugin:
#include "libfleximon.h"

char *respond_dummy (char *args)
{
   return "dummy value";
}

FM_PLUGIN("dummy","dummy plugin",respond_dummy)
		
The plugin must be compiled with these compiler options (Makefile fragment, assuming the GNU C compiler):
CC=gcc
CCOPTS=         # -g, -Wall, -O2 - whatever you like
$(CC) $(CCOPTS) -DFM_AS_PLUGIN -fPIC -shared dummy.c -o dummy.o
		



  EKP CDF II   SourceForge Logo