Fixing details

This commit is contained in:
Lukas Bachschwell 2017-12-03 22:13:17 +01:00
parent a23f97f61a
commit e1da01b9e0
2 changed files with 4 additions and 3 deletions

View File

@ -17,14 +17,14 @@ class Hippie
{
public:
//-- Hippie initialization
//-- Hippie initialisation
void init(int YL, int YR, int RL, int RR, int Buzzer=PIN_Buzzer);
//-- Attach & detach functions
void attachServos();
void detachServos();
//-- Predetermined Motion Functions
//-- General Purpose Motion Functions
void _moveServos(int time, int servo_target[]);
void oscillateServos(int A[4], int O[4], int T, double phase_diff[4], float cycle);
@ -33,7 +33,7 @@ class Hippie
bool getRestState();
void setRestState(bool state);
//-- Predetermined Motion Functions
//-- Motion Functions
void jump(float steps=1, int T = 600);
void walk(float steps=4, int T=1000, int dir = FORWARD);

View File

@ -8,6 +8,7 @@
#include "Arduino.h"
#include "Oscillator.h"
#if defined(ESP32)
#include <ESP32_Servo.h>
#else