Dust Sesnsor PMS5003

Dependencies:   NetServices ThingSpeakEthernet mbed

Files at this revision

API Documentation at this revision

Comitter:
tbjazic
Date:
Sun Nov 29 14:26:32 2015 +0000
Parent:
7:1da0a084cd69
Child:
9:07f9279c30f7
Commit message:
premjesteni koemntari klase tocno prije deklaracije, kako bi se ispravno generirala dokumentacija

Changed in this revision

Sensor.h Show annotated file Show diff for this revision Revisions of this file
ThingSpeak.h Show annotated file Show diff for this revision Revisions of this file
--- a/Sensor.h	Sun Nov 29 13:41:05 2015 +0000
+++ b/Sensor.h	Sun Nov 29 14:26:32 2015 +0000
@@ -1,3 +1,7 @@
+#ifndef _SENSOR_H
+#define SENSOR_H  
+#include "mbed.h"
+
 /** Simple class for sensor with linear otuput. Made for later upgrading, to avarage values from ADC
  * Example:
  * @code
@@ -14,10 +18,6 @@
  * @endcode
 
 */
-#ifndef _SENSOR_H
-#define SENSOR_H  
-#include "mbed.h"
-
 class Sensor {
      
      public:
--- a/ThingSpeak.h	Sun Nov 29 13:41:05 2015 +0000
+++ b/ThingSpeak.h	Sun Nov 29 14:26:32 2015 +0000
@@ -1,3 +1,10 @@
+#ifndef THINGSPEAK_H
+#define THINGSPEAK_H
+#define HOSTNAME "mbed"
+#include "mbed.h"
+#include "EthernetNetIf.h"
+#include "HTTPClient.h"
+
 /** Class for sending data to ThingSpeak over ethernet,
  *  Class is using old mbed library revision and EthernetNetIf from
  *  https://developer.mbed.org/users/okini3939/notebook/TCPSocket_jp/
@@ -17,15 +24,6 @@
  * }
  * @endcode
 */
-
-#ifndef THINGSPEAK_H
-#define THINGSPEAK_H
-#define HOSTNAME "mbed"
-#include "mbed.h"
-#include "EthernetNetIf.h"
-#include "HTTPClient.h"
-
-
 class ThingSpeak
 {