Disadvantage: when the image is rescaled, the image map is not. So the hot spots with the links are not where they are supposed to be.
Testing Lists with HTML
As mentioned before, the data that is transmitted consists of 40 bits. 2 bytes for the relative humidity, 2 bytes for the temperature and 1 byte (check-sum) to check for finding errors in the transmission. The principle becomes clearer when looking at an example transmission:
\[\mathrm{0000\; 0010\; 1000\; 1100\;\; 0000\; 0001\; 0101\; 1111\;\; 1110\; 1110}\]
\[\mathrm{\;\;\;\;\;\;\;\;\; Humidity \;\;\;\;\;\;\;\;\;|\;\;\;\;\;Temperature \;\;\;\;\;\;\;|\; check-sum}\]
The function Serial.begin() starts the serial connection.
Arduino IDE style Fonts for functions etc:
<html><HTMLElement</html> <span>InlineText</span> <b>bold</b> <font face="Courier New">TextInCourierNew</font> <font style="color:#CD5307">TextInOrange</font> Black: <b><font face="Courier New">TextInBlack</font></b> Orange: <b><font face="Courier New"><font style="color:#CD5307">TextInOrange</font></font></b> Blue: <b><font face="Courier New"><font style="color:#0098A3">TextInBlue</font></font></b> Green: <b><font face="Courier New"><font style="color:#5A6B0F">TextInGreen</font></font></b> Hexadecimal Color Codes: Orange (Objects, functions): #CD5307 Blue (Variables): #0098A3 Green (preprocessor commands): #5A6B0F
Basic: Text
Methods
Loops and control structures
for()
if()
setup()
loop()
Variables
const int
String
long
unsigned int
uint8_t
Preprocessor Commands
#include
#define
Functions
delay()
printAddress()
Further information on the sensors and devices used can be seen in their respective pages:
DHT-22 Air Temperature and Humidity Sensor