mirror of
https://github.com/Derisis13/Shutter.git
synced 2025-12-07 03:42:48 +01:00
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
This commit is contained in:
21
moving_debug.h
Normal file
21
moving_debug.h
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// 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_
|
||||
Reference in New Issue
Block a user