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:
- 13:87794ce49b50
- Parent:
- 8:1638e8c8ca93
- Child:
- 14:a99f81878336
--- a/communicate.h Tue Sep 15 08:32:03 2015 +0000 +++ b/communicate.h Wed Sep 16 00:47:46 2015 +0000 @@ -10,8 +10,22 @@ } /***Get state ps3con.***/ +inline void SBDBT_interrupt(); +inline void initializeSBDBT(); Serial SBDBT(SBDBT_TX, SBDBT_RX); #define ps3_start 0x80 +extern short toggle = 0; +extern short edge_circle = 0; +extern short edge_triangle = 0; +extern short edge_r1 = 0; +extern short edge_l1 = 0; +extern short edge_l_up = 0; +extern short edge_l_down = 0; +extern short edge_r_up = 0; +extern short edge_r_down = 0; +extern short edge_right = 0; +extern short edge_left = 0; +extern short edge_up = 0; short square=0,triangle=0,circle=0,cross=0,up=0,down=0,right=0,left=0,l1=0,l2=0,r1=0,r2=0; signed int analog_lx=0,analog_ly=0,analog_rx=0,analog_ry=0; int ps3_data[7];