Viking Skull Lamp  V1.0.1
Loading...
Searching...
No Matches
motorControl.cpp File Reference
#include "motorControl.hpp"

Go to the source code of this file.

Functions

void motorInit ()
 Initialize the motor. More...
 
void openFront ()
 Open the font. More...
 
void closeFront ()
 Close the font. More...
 

Variables

enum frontState_t frontState = FRONT_UNKNOWN
 Store the state of the front panel. More...
 

Function Documentation

◆ closeFront()

void closeFront ( )

Close the font.

It will try to close the front panel.

Note
If it fails and can't close the front in time, it will stop.
See also
CLOSE_TIMEOUT

Definition at line 116 of file motorControl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ motorInit()

void motorInit ( )

Initialize the motor.

Definition at line 35 of file motorControl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openFront()

void openFront ( )

Open the font.

It will try to open the front panel.

Note
If it fails and can't open the front in time, it will stop.
See also
OPEN_TIMEOUT

Definition at line 73 of file motorControl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ frontState

enum frontState_t frontState = FRONT_UNKNOWN

Store the state of the front panel.

Definition at line 33 of file motorControl.cpp.