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 MPU6050_2 HMC5883L_4 SDFileSystem3
Revision 28:887df143fa9c, committed 2019-02-20
- Comitter:
- taknokolat
- Date:
- Wed Feb 20 03:24:30 2019 +0000
- Parent:
- 27:f67efcee6509
- Child:
- 29:5d239812ace6
- Commit message:
- a
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Feb 19 11:21:00 2019 +0000
+++ b/main.cpp Wed Feb 20 03:24:30 2019 +0000
@@ -333,11 +333,14 @@
case 'P': //jevoisからraspberry piへの切り替え
jevoisFlag = false;
+ servoTurnTable.pulsewidth_us(Turntable_NEUTRAL + Turntable_speed);
+ wait_ms((float)Time360/(float)2);
+ servoTurnTable.pulsewidth_us(Turntable_NEUTRAL);
NVIC_EnableIRQ(USART1_IRQn);
NVIC_EnableIRQ(USART2_IRQn);
break;
- case 'S':
+ case 'B':
/*RasPiからの超音波判定(プログラムスタート部)*/
NVIC_EnableIRQ(USART1_IRQn);
NVIC_EnableIRQ(USART2_IRQn);