Funzioni di IO varie con seriale asincrona

Dependents:   Nucleo_AsyncSerialIO

Fork of IOFuncLib by Max Scordamaglia

Revision:
18:149091052948
Parent:
17:9a7f30cb244d
diff -r 9a7f30cb244d -r 149091052948 IOFuncLib.h
--- a/IOFuncLib.h	Fri Nov 06 20:15:31 2015 +0000
+++ b/IOFuncLib.h	Fri Nov 06 22:29:58 2015 +0000
@@ -2,6 +2,7 @@
 #define IOFUNCLIB_H
 #include <string>
 #include "BufferedSerial.h"
+#include <ctype.h>
 
 #include "mbed.h"
 
@@ -53,10 +54,15 @@
     char* string2char(string sttde);
     int constrain(int amt, int low, int high);
     int c2i(char sttde);
+    double atof(char s[]);
     string i2s(int nnum);
+    void reverse(char s[]);
+    int atoi(char s[]);
+    void itoa(int n, char s[]);
     int min(int a, int b);
     int max(int a, int b);
     int abs(int x);
+    int trim(char s[]);
 
 private:
 };