Early commits of my project

Dependencies:   mbed Gamepad N5110

Committer:
el17arm
Date:
Tue Mar 12 00:21:58 2019 +0000
Revision:
3:140cad440684
Parent:
2:ba653520a140
Child:
6:6294bf4eafc8
replaced joystick library with gamepad library, not working as well. joystick displays wrong directions on coolterm then states 'operator out of memory and the board LED flashes red and the screen freezes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17arm 0:9e5f9e1c8ef9 1
el17arm 0:9e5f9e1c8ef9 2 #ifndef MAIN_H
el17arm 0:9e5f9e1c8ef9 3 #define MAIN_H
el17arm 0:9e5f9e1c8ef9 4
el17arm 0:9e5f9e1c8ef9 5 #include "mbed.h"
el17arm 0:9e5f9e1c8ef9 6 #include "N5110.h"
el17arm 3:140cad440684 7 #include "Gamepad.h"
el17arm 0:9e5f9e1c8ef9 8
el17arm 0:9e5f9e1c8ef9 9 //objects defined in main file, removes need to define multiple times
el17arm 0:9e5f9e1c8ef9 10
el17arm 0:9e5f9e1c8ef9 11 extern N5110 lcd;
el17arm 1:c80162894831 12 extern AnalogIn pot0;
el17arm 0:9e5f9e1c8ef9 13
el17arm 0:9e5f9e1c8ef9 14 //function prototypes
el17arm 0:9e5f9e1c8ef9 15
el17arm 0:9e5f9e1c8ef9 16 void init();
el17arm 1:c80162894831 17 void contrast();
el17arm 2:ba653520a140 18 void minerbitmap();
el17arm 0:9e5f9e1c8ef9 19
el17arm 0:9e5f9e1c8ef9 20 #endif