more gefran code
parent
e59870faed
commit
7f8c388536
@ -1,2 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define GTF_FIRMWARE_VERSION 122
|
||||
#define GTF_OPERATING_HOURS 161
|
||||
#define GTF_BAUDRATE 24
|
||||
#define GTF_SETPOINT 27
|
||||
#define GTF_POWER 106
|
||||
|
||||
uint16_t gtf_firmware_version(uint8_t address);
|
||||
uint16_t gtf_read_register(uint8_t address, uint8_t reg);
|
||||
int8_t gtf_write_register(uint8_t address, uint8_t reg, uint16_t value);
|
||||
int8_t gtf_read_coil(uint8_t address, uint8_t coil);
|
||||
int8_t gtf_write_coil(uint8_t address, uint8_t coil, uint8_t val);
|
||||
|
||||
Reference in New Issue