Classes | |
struct | StateMask |
Tracks state of multiple relays. More... | |
class | Device |
class | Request |
Variables | |
constexpr uint8_t | RELAY_CHANNEL_MIN = 1 |
constexpr uint8_t | RELAY_MAX_CHANNELS = 16 |
Detailed Description
Created on: 24 June 2022
Copyright 2022 mikee47 mike@ sill yhous e.ne t
This file is part of the IOControl Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
STM8S103 modbus relay board
4-channel relay boards with optocouplers and digital inputs. Advertised as using STM8S103 microcontroller, but no model number. Relays controlled using Modbus 'coil' commands. Digital inputs read as 'discrete inputs'. Connected directly to 3.3v microcontroller. Grounding pin sets bit.
Copyright 2022 mikee47 mike@ sill yhous e.ne t
This file is part of the IOControl Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Variable Documentation
◆ RELAY_CHANNEL_MIN
|
constexpr |
◆ RELAY_MAX_CHANNELS
|
constexpr |