#ifndef SC_MC9_h #define SC_MC9_h // Sample communication Code for RS 485 Shield with Arduino Mega 2560 #define RS485_OE_1 24 //RS485 CH#1 Output Enable => pin 24 for CH#1 #define RS485_OE_2 26 //RS485 CH#2 Output Enable => pin 26 for CH#2 #define Snd_485 HIGH #define Rcv_485 LOW void SC_MC9_setup(); void SC_MC9_read(int arr[], int size); void SC_MC9_write(int arr[], int size); #endif