Merge branch 'master' of http://192.168.2.3/Bonobo.Git.Server/clockclock
This commit is contained in:
BIN
CAD/ESP32 Pins.xlsx
Normal file
BIN
CAD/ESP32 Pins.xlsx
Normal file
Binary file not shown.
BIN
CAD/datasheet/X27-steps.jpg
Normal file
BIN
CAD/datasheet/X27-steps.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
@@ -2,15 +2,18 @@
|
|||||||
#include "board_v10.h"
|
#include "board_v10.h"
|
||||||
#include "motor.h"
|
#include "motor.h"
|
||||||
#include "buttons.h"
|
#include "buttons.h"
|
||||||
|
#include "movement.h"
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
initMotors();
|
initMotors();
|
||||||
initButtons();
|
initButtons();
|
||||||
|
initMovement();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
handleMotors();
|
handleMotors();
|
||||||
handleButtons();
|
handleButtons();
|
||||||
|
handleMovement();
|
||||||
}
|
}
|
||||||
12
clockclock/src/movement.cpp
Normal file
12
clockclock/src/movement.cpp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#include "movement.h"
|
||||||
|
#include "motor.h"
|
||||||
|
|
||||||
|
|
||||||
|
void handleMovement( void )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
void initMovement( void )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
4
clockclock/src/movement.h
Normal file
4
clockclock/src/movement.h
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
void handleMovement( void );
|
||||||
|
void initMovement( void );
|
||||||
Reference in New Issue
Block a user