Tasmota/lib
Laurent 4b4b3709ad Introduce Expression in Rules
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset),  operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^  (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
2019-02-12 21:46:42 -05:00
..
Adafruit-GFX-Library-1.2.9 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
Adafruit_CCS811-1.0.0.14 Add CCS811 library version 2018-07-23 17:25:50 +02:00
Adafruit_ILI9341-1.2.0-Tasmota-1.0 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
Adafruit_LED_Backpack-1.1.6 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
Adafruit_SGP30-1.0.0.13 Add support for SGP30 sensor 2018-03-31 16:26:00 +02:00
Adafruit_SSD1306-1.1.2 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
ArduinoJson-5.13.4 Update ArduinoJson to 5.13.4 2019-01-09 15:32:43 +01:00
BME680_driver-bme680_v3.5.9 Rewrite BME680 driver 2018-07-04 18:41:00 +02:00
C2Programmer-1.0.0 Add SnfBrdg EFM8BB1 fw tools 2018-06-04 18:10:38 +02:00
I2Cdevlib-ADS1115 v5.9.0b - Fixes and add ADS1115 A/D converter 2017-11-07 15:57:24 +01:00
I2Cdevlib-Core Patch library I2Cdevlib-Core for 2.4.0-rc2 2017-11-22 10:57:39 +01:00
I2Cdevlib-MPU6050 Updates for release 6.4.0 2018-12-15 15:55:51 +01:00
IRremoteESP8266-2.5.2.03 Updates for release 6.4.0 2018-12-15 15:55:51 +01:00
Joba_Tsl2561-2.0.7 Update TSL2561 library 2018-07-09 12:41:17 +02:00
LinkedList-1.2.3 Introduce Expression in Rules 2019-02-12 21:46:42 -05:00
LiquidCrystal_I2C-1.1.3 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
Mutichannel_Gas_Sensor v5.12.0c - Ignore OS specific files #1983 2018-02-24 17:57:07 +01:00
NeoPixelBus-2.2.9 v5.9.1f - Update libraries and a fix 2017-11-19 18:02:03 +01:00
NewPing-1.9.1 Merge branch 'master' into development 2018-12-16 16:22:04 +01:00
OneWire-2.3.3.06 v5.9.1i - Rewrite DS18x20 sensor code 2017-11-24 17:26:20 +01:00
PubSubClient-EspEasy-2.6.09 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
TasmotaModbus-1.1.0 6.4.1.1 Fix most compiler warnings 2018-12-24 18:14:25 +01:00
TasmotaMqtt-1.1.1 Fix exception if no MQTT data 2018-03-03 19:04:33 +01:00
TasmotaSerial-2.3.0 Update TasmotaSerial to 2.3.0 2019-02-05 15:05:40 +01:00
arduino-mqtt-2.4.0 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
esp-epaper-29-ws-20171230-gemu-1.0 Updates for release 6.4.0 2018-12-15 15:55:51 +01:00
esp-knx-ip-0.5.1 Updates for release 6.4.0 2018-12-15 17:06:54 +01:00
rc-switch-2.6.2.13 Updates for release 6.3.0 2018-10-26 17:13:17 +02:00
readme.txt v5.12.0c - Fix hold time action and wifi 2018-02-24 16:37:33 +01:00

readme.txt

This directory is intended for the project specific (private) libraries.
PlatformIO will compile them to static libraries and link to executable file.

The source code of each library should be placed in separate directory, like
"lib/private_lib/[here are source files]".

For example, see how can be organized `Foo` and `Bar` libraries:

|--lib
|  |--Bar
|  |  |--docs
|  |  |--examples
|  |  |--src
|  |     |- Bar.c
|  |     |- Bar.h
|  |--Foo
|  |  |- Foo.c
|  |  |- Foo.h
|  |- readme.txt --> THIS FILE
|- platformio.ini
|--src
   |- main.c

Then in `src/main.c` you should use:

#include <Foo.h>
#include <Bar.h>

// rest H/C/CPP code

PlatformIO will find your libraries automatically, configure preprocessor's
include paths and build them.

More information about PlatformIO Library Dependency Finder
- http://docs.platformio.org/page/librarymanager/ldf.html