Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: AmbientExampleSITB AmbientHeartRateMonitor AmbientHeartBeat AmbientExampleSITB_ws ... more
Diff: Ambient.h
- Revision:
- 1:dcc2714b5bcb
- Parent:
- 0:7dca16f75bae
- Child:
- 3:a724fe60de46
--- a/Ambient.h Sat May 07 01:40:02 2016 +0000
+++ b/Ambient.h Mon Jun 06 11:41:56 2016 +0000
@@ -1,5 +1,5 @@
-#ifndef AMBIENT_H
-#define AMBIENT_H
+#ifndef Ambient_h
+#define Ambient_h
#include "mbed.h"
#include "TCPSocketConnection.h"
@@ -9,7 +9,7 @@
#define AMBIENT_DATA_SIZE 24
#define AMBIENT_NUM_PARAMS 11
-/** AMBIENT class
+/** Ambient class
* to send data to Ambient service.
*
* Exsample:
@@ -21,7 +21,7 @@
*
* unsigned int channelId = 100;
* const char* writeKey = "ライトキー";
- * AMBIENT ambient;
+ * Ambient ambient;
*
* HDC1000 hdc1000(p9,p10);
*
@@ -58,12 +58,12 @@
* }
* @endcode
*/
-class AMBIENT
+class Ambient
{
public:
- /** Create AMBIENT instance
+ /** Create Ambient instance
*/
- AMBIENT(void);
+ Ambient(void);
/** Initialize the instance
* @param channelId Initialize the Ambient instance with channelId.
@@ -109,4 +109,4 @@
} data[AMBIENT_NUM_PARAMS];
};
-#endif // AMBIENT_H
\ No newline at end of file
+#endif // Ambient_h
\ No newline at end of file
Ambient