Procedure for getting an angle from the NG360 inclinometer
(1) Send the 1 Byte address: >> Hex B1 (address range: Hex B1 to Hex FF)
(2) Send the 1 Byte enquiry: >> Hex 05
(3) wait 15ms for the inclinometer to analyze the input
(4) Receive 11 Bytes: << Hex 02 + 359,99 + Hex 17 + 06 + Hex 24
(5) wait 15ms for the inclinometer to switch from write to read mode
(6) Send Not AcKnowledge: >> Hex 15
Switch from write to read mode (clear RequestToSend and set DataTerminalReady signal)
Switch from read to write mode (clear DataTerminalReady and set RequestToSend signal)
Switch from read to write mode (clear DataTerminalReady and set RequestToSend signal)