![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Adam Baker 201166301
Dependencies: mbed Gamepad N5110
main.cpp
- Committer:
- adambakerwa
- Date:
- 2019-03-18
- Revision:
- 0:0dcf08db8d61
- Child:
- 1:a3cce487dffe
File content as of revision 0:0dcf08db8d61:
#include "mbed.h" #include "Gamepad.h" #include "N5110.h" N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); Gamepad pad; int main() { int fps = 8; pad.init(); lcd.init(); while(1) { lcd.clear(); lcd.drawLine(0,40,84,40,1); lcd.refresh(); wait(1.0f/fps); } }