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