Template project for University of York ELE00032C Lab 3

Dependencies:   UoY-serial

main.cpp

Committer:
ajp109
Date:
2021-01-12
Revision:
2:64d80449da6d
Parent:
1:6923dfa9901e
Child:
3:d230011f6c3b

File content as of revision 2:64d80449da6d:

#include "mbed.h"

void test() {
    int count = 3;
    printf("In test(), count = %d\r\n", count);
}

int main()
{
    int count = 5;
    
    test();
    
    printf("In main(), count = %d\r\n", count);
    
    // Do nothing, forever...
    while (true);
}