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 move3wheel
Diff: User.cpp
- Revision:
- 2:0e2a5eaebd27
- Parent:
- 0:736c76a75def
- Child:
- 3:fe59877ed801
--- 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