2018 revision to classic DataBus AVC code.

Dependencies:   LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell

Committer:
shimniok
Date:
Sun Dec 02 17:48:23 2018 +0000
Revision:
3:4ffb1f9ba166
Parent:
1:7019a60fd585
Child:
4:de7feb458652
added overloaded attach() for each parameter type

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shimniok 1:7019a60fd585 1 #ifndef __CONFIG_H
shimniok 1:7019a60fd585 2 #define __CONFIG_H
shimniok 1:7019a60fd585 3
shimniok 3:4ffb1f9ba166 4 #include "mbed.h"
shimniok 3:4ffb1f9ba166 5
shimniok 1:7019a60fd585 6 class Config {
shimniok 1:7019a60fd585 7 public:
shimniok 1:7019a60fd585 8 int load(char *filename);
shimniok 3:4ffb1f9ba166 9 void attach(Callback<void(char *)> cb);
shimniok 3:4ffb1f9ba166 10 void attach(Callback<void(int)> cb);
shimniok 3:4ffb1f9ba166 11 void attach(Callback<void(float)> cb);
shimniok 3:4ffb1f9ba166 12 void attach(Callback<void(double)> cb);
shimniok 1:7019a60fd585 13 }
shimniok 1:7019a60fd585 14
shimniok 1:7019a60fd585 15 #endif