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.
Fork of Nucleo_CaitSith_Firmware by
Diff: DelayServo.cpp
- Revision:
- 6:a3829299dfd5
- Parent:
- 4:039a7d1ce3e9
diff -r 4c87a8401f7c -r a3829299dfd5 DelayServo.cpp
--- a/DelayServo.cpp Sun Jan 25 07:45:04 2015 +0000
+++ b/DelayServo.cpp Sat Feb 28 12:02:38 2015 +0000
@@ -1,6 +1,6 @@
#include <mbed.h>
-#include <DelayServo.h>
-#include <def_resources.h>
+#include "DelayServo.h"
+#include "def_resources.h"
/**
* 遅延サーボクラス
@@ -68,8 +68,6 @@
*/
void DelayServo::moveServo(void)
{
- nyandaLight = 1 - nyandaLight;
-
//角度計算
if (mTargetAngle - mCurrentAngle >= 0) {//順方向
if (mTargetAngle - mCurrentAngle > mStepAngle) {//目標角度-現在角度が上限角度を超えるなら現在値を上限角度分移動
