This file contains 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
.style, .style2 { | |
font-size: 12px; | |
} | |
.style, .style2 { | |
color: blue; | |
} | |
.style, .style2 { | |
color: red; |
This file contains 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
%place1{ | |
font-size: 12px; | |
} | |
%place2{ | |
@extend %place1; | |
color: blue; | |
} | |
%place3{ |
This file contains 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
.style, .style2 { | |
font-size: 14px; | |
} | |
.style, .style2 { | |
font-size: 12px; | |
color: blue; | |
color: red; | |
border: 1px solid red; | |
color: green; |
This file contains 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
@mixin mix1{ | |
font-size: 12px; | |
} | |
@mixin mix2{ | |
@include mix; | |
color: blue; | |
} | |
@mixin mix3{ |
This file contains 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
div.style { | |
font-size: 30px; | |
color: red; | |
} | |
button { | |
@extend div, .style; | |
} |
This file contains 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
div.style { | |
font-size: 30px; | |
color: red; | |
} | |
button { | |
@extend div.style; | |
} |
This file contains 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 <ArduinoJson.h> | |
#include <DallasTemperature.h> | |
#include <DHT.h> | |
//Let's say we have some DHT sensors | |
#define DHTPIN 2 | |
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 | |
DHT dht(DHTPIN, DHTTYPE); | |
//And let's say we've got DS18B20 |
This file contains 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 <ArduinoJson.h> | |
//Structure that will hold readings of all the sensors | |
typedef struct | |
{ | |
float value =0 ; | |
char Label[20] = ""; | |
char Units[7] = ""; | |