Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
ModbusMaster.hpp File Reference
#include <nola-common.h>
#include <Stream.hpp>

Classes

class  ModbusMaster

Macros

#define __MODBUSMASTER_DEBUG__   (0)
#define __MODBUSMASTER_DEBUG_PIN_A__   4
#define __MODBUSMASTER_DEBUG_PIN_B__   5

Detailed Description

Library for communicating with Modbus slaves over RS232/485 (via RTU protocol).

Macro Definition Documentation

◆ __MODBUSMASTER_DEBUG__

#define __MODBUSMASTER_DEBUG__   (0)

Set to 1 to enable debugging features within class:

  • PIN A cycles for each byte read in the Modbus response
  • PIN B cycles for each millisecond timeout during the Modbus response