add macro to detect device
Add Determining the orientation of the device Macro
update readme
Merge branch 'newMacro'