Help me adding joystick calibration sketch

hi. i have issue with my joystick project. i use arduino pro micro and arduino joystick. i want to add joystick calibration in my sketch. my sketch working just i wanted but i think joystick is not centered. so i want to add calibration funtions. i attached my diagram.

i found this on guide to joystick calibration but how i going to put in my sketch. or is there any better way.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.