Java program that can read in pitch and role from an Arduino through a serial port and then graphically display this in much the same way as they would be in real aircraft.
Download the .jar file if you just want something that works and don't want to see the source code.
Click on the link for a demo video - https://www.youtube.com/watch?v=Kzf91b57vic&t=3s Download the arduino code here - https://github.com/OliverLegg/Arduino-Measure-angles