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 KondoServoLibrary Encoder
Revision 4:d7f5fb6fddeb, committed 2015-04-30
- Comitter:
- hirokimineshita
- Date:
- Thu Apr 30 06:18:06 2015 +0000
- Parent:
- 3:fe59877ed801
- Child:
- 5:b52077a3c576
- Commit message:
- 2015/04/30 PM 3 change document 3
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:15:51 2015 +0000
+++ b/User.cpp Thu Apr 30 06:18:06 2015 +0000
@@ -1,5 +1,3 @@
-/** @file
- */
#include "Utils.h"
#include "USBHost.h"
#include "hci.h"
@@ -15,17 +13,11 @@
DigitalOut led3(LED3);
DigitalOut led4(LED4);
-/** UserLoopSetting :
- * @bref write proguram in this funtion what you want to do 1st and once.
- */
void UserLoopSetting(){
//一度だけ行いたい初期設定をここに書く
led1.period_ms(20);
}
-/** UserLoop :
- * @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:15:51 2015 +0000 +++ b/User.h Thu Apr 30 06:18:06 2015 +0000 @@ -1,2 +1,12 @@ +/** @file + */ + +/** UserLoopSetting : + * @bref write proguram in this funtion what you want to do 1st and once. + */ void UserLoopSetting(void); + +/** UserLoop : + * @bref write proguram in this function what you want to do. + */ void UserLoop(char,const u8*); \ No newline at end of file