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.
Control.h
- Committer:
- OishiHinata
- Date:
- 2019-12-28
- Revision:
- 3:42a8da1837f7
- Parent:
- 2:43e1336c80e4
- Child:
- 4:90b840185921
File content as of revision 3:42a8da1837f7:
#ifndef CONTROl_H #define CONTROL_H #include "SBDBT.h" class control{ public: void setup(); void run(); private: int s_time; int Vx,Vy,wl; float bias[6]; int pwm[6]; void OmniControl(); void ModuleControl(); int pre_button[12]; #define L1 0 #define L2 1 #define R1 2 #define R2 3 #define TRIANGLE 4 #define CIRCLE 5 #define CROSS 6 #define SQUARE 7 #define UP 8 #define DOWN 9 #define LEFT 10 #define RIGHT 11 int CheckButton(int status,int button); // int s_time; }; #endif