(Read the material linked below then complete the review)
Design Part 1
Design Part 2
Digital Clinometer