MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / write

Method write

Controllers/FanBusController/FanBusInterface.cpp:95–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95int FanBusInterface::write
96 (
97 unsigned char dev_addr,
98 unsigned char int_addr,
99 unsigned char val
100 )
101{
102 unsigned char fanbus_msg[] = { 0x00, int_addr, dev_addr, val, 0xFF };
103
104 return(serialport->serial_write((char *)fanbus_msg, 5));
105}
106
107void FanBusInterface::write_queue
108 (

Callers 3

DeviceUpdateLEDsMethod · 0.45
DeviceUpdateModeMethod · 0.45
SetRGBMethod · 0.45

Calls 1

serial_writeMethod · 0.80

Tested by

no test coverage detected