summaryrefslogtreecommitdiff
path: root/OpenModelicaArduino/Source/modelPlugFirmata.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenModelicaArduino/Source/modelPlugFirmata.h')
-rwxr-xr-xOpenModelicaArduino/Source/modelPlugFirmata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenModelicaArduino/Source/modelPlugFirmata.h b/OpenModelicaArduino/Source/modelPlugFirmata.h
index d4249f9..3aa1034 100755
--- a/OpenModelicaArduino/Source/modelPlugFirmata.h
+++ b/OpenModelicaArduino/Source/modelPlugFirmata.h
@@ -19,7 +19,7 @@ EXPORT void updateBoard(int id);
EXPORT int getBoardId(void* object);
-EXPORT double readAnalogPin (int pin, double min, double max, double init, int id);
+EXPORT double readAnalogPin (int pin, double min, double max, double init, int id, int adcResolution);
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);