added movement code files

This commit is contained in:
2021-05-07 15:34:10 +02:00
parent 6c79f6de95
commit 1dc784266a
3 changed files with 19 additions and 0 deletions

View File

@@ -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();
} }

View File

@@ -0,0 +1,12 @@
#include "movement.h"
#include "motor.h"
void handleMovement( void )
{
}
void initMovement( void )
{
}

View File

@@ -0,0 +1,4 @@
#pragma once
void handleMovement( void );
void initMovement( void );