Chris Styles
/
sub_super_functions
A program that shows the use of $Sub$$ and $Super$$ to replace symbols at link time
Diff: function.cpp
- Revision:
- 0:1ec2d1478b47
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/function.cpp Thu Sep 20 11:52:48 2012 +0000 @@ -0,0 +1,7 @@ +#include "function.h" +#include "mbed.h" + +void function (int i) { + DigitalOut led(LED1); + led=i; +} \ No newline at end of file