Renaming arduino source code file
Implemented rx/tx type parameter to device