This is a simple example of assembly-language programming inside of an MBED program. It is just a blink program with two functions: setup() and loop().

Dependencies:   mbed

main.cpp

Committer:
ghsalazar
Date:
2020-04-22
Revision:
0:5446675502f2

File content as of revision 0:5446675502f2:

#include "mbed.h"

extern "C" void setup(void);
extern "C" void loop(void);

int main() {
    setup();
    loop();
}