ARM mbed M2X API Client: The ARM mbed client library is used to send/receive data to/from AT&T's M2X service from mbed LPC1768 microcontrollers.
Dependents: m2x-demo-all M2X_MTS_ACCEL_DEMO M2X_MTS_Accel M2X_K64F_ACCEL ... more
Diff: Print.h
- Revision:
- 22:4d895e732765
- Parent:
- 21:6878944d2ce2
diff -r 6878944d2ce2 -r 4d895e732765 Print.h --- a/Print.h Sat Jan 02 02:29:43 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#ifndef Print_h -#define Print_h - -#include <stddef.h> -#include <stdint.h> - -class Print { -public: - size_t print(const char* s); - size_t print(char c); - size_t print(int n); - size_t print(long n); - size_t print(double n, int digits = 2); - - size_t println(const char* s); - size_t println(char c); - size_t println(int n); - size_t println(long n); - size_t println(double n, int digits = 2); - size_t println(); - - virtual size_t write(uint8_t c) = 0; - virtual size_t write(const uint8_t* buf, size_t size); -}; - -#endif