This program is intended for use exploring bitwise operator. It also demonstrates the use of the 8-bit unsigned char type and using printf to display integer values in various number bases.
Diff: main.cpp
- Revision:
- 8:bb09890333fe
- Parent:
- 1:846c97078558
- Child:
- 22:af9dcf379926
diff -r 313938df05aa -r bb09890333fe main.cpp --- a/main.cpp Fri Aug 05 06:00:05 2016 +0100 +++ b/main.cpp Sat Aug 06 20:30:05 2016 +0100 @@ -1,5 +1,4 @@ #include "mbed.h" -#include "rtos.h" DigitalOut led1(LED1);