Fan control help needed

What code are you trying to run on the Due?