mirror of
https://github.com/Derisis13/Shutter.git
synced 2025-12-06 19:32:48 +01:00
21 lines
522 B
C
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_
|