Template project for University of York ELE00032C Lab 4

Dependencies:   UoY-serial

main.cpp

Committer:
ajp109
Date:
2021-12-17
Revision:
3:d1214b83bac7
Parent:
2:811646ac034f

File content as of revision 3:d1214b83bac7:

#include "mbed.h"

struct IntVector {
    int x;
    int y;
};

int main() {
    IntVector p;
    
    p.x = -3;
    p.y = 1;
    
    printf("(%d, %d)\r\n", p.x, p.y);
    
    // Do nothing, forever...
    while (true);
}