Shows how to use an object from multiple .cpp files

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "Global.h"
00002 
00003 int main() {
00004 
00005     while (1) {
00006         myled = 1;
00007         wait(0.2);
00008         myled = 0;
00009         wait(0.2);
00010     }
00011 }