Module brewdrivers::controllers
source · Expand description
A controller is a specific implementation of driver, made for one specific instrument. This module also includes pieces of data like state enums that are used by the controller and above layer but not the driver layer.
Re-exports
pub use cn7500::CN7500;
pub use str1::STR1;
pub use crate::state::BinaryState;
pub use crate::drivers::InstrumentError;
Modules
- An implementation of
ModbusInstrument
for the OMEGA CN7500. - A driver for the
STR1XX
relays boards. - These boards are relatively cheap and (so far) reliable. They can be found here. The operation wiki explains how to use it, but you probably won’t need that.
- This is version 2.00 of the Waveshare Modbus RTU relay board. The responses from the board changed between version 1 and 2, so be sure you use the right implementation. Usage of this is the same as
Waveshare
Enums
- These are the types of controllers that the BCS supports. This enum should reflect every controller in
brewdrivers::controllers
.