multiplayer pong game for LPC 1768
Dependencies: mbed MbedJSONValue mbed-rtos Adafruit_ST7735 Adafruit_GFX EthernetInterface DebouncedInterrupt
graphics.cpp
- Committer:
- vsoltan
- Date:
- 2020-11-13
- Revision:
- 16:7fd48cda0773
- Child:
- 17:32ae1f106002
File content as of revision 16:7fd48cda0773:
#include "graphics.h" Graphics::Graphics() { this->tft = new Adafruit_ST7735(P_MOSI, P_MISO, P_SOCK, P_CS, P_RS, P_DC); tft->initR(); tft->fillScreen(ST7735_RED); } void Graphics::renderLaunchScreen() { } void Graphics::renderGameState(GameState *gs) { }