LightHub
4.6.0
Open-source smart home controller firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
owSwitch.h
Go to the documentation of this file.
1
/* Copyright © 2017-2018 Andrey Klimov. All rights reserved.
2
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
6
7
http://www.apache.org/licenses/LICENSE-2.0
8
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License.
14
15
Homepage: http://lazyhome.ru
16
GIT: https://github.com/anklimov/lighthub
17
e-mail anklimov@gmail.com
18
19
*/
20
21
//define APU_OFF
22
#include <DS2482_OneWire.h>
23
#include <DallasTemperature.h>
24
25
26
27
int
owRead2408
(uint8_t* addr);
28
int
ow2408out
(DeviceAddress addr,uint8_t cur);
29
//int read1W(int i);
30
int
cntrl2408
(uint8_t* addr,
int
subchan,
int
val=-1);
31
int
cntrl2413
(uint8_t* addr,
int
subchan,
int
val=-1);
32
int
cntrl2890
(uint8_t* addr,
int
val);
ow2408out
int ow2408out(DeviceAddress addr, uint8_t cur)
Definition
owSwitch.cpp:74
owRead2408
int owRead2408(uint8_t *addr)
Definition
owSwitch.cpp:29
cntrl2408
int cntrl2408(uint8_t *addr, int subchan, int val)
Definition
owSwitch.cpp:96
cntrl2890
int cntrl2890(uint8_t *addr, int val)
Definition
owSwitch.cpp:159
cntrl2413
int cntrl2413(uint8_t *addr, int subchan, int val)
Definition
owSwitch.cpp:267
spare_files
owSwitch.h
Generated by
1.18.0