diff options
author | Sumeet Koli | 2018-06-16 16:02:59 +0530 |
---|---|---|
committer | Sumeet Koli | 2018-06-16 16:02:59 +0530 |
commit | 4ad6246e6567e912ab2ef37bb64d78cdf33f8cbc (patch) | |
tree | d23ae1bb30f923aea810f46d2b150bdab9af5215 /OpenModelicaArduino/Source | |
parent | 92e638d20d2af678e618d03a2a9db344412765fa (diff) | |
download | OpenModelicaEmbedded-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-x | OpenModelicaArduino/Source/libmodelPlugFirmata.so | bin | 65528 -> 56334 bytes | |||
-rwxr-xr-x | OpenModelicaArduino/Source/modelPlugFirmata.h | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/OpenModelicaArduino/Source/libmodelPlugFirmata.so b/OpenModelicaArduino/Source/libmodelPlugFirmata.so Binary files differindex f4cd733..22d3c01 100755 --- a/OpenModelicaArduino/Source/libmodelPlugFirmata.so +++ b/OpenModelicaArduino/Source/libmodelPlugFirmata.so 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); |