mirror of https://github.com/arendst/Tasmota.git
4b4b3709ad
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 |
||
---|---|---|
.. | ||
Adafruit-GFX-Library-1.2.9 | ||
Adafruit_CCS811-1.0.0.14 | ||
Adafruit_ILI9341-1.2.0-Tasmota-1.0 | ||
Adafruit_LED_Backpack-1.1.6 | ||
Adafruit_SGP30-1.0.0.13 | ||
Adafruit_SSD1306-1.1.2 | ||
ArduinoJson-5.13.4 | ||
BME680_driver-bme680_v3.5.9 | ||
C2Programmer-1.0.0 | ||
I2Cdevlib-ADS1115 | ||
I2Cdevlib-Core | ||
I2Cdevlib-MPU6050 | ||
IRremoteESP8266-2.5.2.03 | ||
Joba_Tsl2561-2.0.7 | ||
LinkedList-1.2.3 | ||
LiquidCrystal_I2C-1.1.3 | ||
Mutichannel_Gas_Sensor | ||
NeoPixelBus-2.2.9 | ||
NewPing-1.9.1 | ||
OneWire-2.3.3.06 | ||
PubSubClient-EspEasy-2.6.09 | ||
TasmotaModbus-1.1.0 | ||
TasmotaMqtt-1.1.1 | ||
TasmotaSerial-2.3.0 | ||
arduino-mqtt-2.4.0 | ||
esp-epaper-29-ws-20171230-gemu-1.0 | ||
esp-knx-ip-0.5.1 | ||
rc-switch-2.6.2.13 | ||
readme.txt |
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