[Arduino] Improve inline documentation. Add global settings.