2018 revision to classic DataBus AVC code.

Dependencies:   LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell

Files at this revision

API Documentation at this revision

Comitter:
shimniok
Date:
Sun Dec 02 17:48:23 2018 +0000
Parent:
2:b10ea7f5ff5d
Child:
4:de7feb458652
Commit message:
added overloaded attach() for each parameter type

Changed in this revision

Config.h Show annotated file Show diff for this revision Revisions of this file
SimpleShell.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Config.h	Sun Dec 02 17:09:20 2018 +0000
+++ b/Config.h	Sun Dec 02 17:48:23 2018 +0000
@@ -1,10 +1,15 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#include "mbed.h"
+
 class Config {
 public:
     int load(char *filename);
-    get(char *name);
+    void attach(Callback<void(char *)> cb);
+    void attach(Callback<void(int)> cb);
+    void attach(Callback<void(float)> cb);
+    void attach(Callback<void(double)> cb);
 }
 
 #endif
\ No newline at end of file
--- a/SimpleShell.lib	Sun Dec 02 17:09:20 2018 +0000
+++ b/SimpleShell.lib	Sun Dec 02 17:48:23 2018 +0000
@@ -1,1 +1,1 @@
-SimpleShell#4f0affdb7db9
+SimpleShell#8f486f4d29d3