Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

main/main.h

Committer:
Noximilien
Date:
2019-03-18
Revision:
14:e8de27c4d0d4
Parent:
9:5ad5501c702e
Child:
15:0145c5f0bea1

File content as of revision 14:e8de27c4d0d4:

#ifndef MAIN_H
#define MAIN_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"



//Global variables
extern N5110 lcd;
extern Gamepad gamepad;
extern AnalogIn pot;
extern AnalogIn x_dir;
extern AnalogIn y_dir;

static const int fps = 10;

static const int screen_width = 84;
static const int screen_height = 41;    // it is lower then the maximum because of the score display.


#endif