Incorporating Jean-Marc's code to write pin PC_10 into the master branch.