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.
Fork of 2015robot_main by
Diff: communicate.h
- Revision:
- 114:325e4c158141
- Parent:
- 108:7eb434cfcbd7
--- a/communicate.h Fri Oct 23 21:58:39 2015 +0000 +++ b/communicate.h Tue Oct 27 07:49:43 2015 +0000 @@ -218,6 +218,7 @@ short edge_left = 0; short edge_up = 0; short edge_down = 0; +short edge_cross = 0; short square = 0; short triangle = 0; short circle = 0; @@ -277,6 +278,7 @@ if(!up) edge_up=1; if(!square) edge_square=1; if(!down) edge_down=1; + if(!cross) edge_cross=1; } ///interrupt SBDBT RX. inline void SBDBT_interrupt() @@ -299,4 +301,4 @@ SBDBT.format(8, Serial::None, 1); SBDBT.attach(SBDBT_interrupt, Serial::RxIrq); } -#endif \ No newline at end of file +#endif