Andy Pomfret
/
UoY-32C-lab3-tasks
Template project for University of York ELE00032C Lab 3 tasks
main.cpp
- Committer:
- ajp109
- Date:
- 2021-01-12
- Revision:
- 2:64d80449da6d
- Parent:
- 1:6923dfa9901e
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); }