I2C to RS485

Can someone please get this guy a cup of coffee? He needs it, real bad. Maybe even a hug.

You're the one that needs the coffee.

I never said the arduino was TTL technology. I said it is TTL compatible. The fact that it is CMOS is irrelevant because when you are discussing logic levels, you don't talk about CMOS levels unless you are discussing CMOS family ICs like the 4000 series. The arduino logic levels are clearly different that the CMOS 4000 series. It is different to make it possible to use TTL technology to interface with the GPIO.
4000 SERIES CMOS doesn't source 40 mA.