Files
Shutter/moving_debug.h
Derisis13 da56a0eb10 Version 1.4.3
Bugfix: in function set_ch the address of channel was incremented instead of the value of it
Bugfix: in function get_timing integers were read to byte sized fields causing memory corruption
Updated and renamed moving_debug.c & moving_debug.h
2021-08-30 20:33:19 +02:00

22 lines
484 B
C

//
// Created by lacko on 19/08/2021.
//
#ifndef _MOVING_DEBUG_H_
#define _MOVING_DEBUG_H_
#include "shutter.h"
//set to the desired channel on the remote
void set_ch (shutter *r, byte *channel);
//activates the gpio given to it and thus "presses" the button
void press_button (buttons b);
//resets the remote so we start from ch 1
void reset ();
//lowers the shutter to the percentage level described in the shutter structure
void lower (shutter *r);
#endif //_MOVING_DEBUG_H_