currentDirection

radzik_r
Posts: 468
Joined: Sun Aug 11, 2019 5:32 pm
Has thanked: 1 time
Been thanked: 2 times

Post

Prosze o dodanie do biblioteki możliwości odczytu ruchu rolet.

roller_shutter.h

Code: Select all

  int getCurrentDirection();
roller_shutter.cpp

Code: Select all

int RollerShutter::getCurrentDirection() {
  return currentDirection;

https://github.com/SUPLA/supla-device/issues/38

do tej pory za każdym razem po aktualizacji dopisywałem sobie to do bilioteki ale można to zrobić bezpośrednio do biblioteki
User avatar
klew
Posts: 13907
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

radzik_r wrote: Tue Dec 06, 2022 7:19 am Prosze o dodanie do biblioteki możliwości odczytu ruchu rolet.

roller_shutter.h

Code: Select all

  int getCurrentDirection();
roller_shutter.cpp

Code: Select all

int RollerShutter::getCurrentDirection() {
  return currentDirection;

https://github.com/SUPLA/supla-device/issues/38

do tej pory za każdym razem po aktualizacji dopisywałem sobie to do bilioteki ale można to zrobić bezpośrednio do biblioteki
Najprościej zrobić pull request przez githuba :)
Ale jak nie wrzucisz, to postaram się to w najbliższym czasie dodać.
Najlepsze suple dla Twojego domu :mrgreen:
radzik_r
Posts: 468
Joined: Sun Aug 11, 2019 5:32 pm
Has thanked: 1 time
Been thanked: 2 times

Post

klew, wrzuć proszę sam, ja z githubem z pan brat nie jestem.

Return to “Arduino IDE”