microchip-pic-avr-examples/pic16f15276-cnano-spi-rs485-bridge-modbus-client-mplab-mcc
This code example demonstrates how to realize a SPI-RS485 bridge and Modbus client using built-in MSSP (SPI mode) and UART peripherals of the PIC microcontroller. Compatible PIC16F152xx family of MCUs are PIC16F15214,PIC16F15223,PIC16F15244,PIC16F15254
CNOASSERTION