summaryrefslogtreecommitdiff
path: root/Source/modelPlugFirmata.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/modelPlugFirmata.h')
-rwxr-xr-xSource/modelPlugFirmata.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/Source/modelPlugFirmata.h b/Source/modelPlugFirmata.h
deleted file mode 100755
index d4249f9..0000000
--- a/Source/modelPlugFirmata.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef MODELPLUG_H
-#define MODELPLUG_H
-
-
-#if defined(_MSC_VER)
- // Microsoft VC++
- #define EXPORT __declspec(dllexport)
-#else
- // GCC
- #define EXPORT __attribute__((visibility("default")))
-#endif
-
-extern "C" {
-
-EXPORT void* boardConstructor(char* port,bool showCapabilitites,int samplingMs,int baudRate,bool dtr);
-EXPORT void boardDestructor(void* object);
-
-EXPORT void updateBoard(int id);
-EXPORT int getBoardId(void* object);
-
-
-EXPORT double readAnalogPin (int pin, double min, double max, double init, int id);
-EXPORT int readDigitalPin (int pin, int init, int id);
-EXPORT void writeAnalogPin (int pin, int id,double value);
-EXPORT void writeDigitalPin(int pin, int id,int value);
-EXPORT void writeServoPin (int pin, int id,double value, int min, int max);
-
-}
-
-#endif \ No newline at end of file