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.cpp
- Revision:
- 7:1dce07fd0867
- Parent:
- 5:6e3afee7eac3
- Child:
- 8:52794de935b2
--- a/GraphicEngine/GraphicEngine.cpp Mon May 11 21:16:12 2020 +0000 +++ b/GraphicEngine/GraphicEngine.cpp Mon May 11 22:57:53 2020 +0000 @@ -44,7 +44,7 @@ // draw to screen // create an enum to determine the vehicle type - for(int y = 0; y < 2; y++){ + for(int y = 0; y < 4; y++){ showIndividualCar(&car[y]); } } @@ -61,7 +61,7 @@ } void GraphicEngine::displayCar(DrawCar &size){ - lcd.drawRect(size.x, size.y, size.width, size.height, FILL_BLACK); + lcd.drawRect(size.x, size.y, size.width, size.height, FILL_TRANSPARENT); } void GraphicEngine::printTest(){