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.
Dependencies: mbed
Fork of Nucleo_PS3_Jikken_XBEE by
Revision 13:5bccc2d600eb, committed 2015-10-04
- Comitter:
- nodoame
- Date:
- Sun Oct 04 03:53:39 2015 +0000
- Parent:
- 12:6445a3c3d34c
- Child:
- 14:aaf2ae25e508
- Commit message:
- ????????
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Oct 02 09:53:20 2015 +0000 +++ b/main.cpp Sun Oct 04 03:53:39 2015 +0000 @@ -141,17 +141,17 @@ double deg=32; while(true) { - //スイッチが押された時 + /*//スイッチが押された時 if(((int)DATA[1]&12)==12&&!btFlag){ wait(0.001f); Mechanum.putc(64); btFlag=true; Blue=0.0f;Green=0.8f;Red=0; vector=64; - } + }*/ //方向選択 - else if((int)deg==devideNum) + if(!btFlag) { deg=devidePoint((double)DATA[3],(double)DATA[2],15,360/devideNum); pc.printf("deg%lf\r\n",deg);