This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Project Adalight FastLED | |
| * @author David Madison | |
| * @link github.com/dmadison/Adalight-FastLED | |
| * @license LGPL - Copyright (c) 2017 David Madison | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU Lesser General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <Fsm.h> | |
| #include <WiFi.h> | |
| #include "macro.h" | |
| #include "config.h" | |
| #include "modules/siren.h" | |
| #include "modules/switch_sensor.h" | |
| #include "modules/smoke_sensor.h" | |
| #include "modules/temp_humid.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Project Adalight FastLED | |
| * @author David Madison | |
| * @link github.com/dmadison/Adalight-FastLED | |
| * @license LGPL - Copyright (c) 2017 David Madison | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU Lesser General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| /* -------------------------------------------------------------------------- */ | |
| /* PM2.5 Variable */ | |
| /* -------------------------------------------------------------------------- */ | |
| // Choose program options. | |
| //#define PRINT_RAW_DATA //uncomet if you wont raw data displayed in serial monitor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* -------------------------------------------------------------------------- */ | |
| /* 16 ch analog reading Mux vs TTGO display exam */ | |
| /* By www.ModuleMore.com */ | |
| /* -------------------------------------------------------------------------- */ | |
| #include <Arduino.h> | |
| /* -------------------------------------------------------------------------- */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| void setup() { | |
| Serial.begin(115200); | |
| } | |
| void loop() { | |
| float pressure = 10013.0; | |
| float temperature = 31; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| void setup() { | |
| Serial.begin(115200); | |
| } | |
| void loop() { | |
| float pressure = 10013.0; | |
| float temperature = 31; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| void setup() { | |
| Serial.begin(115200); | |
| } | |
| void loop() { | |
| String value = "This is string variable"; | |
| Serial.println(value); | |
| delay(1000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string> | |
| #include <unistd.h> | |
| int main() | |
| { | |
| while(1) { | |
| float pressure = 10013.0; | |
| float temperature = 31; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void setup() { | |
| Serial.begin(115200); | |
| } | |
| void loop() { | |
| float pressure = 10013.0; | |
| float temperature = 31; | |