Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Food/Food.h
- Revision:
- 0:bc1d36f5f772
- Child:
- 2:b891a5841ee2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Food/Food.h Sun May 05 14:06:00 2019 +0000 @@ -0,0 +1,34 @@ +#ifndef FOOD_H +#define FOOD_H + +#include <math.h> +#include <stdlib.h> +#include "Gamepad.h" +#include "mbed.h" +#include "N5110.h" +//libraries including + +struct pos{ + + int x; + int y; + + }; //define position of food + +class Food{ + + public: + + Food(); + ~Food(); + + void init(); + void draw(N5110 &lcd); + void response(); + pos returnPos(); + + private: + + +};//define functions +#endif