what I'm missing here

Hi Nick .
Thanks for replying my post :slight_smile:
and I'm sorry for my post earlier..

sketch_jan22a:47: error: 'class SoftwareSerial' has no member named 'sendMsg'

i thought that something not suitable between library rs485 non blocking and SoftwareSerial..

Can you post some sketch RS485 non blocking and SoftwareSerial? :frowning:
I'm confuse about this part

RS485 myChannel (fRead, fAvailable, fWrite,20);

Is it because the my library didnt installed correctly?
I've reinstall both of my arduino IDE and your library..but still same error appear.
But when i compile your example sketch in your web (Gammon Forum : Electronics : Microprocessors : RS485 communications) not using SoftwareSerial, Arduino IDE can compile it properly.. nothing wrong..

I do make changes to my sketch, still error

#include <RS485_non_blocking.h>
#include <SoftwareSerial.h>

#define SerialControl     7
#define Transmit          HIGH
#define Receive           LOW
#define RX45              2
#define TX45              3

#define RXID              8
#define TXID              9

#define LED              13

SoftwareSerial RS485 (RX45, TX45);
SoftwareSerial RFID (RXID, TXID);


size_t fWrite (const byte what)
{
  return RS485.write (what);
}

int fAvailable ()
{
  return RS485.available();
}

int fRead ()
{
  return RS485.read();
}

RS485 myChannel (fRead, fAvailable, fWrite,20);

void setup()
{
  RS485.begin(9600);
  pinMode (SerialControl, OUTPUT);
  pinMode (LED, OUTPUT); 
  
}
const byte msg [] = "Hello world";

void loop()
{
  myChannel.sendMsg (msg,sizeof(msg));
  delay(1000); 
}

error message

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"
sketch_jan22a:34: error: 'RS485' does not name a type
sketch_jan22a.ino: In function 'void loop()':
sketch_jan22a:47: error: 'myChannel' was not declared in this scope