Add Library
This commit is contained in:
parent
e365b9dbd9
commit
3c47103b39
318 changed files with 56465 additions and 0 deletions
2
libraries/FlowMeter-master/.gitattributes
vendored
Normal file
2
libraries/FlowMeter-master/.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.h linguist-language=Arduino
|
||||
*.cpp linguist-language=Arduino
|
28
libraries/FlowMeter-master/.gitignore
vendored
Normal file
28
libraries/FlowMeter-master/.gitignore
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Compiled Object files
|
||||
*.slo
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Compiled Dynamic libraries
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
|
||||
# Fortran module files
|
||||
*.mod
|
||||
|
||||
# Compiled Static libraries
|
||||
*.lai
|
||||
*.la
|
||||
*.a
|
||||
*.lib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
3
libraries/FlowMeter-master/.gitmodules
vendored
Normal file
3
libraries/FlowMeter-master/.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "wiki"]
|
||||
path = wiki
|
||||
url = https://github.com/sekdiy/FlowMeter.wiki.git
|
20
libraries/FlowMeter-master/.travis.yml
Normal file
20
libraries/FlowMeter-master/.travis.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
language: c
|
||||
before_install:
|
||||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
|
||||
- sleep 3
|
||||
- export DISPLAY=:1.0
|
||||
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
|
||||
- tar xf arduino-1.6.5-linux64.tar.xz
|
||||
- sudo mv arduino-1.6.5 /usr/local/share/arduino
|
||||
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
|
||||
install:
|
||||
- ln -s $PWD /usr/local/share/arduino/libraries/FlowMeter
|
||||
# - arduino --install-library "Adafruit SleepyDog Library,Adafruit MQTT Library"
|
||||
script:
|
||||
- arduino --verify --board arduino:avr:uno $PWD/examples/Simple/Simple.ino
|
||||
- arduino --verify --board arduino:avr:uno $PWD/examples/Simulator/Simulator.ino
|
||||
- arduino --verify --board arduino:avr:uno $PWD/examples/Calibration/Calibration.ino
|
||||
notifications:
|
||||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
47
libraries/FlowMeter-master/keywords.txt
Normal file
47
libraries/FlowMeter-master/keywords.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
#######################################
|
||||
# Syntax Coloring Map For FlowMeter
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
FlowMeter KEYWORD1
|
||||
FlowSensorProperties KEYWORD1
|
||||
FlowSensorCalibration KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
getPin KEYWORD2
|
||||
getCurrentFlowrate KEYWORD2
|
||||
getCurrentFrequency KEYWORD2
|
||||
getCurrentVolume KEYWORD2
|
||||
getCurrentDuration KEYWORD2
|
||||
getCurrentError KEYWORD2
|
||||
|
||||
getTotalVolume KEYWORD2
|
||||
getTotalDuration KEYWORD2
|
||||
getTotalFlowrate KEYWORD2
|
||||
getTotalError KEYWORD2
|
||||
|
||||
setTotalVolume KEYWORD2
|
||||
setTotalDuration KEYWORD2
|
||||
setTotalError KEYWORD2
|
||||
|
||||
tick KEYWORD2
|
||||
count KEYWORD2
|
||||
reset KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Instances (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
UncalibratedSensor KEYWORD2
|
||||
FS300A KEYWORD2
|
||||
FS400A KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
9
libraries/FlowMeter-master/library.properties
Normal file
9
libraries/FlowMeter-master/library.properties
Normal file
|
@ -0,0 +1,9 @@
|
|||
name=FlowMeter
|
||||
version=1.1.0
|
||||
author=Sebastian Kraus <sekdiy@gmail.com>
|
||||
maintainer=Sebastian Kraus <sekdiy@gmail.com>
|
||||
sentence=An Arduino flow meter library that provides calibrated liquid flow and volume measurement with flow sensors.
|
||||
paragraph=This Flow Meter library is primarily intended for use with impeller flow sensors, although other types of sensors could be made to work.
|
||||
category=Sensors
|
||||
url=https://github.com/sekdiy/FlowMeter
|
||||
architectures=*
|
Loading…
Add table
Add a link
Reference in a new issue