Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: GraphicEngine/GraphicEngine.h
- Revision:
- 3:648c9d5001be
- Child:
- 4:aae7f8d4ab78
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GraphicEngine/GraphicEngine.h Mon May 04 03:55:03 2020 +0000 @@ -0,0 +1,44 @@ +#ifndef GRAPHICENGINE_H +#define GRAPHICENGINE_H + +#include "Car.h" +#include "Chicken.h" +#include "Square.h" + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + + +class GraphicEngine { + + public: + Car *car1; + Chicken *chick; + + GraphicEngine(Chicken *chicken); + + N5110 lcd; + + //initialize the LCD + void init(); + + //draws the chicken to the LCD screen + void showChicken(); + + //draws an individual car to the screen + void showCar(Car car[]); + + void clear(); + + void refresh(); + + void contrast(); + + void backLightOn(); + +}; + +#endif + + \ No newline at end of file