added movement code files
This commit is contained in:
@@ -2,15 +2,18 @@
|
||||
#include "board_v10.h"
|
||||
#include "motor.h"
|
||||
#include "buttons.h"
|
||||
#include "movement.h"
|
||||
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
initMotors();
|
||||
initButtons();
|
||||
initMovement();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
handleMotors();
|
||||
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