summaryrefslogtreecommitdiff
path: root/OpenModelicaArduino/Source
diff options
context:
space:
mode:
authorSumeet Koli2018-06-16 16:02:59 +0530
committerSumeet Koli2018-06-16 16:02:59 +0530
commit4ad6246e6567e912ab2ef37bb64d78cdf33f8cbc (patch)
treed23ae1bb30f923aea810f46d2b150bdab9af5215 /OpenModelicaArduino/Source
parent92e638d20d2af678e618d03a2a9db344412765fa (diff)
downloadOpenModelicaEmbedded-1-4ad6246e6567e912ab2ef37bb64d78cdf33f8cbc.tar.gz
OpenModelicaEmbedded-1-4ad6246e6567e912ab2ef37bb64d78cdf33f8cbc.tar.bz2
OpenModelicaEmbedded-1-4ad6246e6567e912ab2ef37bb64d78cdf33f8cbc.zip
Support for Tiva C board, Changes in library file and 'Analog Input' pin to work with ADC of varied resolutions
Diffstat (limited to 'OpenModelicaArduino/Source')
-rwxr-xr-xOpenModelicaArduino/Source/libmodelPlugFirmata.sobin65528 -> 56334 bytes
-rwxr-xr-xOpenModelicaArduino/Source/modelPlugFirmata.h2
2 files changed, 1 insertions, 1 deletions
diff --git a/OpenModelicaArduino/Source/libmodelPlugFirmata.so b/OpenModelicaArduino/Source/libmodelPlugFirmata.so
index f4cd733..22d3c01 100755
--- a/OpenModelicaArduino/Source/libmodelPlugFirmata.so
+++ b/OpenModelicaArduino/Source/libmodelPlugFirmata.so
Binary files differ
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);