![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Template project for University of York ELE00032C Lab 1
main.cpp
- Committer:
- ajp109
- Date:
- 2021-01-11
- Revision:
- 2:37ebb2c62336
- Parent:
- 1:e51aa8988fd1
File content as of revision 2:37ebb2c62336:
#include "mbed.h" int main() { int var = 10; printf("var: %d\n", var); if (var > 6) { printf("var is greater than 6\n"); } var = 3; printf("var: %d\n", var); if (var < 5) { printf("var is less than 5\n"); } // Do nothing, forever... while (true); }