Sample of program breaking when a certain set of source files are in a folder, but is fine when it is in the root. In this case, it is tested with RF12B.cpp, RF12B.h and rfdefs
main.cpp@0:349dc9b0984f, 2012-03-25 (annotated)
- Committer:
- narshu
- Date:
- Sun Mar 25 13:39:11 2012 +0000
- Revision:
- 0:349dc9b0984f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
narshu | 0:349dc9b0984f | 1 | #include "mbed.h" |
narshu | 0:349dc9b0984f | 2 | #include "RF12B.h" |
narshu | 0:349dc9b0984f | 3 | |
narshu | 0:349dc9b0984f | 4 | DigitalOut myled(LED1); |
narshu | 0:349dc9b0984f | 5 | RF12B rf(p5, p6, p7, p8, p9); |
narshu | 0:349dc9b0984f | 6 | |
narshu | 0:349dc9b0984f | 7 | int main() { |
narshu | 0:349dc9b0984f | 8 | while(1) { |
narshu | 0:349dc9b0984f | 9 | myled = 1; |
narshu | 0:349dc9b0984f | 10 | wait(0.2); |
narshu | 0:349dc9b0984f | 11 | myled = 0; |
narshu | 0:349dc9b0984f | 12 | wait(0.2); |
narshu | 0:349dc9b0984f | 13 | } |
narshu | 0:349dc9b0984f | 14 | } |