Can anyone write a program for me?

Im using a teensy3.2 with canbus and looking for gear postion and having the teensy output it in voltage.