
主導機 mbed用のプログラムです 改良しました
Dependencies: mbed
Fork of F3RC_syudou_master by
Revision 2:0e2a5eaebd27, committed 2015-04-30
- Comitter:
- hirokimineshita
- Date:
- Thu Apr 30 06:13:49 2015 +0000
- Parent:
- 1:0886c5dd578a
- Child:
- 3:fe59877ed801
- Commit message:
- 2015/04/30 PM 3 change document
Changed in this revision
User.cpp | Show annotated file Show diff for this revision Revisions of this file |
User.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/User.cpp Thu Apr 30 06:09:19 2015 +0000 +++ b/User.cpp Thu Apr 30 06:13:49 2015 +0000 @@ -1,3 +1,5 @@ +/** @file + */ #include "Utils.h" #include "USBHost.h" #include "hci.h" @@ -13,11 +15,17 @@ DigitalOut led3(LED3); DigitalOut led4(LED4); +/** + * @bref write proguram in this funtion what you want to do 1st and once. + */ void UserLoopSetting(){ //一度だけ行いたい初期設定をここに書く led1.period_ms(20); } +/** + * @bref write proguram in this function what you want to do. + */ void UserLoop(char n,const u8* data){ u16 ButtonState; if(n==0){//有線Ps3USB.cpp
--- a/User.h Thu Apr 30 06:09:19 2015 +0000 +++ b/User.h Thu Apr 30 06:13:49 2015 +0000 @@ -1,9 +1,2 @@ -/** @file - */ -/** write proguram in this funtion what you want to do 1st and once. - */ void UserLoopSetting(void); - -/** write proguram in this function what you want to do. - */ void UserLoop(char,const u8*); \ No newline at end of file