Files
Shutter/moving.h
Derisis13 973fde4697 Version 1.4.5
Bugfix: now function press_button doesn't leak memory
2021-08-31 20:44:10 +02:00

21 lines
522 B
C

//
// Created by lacko on 08/08/2021.
// Redőnyök mozgatásáért felelős függvényeket tartalmaz
//
#include "shutter.h"
#ifndef _MOZGATAS_H_
#define _MOZGATAS_H_
//set to the desired ch on the remote
void set_ch (shutter *r, byte *ch);
//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 _MOZGATAS_H_