Klima Anlæg
Loading...
Searching...
No Matches
klima.c++ File Reference
#include "DHT.h"
#include <EEPROM.h>

Macros

#define DHT11_PIN   7
 
#define RED_LED   9
 
#define YELLOW_LED   11
 
#define GREEN_LED   10
 
#define WHITE_LED   12
 
#define BUTTON_PIN   8
 
#define POT_PIN   A0
 

Functions

DHT dht11 (DHT11_PIN, DHT11)
 
void setup ()
 
void loop ()
 

Variables

bool thermostatActive = true
 
float targetTemp = 25.0
 
float currentTemp = 0.0
 
const float tempTolerance = 1.0
 

Macro Definition Documentation

◆ BUTTON_PIN

#define BUTTON_PIN   8

◆ DHT11_PIN

#define DHT11_PIN   7

◆ GREEN_LED

#define GREEN_LED   10

◆ POT_PIN

#define POT_PIN   A0

◆ RED_LED

#define RED_LED   9

◆ WHITE_LED

#define WHITE_LED   12

◆ YELLOW_LED

#define YELLOW_LED   11

Function Documentation

◆ dht11()

DHT dht11 ( DHT11_PIN ,
DHT11  )

◆ loop()

void loop ( )

◆ setup()

void setup ( )

Variable Documentation

◆ currentTemp

float currentTemp = 0.0

◆ targetTemp

float targetTemp = 25.0

◆ tempTolerance

const float tempTolerance = 1.0

◆ thermostatActive

bool thermostatActive = true