![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Early commits of my project
Dependencies: mbed Gamepad N5110
main.cpp
- Committer:
- el17arm
- Date:
- 2019-03-11
- Revision:
- 0:9e5f9e1c8ef9
- Child:
- 1:c80162894831
File content as of revision 0:9e5f9e1c8ef9:
#include "main.h" #include "N5110.h" #include "Joystick.h" N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); Joystick joystick(PTB10,PTB11,PTC16); AnalogIn contrast(PTB2); DigitalIn joy_button(PTC16); BusOut front_leds(PTA1,PTA2,PTC2,PTC3,PTC4, PTD3); int main() { init(); while (1) { } } void init() { lcd.init(); front_leds = 0b111111; }