How to write a hinge angle driver by twice accelerometer?

翊豪 李 1 Reputation point

Hi MS support team:

I am a sw engineer of sensor component vendor.
My accelerometer driver is ready, but I don't know how to write a HingeAngle driver?
I want to write "sensor component" driver like below picture, may I know what sample can reference?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,098 questions
{count} votes