How can i use 7+even parity+1 stop bit on arduino uno. im using max 485 chip. How can i deal with it using software serial lib?
ht :)tp://arduino.cc/en/Serial/Begin
AWOL:
ht :)tp://arduino.cc/en/Serial/Begin
But i am using Softwareserial.h for RS485 and that libary do not accept any config. like SERIAL_7N1.
for example;
SoftwareSerial rs485(pinRX,pinTX);
rs485.begin(9600,SERIAL_7N1 );
that SERIAL_7N1 paramatter do not acceptable for lib.
You have the source of the library, so why not change it to be compatible?
That source is a bit of low level and my programming knowladge isn't comprehensive for that =(
iaurent:
That source is a bit of low level and my programming knowladge isn't comprehensive for that =(
Well then given your restriction you could move up to an arduino board the has more then one hardware serial UART and use the arduino Serial library that does allow you to use the serial configuration you need, like the mega board.