Fix spelling mistakes (#1104)
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
// will make the sketch too large for a pro mini's memory so it's probably best to try
|
||||
// one at a time.
|
||||
|
||||
#define ID_S_ARMED 0 // dummy to controll armed stated for several sensors
|
||||
#define ID_S_ARMED 0 // dummy to control armed stated for several sensors
|
||||
#define ID_S_DOOR 1
|
||||
//#define ID_S_MOTION 2
|
||||
//#define ID_S_SMOKE 3
|
||||
@@ -91,7 +91,7 @@ bool metric = true;
|
||||
long randNumber;
|
||||
|
||||
|
||||
//Instanciate Messages objects
|
||||
//Instantiate Messages objects
|
||||
|
||||
#ifdef ID_S_ARMED
|
||||
bool isArmed;
|
||||
@@ -857,7 +857,7 @@ void temp()
|
||||
void hum()
|
||||
{
|
||||
|
||||
Serial.print("Humitidty is: " );
|
||||
Serial.print("Humidity is: " );
|
||||
Serial.println(randNumber);
|
||||
|
||||
send(msg_S_HUM.set(randNumber));
|
||||
@@ -873,7 +873,7 @@ void baro()
|
||||
long pressure = map(randNumber,1,100,870,1086);// hPa?
|
||||
int forecast = map(randNumber,1,100,0,5);
|
||||
|
||||
Serial.print("Atmosferic Pressure is: " );
|
||||
Serial.print("Atmospheric Pressure is: " );
|
||||
Serial.println(pressure);
|
||||
send(msg_S_BARO_P.set(pressure));
|
||||
|
||||
@@ -907,7 +907,7 @@ void wind()
|
||||
void rain()
|
||||
{
|
||||
|
||||
Serial.print("Rain ammount is: " );
|
||||
Serial.print("Rain amount is: " );
|
||||
Serial.println(randNumber);
|
||||
|
||||
send(msg_S_RAIN_A.set(randNumber));
|
||||
@@ -1488,7 +1488,7 @@ void receive(const MyMessage &message)
|
||||
#endif
|
||||
|
||||
default:
|
||||
Serial.print("Unknown/UnImplemented message type: ");
|
||||
Serial.print("Unknown/Unimplemented message type: ");
|
||||
Serial.println(message.type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user