Zeyu Feng 201377605
Dependencies: mbed
On Minerva
Diff: main.cpp
- Revision:
- 2:67b51ee7fc34
- Parent:
- 1:b133934e0d45
- Child:
- 3:b8fbaefc496c
--- a/main.cpp Wed Mar 11 15:11:12 2020 +0000 +++ b/main.cpp Sun Apr 12 04:35:32 2020 +0000 @@ -14,14 +14,22 @@ #include "mbed.h" #include "Gamepad.h" #include "N5110.h" +#include "People.h" // objects Gamepad pad; N5110 lcd; +People people; int main() { - + lcd.init(); + lcd.setContrast(0.5); + pad.init(); + people.init(); + people.draw(lcd); + lcd.refresh(); + }